15#include "cal3d/global.h"
16#include "cal3d/vector.h"
63 void update(
float deltaTime);
74 Cal::UserData m_userData;
75 std::vector<CalMesh *> m_vectorMesh;
CalAbstractMixer defines the API that CalModel relies on for blending and scheduling animations.
Definition mixer.h:141
The bounding box class.
Definition vector.h:223
Definition coremodel.h:26
void setAbstractMixer(CalAbstractMixer *pMixer)
Sets the mixer to a CalAbstractMixer subclass instance.
Definition model.cpp:377
void setPhysique(CalPhysique *physique)
Sets the physique.
Definition model.cpp:449
void disableInternalData()
Disable internal data (and thus springs system)
Definition model.cpp:723
CalRenderer * getRenderer()
Provides access to the renderer.
Definition model.cpp:465
CalCoreModel * getCoreModel()
Provides access to the core model.
Definition model.cpp:199
CalPhysique * getPhysique()
Provides access to the physique.
Definition model.cpp:422
void setMaterialSet(int setId)
Sets the material set.
Definition model.cpp:676
void update(float deltaTime)
Updates the model instance.
Definition model.cpp:708
CalMesh * getMesh(int coreMeshId)
Provides access to an attached mesh.
Definition model.cpp:232
bool detachMesh(int coreMeshId)
Detaches a mesh.
Definition model.cpp:151
bool attachMesh(int coreMeshId)
Attachs a mesh.
Definition model.cpp:96
const CalAbstractMixer * getAbstractMixer() const
Returns the mixer.
Definition model.cpp:349
CalModel(CalCoreModel *pCoreModel)
Constructs the model instance.
Definition model.cpp:40
CalSpringSystem * getSpringSystem()
Provides access to the spring system.
Definition model.cpp:525
CalSkeleton * getSkeleton()
Provides access to the skeleton.
Definition model.cpp:495
CalMorphTargetMixer * getMorphTargetMixer()
Provides access to the morph target mixer.
Definition model.cpp:392
CalBoundingBox & getBoundingBox(bool precision=false)
Returns the global bounding box of the model.
Definition model.cpp:557
CalMixer * getMixer()
Returns the mixer.
Definition model.cpp:305
void setUserData(Cal::UserData userData)
Stores user data.
Definition model.cpp:695
const Cal::UserData getUserData() const
Provides access to the user data.
Definition model.cpp:630
std::vector< CalMesh * > & getVectorMesh()
Returns the mesh vector.
Definition model.cpp:644
void setLodLevel(float lodLevel)
Sets the LOD level.
Definition model.cpp:657
Definition morphtargetmixer.h:24
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:82