Classes | Enumerations | Functions | Variables

bvh Namespace Reference

Classes

struct  node_position_t
class  Skeleton
 basic class containing a skeleton and a single animation More...

Enumerations

enum  eChannelIndex {
  eIndex_Xposition = 0,
  eIndex_Yposition = 1,
  eIndex_Zposition = 2,
  eIndex_Xrotation = 3,
  eIndex_Yrotation = 4,
  eIndex_Zrotation = 5,
  eIndex_Max = 6,
  eIndex_Invalid = -1
}

Functions

static void doTransformation (matrix4_t &M, eChannelIndex i, float x) throw ()
static eChannelIndex getChannelIndex (const char *name)
static const char * readFloat (const char *p, std::string &token, float &f)
static const char * readInt (const char *p, std::string &token, int &i)

Variables

static const float s_radiansPerDegree = M_PI / 180.0
static const index_entry_t s_indexTable []

Enumeration Type Documentation

Enumerator:
eIndex_Xposition 
eIndex_Yposition 
eIndex_Zposition 
eIndex_Xrotation 
eIndex_Yrotation 
eIndex_Zrotation 
eIndex_Max 
eIndex_Invalid 

Definition at line 46 of file bvh.cpp.


Function Documentation

static void bvh::doTransformation ( matrix4_t M,
eChannelIndex  i,
float  x 
) throw () [static]

Definition at line 143 of file bvh.cpp.

static eChannelIndex bvh::getChannelIndex ( const char *  name  )  [static]

Definition at line 198 of file bvh.cpp.

static const char* bvh::readFloat ( const char *  p,
std::string &  token,
float &  f 
) [static]

Definition at line 218 of file bvh.cpp.

static const char* bvh::readInt ( const char *  p,
std::string &  token,
int &  i 
) [static]

Definition at line 233 of file bvh.cpp.


Variable Documentation

const float bvh::s_radiansPerDegree = M_PI / 180.0 [static]

Definition at line 43 of file bvh.cpp.

const index_entry_t bvh::s_indexTable[] [static]
Initial value:
 {
        { "Zrotation" , eIndex_Zrotation  },
        { "Xrotation" , eIndex_Xrotation  },
        { "Yrotation" , eIndex_Yrotation  },
        { "Xposition" , eIndex_Xposition  },
        { "Yposition" , eIndex_Yposition  },
        { "Zposition" , eIndex_Zposition  },

        
        { NULL, eIndex_Invalid }
}

Definition at line 67 of file bvh.cpp.