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

§ BlendMode

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

§ Skeleton()

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

§ ~Skeleton()

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

Member Function Documentation

§ BoneById()

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

Get bone by id.

§ BoneByName()

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

Get bone by name.

§ NumRootBones()

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

Returns number of unparented root bones.

§ Reset()

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

Releases all memory that this data structure owns.

§ RootBones()

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

Returns unparented root bones.

Member Data Documentation

§ animations

AnimationList Assimp::Ogre::Skeleton::animations

§ blendMode

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

§ bones

BoneList Assimp::Ogre::Skeleton::bones

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