MercuryLoadableModel Class Reference

Loadable Model. More...

#include <MercuryLoadableModel.h>

Inheritance diagram for MercuryLoadableModel:

Inheritance graph
[legend]
Collaboration diagram for MercuryLoadableModel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void Update (const float dTime)
 [internal] Update (call this update last when abstracting because Update can destroy the object)
void SetAnimationState (const MVector< LoadableModelAnimationInfo > &AnimationInfos)
 Set the current animation state, applying all AnimationInfo's in the vector.
LoadableModelAnimationInfoGetAnimationState (int iPlace)
 Retrieve a reference to a single animation state, for manipulation.
void GetAllAnimationStates (MVector< LoadableModelAnimationInfo > &AnimationInfos)
 Retrieve all animation states into a vector.
 CLASS_RTTI (MercuryLoadableModel, MercuryModel)

Private Member Functions

virtual void LoadModel ()
bool LoadMesh (int iMesh)
void LoadBone (int iBone)
void LoadAnimation (int iAnimation)
void LoadMaterial (int iMaterial)
void ResetBoneMatrix (int iBone)
void MakeBoneMatrix (int iBone, const MercuryPoint &Pos, const MQuaternion &Rot)

Private Attributes

MVector< MLBonem_vBones
MVector< LoadableModelAnimationInfom_vAnimationInfos
MVector< int > m_vMeshMaterialAssignments
MVector< MercuryShape * > m_vVisualJoints

Classes

struct  LoadableModelAnimationInfo
 Public Animation Information. More...
struct  MLAnimationKey
struct  MLBone
struct  MLBoneAnimation
struct  MLQVert

Detailed Description

Loadable Model.

Definition at line 8 of file MercuryLoadableModel.h.


Member Function Documentation

void MercuryLoadableModel::Update ( const float  dTime  )  [virtual]

[internal] Update (call this update last when abstracting because Update can destroy the object)

Reimplemented from MercuryObject.

Reimplemented in MercurySkyBox.

Definition at line 7 of file MercuryLoadableModel.cpp.

void MercuryLoadableModel::SetAnimationState ( const MVector< LoadableModelAnimationInfo > &  AnimationInfos  )  [inline]

Set the current animation state, applying all AnimationInfo's in the vector.

Definition at line 27 of file MercuryLoadableModel.h.

LoadableModelAnimationInfo& MercuryLoadableModel::GetAnimationState ( int  iPlace  )  [inline]

Retrieve a reference to a single animation state, for manipulation.

Definition at line 30 of file MercuryLoadableModel.h.

void MercuryLoadableModel::GetAllAnimationStates ( MVector< LoadableModelAnimationInfo > &  AnimationInfos  )  [inline]

Retrieve all animation states into a vector.

Definition at line 33 of file MercuryLoadableModel.h.

MercuryLoadableModel::CLASS_RTTI ( MercuryLoadableModel  ,
MercuryModel   
)

void MercuryLoadableModel::LoadModel (  )  [private, virtual]

Implements MercuryModel.

Definition at line 170 of file MercuryLoadableModel.cpp.

bool MercuryLoadableModel::LoadMesh ( int  iMesh  )  [private]

Definition at line 230 of file MercuryLoadableModel.cpp.

void MercuryLoadableModel::LoadBone ( int  iBone  )  [private]

Definition at line 331 of file MercuryLoadableModel.cpp.

void MercuryLoadableModel::LoadAnimation ( int  iAnimation  )  [private]

Definition at line 391 of file MercuryLoadableModel.cpp.

void MercuryLoadableModel::LoadMaterial ( int  iMaterial  )  [private]

Definition at line 440 of file MercuryLoadableModel.cpp.

void MercuryLoadableModel::ResetBoneMatrix ( int  iBone  )  [private]

Definition at line 459 of file MercuryLoadableModel.cpp.

void MercuryLoadableModel::MakeBoneMatrix ( int  iBone,
const MercuryPoint Pos,
const MQuaternion Rot 
) [private]

Definition at line 478 of file MercuryLoadableModel.cpp.


Member Data Documentation

MVector< MLBone > MercuryLoadableModel::m_vBones [private]

Definition at line 79 of file MercuryLoadableModel.h.

MVector< LoadableModelAnimationInfo > MercuryLoadableModel::m_vAnimationInfos [private]

Definition at line 80 of file MercuryLoadableModel.h.

MVector< int > MercuryLoadableModel::m_vMeshMaterialAssignments [private]

Definition at line 82 of file MercuryLoadableModel.h.

MVector< MercuryShape * > MercuryLoadableModel::m_vVisualJoints [private]

Definition at line 89 of file MercuryLoadableModel.h.


The documentation for this class was generated from the following files:
Hosted by SourceForge.net Logo