15 #include "eggCharacterDb.h" 16 #include "eggCharacterData.h" 80 Key key(joint, type, frame);
100 Table::const_iterator ti;
101 ti = _table.find(key);
102 if (ti == _table.end()) {
122 Key key(joint, type, frame);
137 bool inserted = _table.insert(Table::value_type(key, mat)).second;
EggCharacterDb()
Constructs a database for storing the interim work for the indicated EggCharacterData.
This is a 4-by-4 transform matrix.
void set_matrix(const EggJointPointer *joint, TableType type, int frame, const LMatrix4d &mat)
Stores the matrix for the indicated joint, type, and frame in the database.
This is a base class for EggJointNodePointer and EggMatrixTablePointer.
bool get_matrix(const EggJointPointer *joint, TableType type, int frame, LMatrix4d &mat) const
Looks up the data for the indicated joint, type, and frame, and fills it in result (and returns true)...