skinning.cc File Reference

Include dependency graph for skinning.cc:

Defines

#define GLEW_STATIC   1
#define FRAMERATE   24.0

Functions

static void init (void)
static void interpolate_skeletons (const std::vector< Joint > &in1, const std::vector< Joint > &in2, float t)
static void display_fps (double current_time)
static void display (void)
static void keyboard_callback (unsigned char key, int, int)
static void special_callback (int key, int, int)
static void reshape_callback (int w, int h)
static void idle_callback (void)
int main (int argc, char *argv[])

Variables

GLfloat angle = 90.0f
int width = 800
int height = 800
Animation animation
AnimatedMesh mesh
std::vector< vec3 > skel_position
std::vector< Quaternion > skel_orientation

Define Documentation

#define FRAMERATE   24.0
#define GLEW_STATIC   1

Function Documentation

static void display ( void   )  [static]

References angle, Animation::bones, display_fps(), AnimatedMesh::draw(), FRAMERATE, interpolate_skeletons(), skel_orientation, and skel_position.

Referenced by main().

Here is the call graph for this function:

static void display_fps ( double  current_time  )  [static]

Referenced by display().

static void idle_callback ( void   )  [static]

Referenced by main().

static void init ( void   )  [static]

Referenced by main().

static void interpolate_skeletons ( const std::vector< Joint > &  in1,
const std::vector< Joint > &  in2,
float  t 
) [static]

References skel_orientation, and skel_position.

Referenced by display().

static void keyboard_callback ( unsigned char  key,
int  ,
int   
) [static]

Referenced by main().

int main ( int  argc,
char *  argv[] 
)
static void reshape_callback ( int  w,
int  h 
) [static]

References width.

Referenced by main().

static void special_callback ( int  key,
int  ,
int   
) [static]

References angle.

Referenced by main().


Variable Documentation

GLfloat angle = 90.0f

Referenced by display(), and special_callback().

int height = 800

Referenced by main().

Referenced by AnimatedMesh::draw_cpu().

std::vector<Quaternion> skel_orientation
std::vector<vec3> skel_position
int width = 800

Referenced by main(), and reshape_callback().

Generated on Tue Dec 28 10:12:09 2010 by  doxygen 1.6.3