SO3Engine
Public Member Functions | List of all members
SO3::ALSkeleton Class Reference

#include <ALSkeleton.h>

Public Member Functions

 ALSkeleton ()
 
 ALSkeleton (ALScene *alscene, Ogre::SkeletonPtr skeleton, aiNode *attach)
 
 ~ALSkeleton ()
 
aiNode * findMeshNode (aiNode *node, const aiMesh *mesh)
 
aiMatrix4x4 getLocalUniformMatrix (int bid)
 
aiMatrix4x4 getNodeLocalTransformWithBindPose (aiNode *node)
 
void addBone (aiNode *node, aiBone *bone, Ogre::SubMesh *submesh)
 
aiNode * getRootNode ()
 
aiBone * getBoneFromNode (aiNode *node)
 
ALBone getBoneNodeByName (const std::string name)
 
int getBoneIndexByName (const std::string name)
 
std::vector< aiAnimation * > findConcernedAnimation ()
 
void generateAnimation (aiAnimation *anim)
 
void makeHierarchy (aiMatrix4x4 meshInverseTrans)
 
void processAnimation ()
 

Detailed Description

Definition at line 31 of file ALSkeleton.h.

Constructor & Destructor Documentation

◆ ALSkeleton() [1/2]

SO3::ALSkeleton::ALSkeleton ( )

Definition at line 98 of file ALSkeleton.cpp.

◆ ALSkeleton() [2/2]

SO3::ALSkeleton::ALSkeleton ( ALScene alscene,
Ogre::SkeletonPtr  skeleton,
aiNode *  attach 
)

Definition at line 104 of file ALSkeleton.cpp.

◆ ~ALSkeleton()

SO3::ALSkeleton::~ALSkeleton ( )

Definition at line 111 of file ALSkeleton.cpp.

Member Function Documentation

◆ addBone()

void SO3::ALSkeleton::addBone ( aiNode *  node,
aiBone *  bone,
Ogre::SubMesh *  submesh 
)

Definition at line 171 of file ALSkeleton.cpp.

◆ findConcernedAnimation()

std::vector< aiAnimation * > SO3::ALSkeleton::findConcernedAnimation ( )

Definition at line 279 of file ALSkeleton.cpp.

◆ findMeshNode()

aiNode * SO3::ALSkeleton::findMeshNode ( aiNode *  node,
const aiMesh *  mesh 
)

Definition at line 9 of file ALSkeleton.cpp.

◆ generateAnimation()

void SO3::ALSkeleton::generateAnimation ( aiAnimation *  anim)

Definition at line 321 of file ALSkeleton.cpp.

◆ getBoneFromNode()

aiBone * SO3::ALSkeleton::getBoneFromNode ( aiNode *  node)

Definition at line 128 of file ALSkeleton.cpp.

◆ getBoneIndexByName()

int SO3::ALSkeleton::getBoneIndexByName ( const std::string  name)

Definition at line 158 of file ALSkeleton.cpp.

◆ getBoneNodeByName()

ALBone SO3::ALSkeleton::getBoneNodeByName ( const std::string  name)

Definition at line 145 of file ALSkeleton.cpp.

◆ getLocalUniformMatrix()

aiMatrix4x4 SO3::ALSkeleton::getLocalUniformMatrix ( int  bid)

Definition at line 69 of file ALSkeleton.cpp.

◆ getNodeLocalTransformWithBindPose()

aiMatrix4x4 SO3::ALSkeleton::getNodeLocalTransformWithBindPose ( aiNode *  node)

Definition at line 31 of file ALSkeleton.cpp.

◆ getRootNode()

aiNode * SO3::ALSkeleton::getRootNode ( )

Definition at line 115 of file ALSkeleton.cpp.

◆ makeHierarchy()

void SO3::ALSkeleton::makeHierarchy ( aiMatrix4x4  meshInverseTrans)

Definition at line 213 of file ALSkeleton.cpp.

◆ processAnimation()

void SO3::ALSkeleton::processAnimation ( )

Definition at line 312 of file ALSkeleton.cpp.


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