cMech::rRigged Struct Reference

List of all members.

Public Types

enum  Jointpoints {
  EYE, HEAD, NECK, CTMOUNT,
  LAMOUNT, RAMOUNT, LSMOUNT, RSMOUNT,
  BKMOUNT, JET0, JET1, JET2,
  JET3, JET4, SPINE, TORSOR,
  LEFTLEG, RIGHTLEG, LEFTCALF, RIGHTCALF,
  MAX_JOINTPOINTS
}
 

Enumeration for indexing joints in animation.


Public Member Functions

 rRigged ()
 Constructor.
 ~rRigged ()
 Destructor.
std::string getJointname (unsigned int num)

Public Attributes

float scale
 Model scale.
MD5Format::model * model
 The "static" model just as it is loaded.
MD5Format::joint * joints
 Actual local-(model-)space joints for this instance.
std::map< int, int > jointpoints
 Maps jointpoint identifier to actual joint index of the model.
std::map< int, std::map< int,
float > > 
rotators
 Joint angles for animation.
float mHead [16]
float mCTMount [16]
float mBKMount [16]
float mRSMount [16]
float mRAMount [16]
float mLSMount [16]
float mLAMount [16]

The documentation for this struct was generated from the following file:

Generated on Tue Feb 16 18:32:39 2010 for Linwarrior 3D by  doxygen 1.6.1