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 (IO matrix4_t &M, IN eChannelIndex i, IN float x) throw ()
static eChannelIndex getChannelIndex (IN const char *name)
static const char * readFloat (IN const char *p, IO std::string &token, OUT float &f)
static const char * readInt (IN const char *p, IO std::string &token, OUT 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 ( IO matrix4_t &  M,
IN eChannelIndex  i,
IN float  x 
) throw () [static]

Definition at line 143 of file bvh.cpp.

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

Definition at line 198 of file bvh.cpp.

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

Definition at line 218 of file bvh.cpp.

static const char* bvh::readInt ( IN const char *  p,
IO std::string &  token,
OUT 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.