15#include "cal3d/global.h"
16#include "cal3d/vector.h"
17#include "cal3d/quaternion.h"
18#include "cal3d/matrix.h"
19#include "cal3d/corebone.h"
28class CAL3D_API CalBone
57 float m_accumulatedWeight;
58 float m_accumulatedWeightAbsolute;
const CalVector & getTranslationBoneSpace()
Returns the current bone space translation.
Definition bone.cpp:315
const CalQuaternion & getRotationBoneSpace()
Returns the current bone space rotation.
Definition bone.cpp:260
void lockState()
Locks the current state.
Definition bone.cpp:342
void calculateBoundingBox()
Calculates the bounding box.
Definition bone.cpp:398
const CalVector & getTranslation()
Returns the current translation.
Definition bone.cpp:288
const CalMatrix & getTransformMatrix()
Returns the current bone space translation.
Definition bone.cpp:329
CalBoundingBox & getBoundingBox()
Returns the current bounding box.
Definition bone.cpp:458
void clearState()
Clears the current state.
Definition bone.cpp:139
void setTranslation(const CalVector &translation)
Sets the current translation.
Definition bone.cpp:273
CalCoreBone * getCoreBone()
Provides access to the core bone.
Definition bone.cpp:156
void setSkeleton(CalSkeleton *pSkeleton)
Sets the skeleton.
Definition bone.cpp:385
void setRotation(const CalQuaternion &rotation)
Sets the current rotation.
Definition bone.cpp:218
void calculateState()
Calculates the current state.
Definition bone.cpp:77
void setCoreStateRecursive()
Resets the bone and children to core states.
Definition bone.cpp:190
const CalQuaternion & getRotationAbsolute()
Returns the current absolute rotation.
Definition bone.cpp:246
void blendState(float weight, const CalVector &translation, const CalQuaternion &rotation)
Interpolates the current state to another state.
Definition bone.cpp:46
const CalVector & getTranslationAbsolute()
Returns the current absolute translation.
Definition bone.cpp:301
const CalQuaternion & getRotation()
Returns the current rotation.
Definition bone.cpp:233
void setCoreState()
Resets the bone to its core state.
Definition bone.cpp:169
The bounding box class.
Definition vector.h:221
Definition coremodel.h:26
The matrix class.
Definition matrix.h:35
The quaternion class.
Definition quaternion.h:36
The vector class.
Definition vector.h:37