15#include "cal3d/global.h"
16#include "cal3d/vector.h"
54 void update(
float deltaTime);
65 Cal::UserData m_userData;
66 std::vector<CalMesh *> m_vectorMesh;
CalAbstractMixer defines the API that CalModel relies on for blending and scheduling animations.
Definition mixer.h:98
The bounding box class.
Definition vector.h:221
Definition coremodel.h:26
CalAbstractMixer * getAbstractMixer() const
Returns the mixer.
Definition model.cpp:272
void setAbstractMixer(CalAbstractMixer *pMixer)
Sets the mixer to a CalAbstractMixer subclass instance.
Definition model.cpp:300
Cal::UserData getUserData() const
Provides access to the user data.
Definition model.cpp:465
void disableInternalData()
Disable internal data (and thus springs system).
Definition model.cpp:558
void setMaterialSet(int setId)
Sets the material set.
Definition model.cpp:511
CalMixer * getMixer() const
Returns the mixer.
Definition model.cpp:252
void update(float deltaTime)
Updates the model instance.
Definition model.cpp:543
CalMorphTargetMixer * getMorphTargetMixer() const
Provides access to the morph target mixer.
Definition model.cpp:315
CalSpringSystem * getSpringSystem() const
Provides access to the spring system.
Definition model.cpp:375
bool detachMesh(int coreMeshId)
Detaches a mesh.
Definition model.cpp:151
bool attachMesh(int coreMeshId)
Attachs a mesh.
Definition model.cpp:96
CalModel(CalCoreModel *pCoreModel)
Constructs the model instance.
Definition model.cpp:40
CalPhysique * getPhysique() const
Provides access to the physique.
Definition model.cpp:330
CalCoreModel * getCoreModel() const
Provides access to the core model.
Definition model.cpp:199
CalBoundingBox & getBoundingBox(bool precision=false)
Returns the global bounding box of the model.
Definition model.cpp:392
CalRenderer * getRenderer() const
Provides access to the renderer.
Definition model.cpp:345
CalMesh * getMesh(int coreMeshId) const
Provides access to an attached mesh.
Definition model.cpp:216
CalSkeleton * getSkeleton() const
Provides access to the skeleton.
Definition model.cpp:360
void setUserData(Cal::UserData userData)
Stores user data.
Definition model.cpp:530
std::vector< CalMesh * > & getVectorMesh()
Returns the mesh vector.
Definition model.cpp:479
void setLodLevel(float lodLevel)
Sets the LOD level.
Definition model.cpp:492
Definition morphtargetmixer.h:22
The spring system class.
Definition springsystem.h:37
Derive from noncopyable to mark your class as not having a copy constructor or operator=.
Definition global.h:73