Assimp
v3.1.1 (June 2014)
|
Public Member Functions | |
void | AddChild (Bone *bone) |
Add child bone. More... | |
Bone () | |
void | CalculateWorldMatrixAndDefaultPose (Skeleton *skeleton) |
Calculates the world matrix for bone and its children. More... | |
aiBone * | ConvertToAssimpBone (Skeleton *parent, const std::vector< aiVertexWeight > &boneWeights) |
Convert to Assimp bone (mesh bones). More... | |
aiNode * | ConvertToAssimpNode (Skeleton *parent, aiNode *parentNode=0) |
Convert to Assimp node (animation nodes). More... | |
bool | IsParented () const |
Returns if this bone is parented. More... | |
uint16_t | ParentId () const |
Parent index as uint16_t. Internally int32_t as -1 means unparented. More... | |
Public Attributes | |
std::vector< uint16_t > | children |
aiMatrix4x4 | defaultPose |
uint16_t | id |
std::string | name |
Bone * | parent |
int32_t | parentId |
aiVector3D | position |
aiQuaternion | rotation |
aiVector3D | scale |
aiMatrix4x4 | worldMatrix |
Assimp::Ogre::Bone::Bone | ( | ) |
Calculates the world matrix for bone and its children.
aiBone * Assimp::Ogre::Bone::ConvertToAssimpBone | ( | Skeleton * | parent, |
const std::vector< aiVertexWeight > & | boneWeights | ||
) |
Convert to Assimp bone (mesh bones).
Convert to Assimp node (animation nodes).
bool Assimp::Ogre::Bone::IsParented | ( | ) | const |
Returns if this bone is parented.
uint16_t Assimp::Ogre::Bone::ParentId | ( | ) | const |
Parent index as uint16_t. Internally int32_t as -1 means unparented.
std::vector<uint16_t> Assimp::Ogre::Bone::children |
aiMatrix4x4 Assimp::Ogre::Bone::defaultPose |
uint16_t Assimp::Ogre::Bone::id |
std::string Assimp::Ogre::Bone::name |
Bone* Assimp::Ogre::Bone::parent |
int32_t Assimp::Ogre::Bone::parentId |
aiVector3D Assimp::Ogre::Bone::position |
aiQuaternion Assimp::Ogre::Bone::rotation |
aiVector3D Assimp::Ogre::Bone::scale |
aiMatrix4x4 Assimp::Ogre::Bone::worldMatrix |