15#include "cal3d/global.h"
16#include "cal3d/matrix.h"
17#include "cal3d/vector.h"
18#include "cal3d/quaternion.h"
54 void getBoundingData(
int planeId,
CalVector & position);
55 bool isBoundingBoxPrecomputed();
56 void scale(
float factor);
59 std::string m_strName;
62 std::list<int> m_listChildId;
69 Cal::UserData m_userData;
73 bool m_boundingBoxPrecomputed;
The bounding box class.
Definition vector.h:221
void setRotation(const CalQuaternion &rotation)
Sets the rotation.
Definition corebone.cpp:286
const CalVector & getTranslation()
Returns the translation.
Definition corebone.cpp:190
void setCoreSkeleton(CalCoreSkeleton *pCoreSkeleton)
Sets the core skeleton.
Definition corebone.cpp:245
void calculateBoundingBox(CalCoreModel *pCoreModel)
Calculates the bounding box.
Definition corebone.cpp:352
void setTranslation(const CalVector &translation)
Sets the translation.
Definition corebone.cpp:313
bool addChildId(int childId)
Adds a child ID.
Definition corebone.cpp:55
Cal::UserData getUserData()
Provides access to the user data.
Definition corebone.cpp:230
const CalVector & getTranslationAbsolute()
Returns the absolute translation.
Definition corebone.cpp:203
const CalVector & getTranslationBoneSpace()
Returns the bone space translation.
Definition corebone.cpp:217
const CalQuaternion & getRotationAbsolute()
Returns the absolute rotation.
Definition corebone.cpp:163
void scale(float factor)
Scale the core bone.
Definition corebone.cpp:473
void setRotationBoneSpace(const CalQuaternion &rotation)
Sets the bone space rotation.
Definition corebone.cpp:300
void calculateState()
Calculates the current state.
Definition corebone.cpp:69
const CalQuaternion & getRotation()
Returns the rotation.
Definition corebone.cpp:150
std::list< int > & getListChildId()
Returns the child ID list.
Definition corebone.cpp:109
void setParentId(int parentId)
Sets the parent ID.
Definition corebone.cpp:258
const std::string & getName()
Returns the name.
Definition corebone.cpp:122
void setUserData(Cal::UserData userData)
Stores user data.
Definition corebone.cpp:340
CalCoreBone(const std::string &name)
Constructs the core bone instance.
Definition corebone.cpp:32
CalBoundingBox & getBoundingBox()
Returns the current bounding box.
Definition corebone.cpp:445
int getParentId()
Returns the parent ID.
Definition corebone.cpp:137
void setTranslationBoneSpace(const CalVector &translation)
Sets the bone space translation.
Definition corebone.cpp:327
CalCoreSkeleton * getCoreSkeleton()
Provides access to the core skeleton.
Definition corebone.cpp:273
const CalQuaternion & getRotationBoneSpace()
Returns the bone space rotation.
Definition corebone.cpp:177
Definition coremodel.h:26
Definition coreskeleton.h:24
The quaternion class.
Definition quaternion.h:36
The vector class.
Definition vector.h:37