#include <StdMesh.h>
Public Member Functions | |
| ~StdMeshSkeleton () | |
| const StdMeshBone & | GetBone (size_t i) const |
| size_t | GetNumBones () const |
| const StdMeshBone * | GetBoneByName (const StdStrBuf &name) const |
| const StdMeshAnimation * | GetAnimationByName (const StdStrBuf &name) const |
| bool | IsAnimated () const |
| void | MirrorAnimation (const StdMeshAnimation &animation) |
| void | InsertAnimation (const StdMeshAnimation &animation) |
| void | InsertAnimation (const StdMeshSkeleton &source, const StdMeshAnimation &animation) |
| void | PostInit () |
| std::vector< int > | GetMatchingBones (const StdMeshSkeleton &skeleton) const |
| std::vector< const StdMeshAnimation * > | GetAnimations () const |
Friends | |
| class | StdMeshSkeletonLoader |
| class | StdMeshXML |
| class | StdMesh |
| class | StdMeshAnimationUpdate |
| StdMeshSkeleton::~StdMeshSkeleton | ( | ) |
Definition at line 374 of file StdMesh.cpp.
| const StdMeshAnimation * StdMeshSkeleton::GetAnimationByName | ( | const StdStrBuf & | name | ) | const |
Definition at line 398 of file StdMesh.cpp.
Referenced by StdMeshInstanceAnimationNode::CompileFunc(), and StdMeshInstance::PlayAnimation().
| std::vector< const StdMeshAnimation * > StdMeshSkeleton::GetAnimations | ( | ) | const |
Definition at line 406 of file StdMesh.cpp.
|
inline |
Definition at line 116 of file StdMesh.h.
Referenced by StdMeshInstanceAnimationNode::CompileFunc(), GetMatchingBones(), MirrorAnimation(), StdMeshUpdate::StdMeshUpdate(), and StdMeshInstance::UpdateBoneTransforms().
| const StdMeshBone * StdMeshSkeleton::GetBoneByName | ( | const StdStrBuf & | name | ) | const |
Definition at line 388 of file StdMesh.cpp.
Referenced by StdMeshInstance::AttachMeshImpl(), StdMeshInstanceAnimationNode::CompileFunc(), and MirrorAnimation().
| std::vector< int > StdMeshSkeleton::GetMatchingBones | ( | const StdMeshSkeleton & | skeleton | ) | const |
Definition at line 521 of file StdMesh.cpp.
References GetBone(), GetNumBones(), and StdMeshBone::Name.
Referenced by InsertAnimation().
|
inline |
Definition at line 117 of file StdMesh.h.
Referenced by GetMatchingBones(), InsertAnimation(), MirrorAnimation(), and StdMeshUpdate::Update().
| void StdMeshSkeleton::InsertAnimation | ( | const StdMeshAnimation & | animation | ) |
| void StdMeshSkeleton::InsertAnimation | ( | const StdMeshSkeleton & | source, |
| const StdMeshAnimation & | animation | ||
| ) |
Definition at line 480 of file StdMesh.cpp.
References GetMatchingBones(), GetNumBones(), StdMeshAnimation::Length, and StdMeshAnimation::Name.
|
inline |
| void StdMeshSkeleton::MirrorAnimation | ( | const StdMeshAnimation & | animation | ) |
Definition at line 415 of file StdMesh.cpp.
References StdStrBuf::Compare_(), GetBone(), GetBoneByName(), StdStrBuf::getData(), StdStrBuf::getLength(), GetNumBones(), StdMeshBone::GetParent(), StdMeshBone::Index, StdMeshTransformation::Inverse(), StdMeshBone::InverseTransformation, StdMeshBone::Name, StdMeshAnimation::Name, and StdMeshBone::Transformation.
Referenced by PostInit().
| void StdMeshSkeleton::PostInit | ( | ) |
Definition at line 507 of file StdMesh.cpp.
References MirrorAnimation().
|
friend |
|
friend |