Assimp  v3.1.1 (June 2014)
Assimp::Ogre::Skeleton Class Reference

Ogre Skeleton. More...

Public Types

enum  BlendMode { ANIMBLEND_AVERAGE = 0, ANIMBLEND_CUMULATIVE = 1 }
 

Public Member Functions

BoneBoneById (uint16_t id) const
 Get bone by id. More...
 
BoneBoneByName (const std::string &name) const
 Get bone by name. More...
 
size_t NumRootBones () const
 Returns number of unparented root bones. More...
 
void Reset ()
 Releases all memory that this data structure owns. More...
 
BoneList RootBones () const
 Returns unparented root bones. More...
 
 Skeleton ()
 
 ~Skeleton ()
 

Public Attributes

AnimationList animations
 
BlendMode blendMode
 
BoneList bones
 

Detailed Description

Member Enumeration Documentation

Enumerator
ANIMBLEND_AVERAGE 

Animations are applied by calculating a weighted average of all animations.

ANIMBLEND_CUMULATIVE 

Animations are applied by calculating a weighted cumulative total.

Constructor & Destructor Documentation

Assimp::Ogre::Skeleton::Skeleton ( )
Assimp::Ogre::Skeleton::~Skeleton ( )

Member Function Documentation

Bone * Assimp::Ogre::Skeleton::BoneById ( uint16_t  id) const

Get bone by id.

Bone * Assimp::Ogre::Skeleton::BoneByName ( const std::string &  name) const

Get bone by name.

size_t Assimp::Ogre::Skeleton::NumRootBones ( ) const

Returns number of unparented root bones.

void Assimp::Ogre::Skeleton::Reset ( )

Releases all memory that this data structure owns.

BoneList Assimp::Ogre::Skeleton::RootBones ( ) const

Returns unparented root bones.

Member Data Documentation

AnimationList Assimp::Ogre::Skeleton::animations
BlendMode Assimp::Ogre::Skeleton::blendMode
Todo:
Take blend mode into account, but where?
BoneList Assimp::Ogre::Skeleton::bones

The documentation for this class was generated from the following files: