dtAnim::Cal3DModelData Class Reference

#include <cal3dmodeldata.h>

List of all members.

Public Types

typedef std::vector
< dtCore::RefPtr
< AnimationWrapper > > 
AnimationWrapperArray
typedef std::vector
< dtCore::RefPtr< Animatable > > 
AnimatableArray

Public Member Functions

 Cal3DModelData (CalCoreModel *coreModel, const std::string &filename)
void Add (AnimationWrapper *)
void Add (Animatable *)
void Remove (AnimationWrapper *)
void Remove (Animatable *)
const std::string & GetFilename () const
CalCoreModel * GetCoreModel ()
const CalCoreModel * GetCoreModel () const
AnimationWrapperArrayGetAnimationWrappers ()
const AnimationWrapperArrayGetAnimationWrappers () const
AnimatableArrayGetAnimatables ()
const AnimatableArrayGetAnimatables () const
unsigned GetVertexVBO () const
 
Returns:
the id of the of the Vertex Buffer Object being used with this character core model, or 0 for none.

void SetVertexVBO (unsigned)
 Sets the id of the of the Vertex Buffer Object being used with this character core model.
unsigned GetIndexVBO () const
 
Returns:
the id of the of the Index Vertex Buffer Object being used with this character core model, or 0 for none

void SetIndexVBO (unsigned)
 Sets the id of the of the Index Vertex Buffer Object being used with this character core model.
const std::string & GetShaderGroupName () const
 
See also:
dtCore::ShaderManager

void SetShaderGroupName (const std::string &groupName)
 Sets the shader group name.
const std::string & GetShaderName () const
 
See also:
dtCore::ShaderManager

void SetShaderName (const std::string &name)
 Sets the shader group name.
unsigned GetShaderMaxBones () const
 
Returns:
the maximum number of bones the skinning shader supports.

void SetShaderMaxBones (unsigned maxBones)
 Sets the maximum number of bones the shader supports.
LODOptionsGetLODOptions ()
const LODOptionsGetLODOptions () const

Protected Member Functions

virtual ~Cal3DModelData ()
 Cal3DModelData (const Cal3DModelData &)
Cal3DModelDataoperator= (const Cal3DModelData &)


Member Typedef Documentation

typedef std::vector< dtCore::RefPtr<AnimationWrapper> > dtAnim::Cal3DModelData::AnimationWrapperArray

typedef std::vector<dtCore::RefPtr<Animatable> > dtAnim::Cal3DModelData::AnimatableArray


Constructor & Destructor Documentation

dtAnim::Cal3DModelData::Cal3DModelData ( CalCoreModel *  coreModel,
const std::string &  filename 
)

dtAnim::Cal3DModelData::~Cal3DModelData (  )  [protected, virtual]

dtAnim::Cal3DModelData::Cal3DModelData ( const Cal3DModelData  )  [protected]


Member Function Documentation

void dtAnim::Cal3DModelData::Add ( AnimationWrapper wrapper  ) 

void dtAnim::Cal3DModelData::Add ( Animatable anim  ) 

void dtAnim::Cal3DModelData::Remove ( AnimationWrapper wrapper  ) 

void dtAnim::Cal3DModelData::Remove ( Animatable anim  ) 

const std::string & dtAnim::Cal3DModelData::GetFilename (  )  const

CalCoreModel * dtAnim::Cal3DModelData::GetCoreModel (  ) 

const CalCoreModel * dtAnim::Cal3DModelData::GetCoreModel (  )  const

Cal3DModelData::AnimationWrapperArray & dtAnim::Cal3DModelData::GetAnimationWrappers (  ) 

const Cal3DModelData::AnimationWrapperArray & dtAnim::Cal3DModelData::GetAnimationWrappers (  )  const

Cal3DModelData::AnimatableArray & dtAnim::Cal3DModelData::GetAnimatables (  ) 

const Cal3DModelData::AnimatableArray & dtAnim::Cal3DModelData::GetAnimatables (  )  const

unsigned dtAnim::Cal3DModelData::GetVertexVBO (  )  const

Returns:
the id of the of the Vertex Buffer Object being used with this character core model, or 0 for none.

void dtAnim::Cal3DModelData::SetVertexVBO ( unsigned  vbo  ) 

Sets the id of the of the Vertex Buffer Object being used with this character core model.

unsigned dtAnim::Cal3DModelData::GetIndexVBO (  )  const

Returns:
the id of the of the Index Vertex Buffer Object being used with this character core model, or 0 for none

void dtAnim::Cal3DModelData::SetIndexVBO ( unsigned  vbo  ) 

Sets the id of the of the Index Vertex Buffer Object being used with this character core model.

const std::string & dtAnim::Cal3DModelData::GetShaderGroupName (  )  const

See also:
dtCore::ShaderManager

Returns:
the shader group used to lookup the shader for this character model.

void dtAnim::Cal3DModelData::SetShaderGroupName ( const std::string &  groupName  ) 

Sets the shader group name.

const std::string & dtAnim::Cal3DModelData::GetShaderName (  )  const

See also:
dtCore::ShaderManager

See also:
GetShaderGroupName
Returns:
the name of the shader within the shader group to use.

void dtAnim::Cal3DModelData::SetShaderName ( const std::string &  name  ) 

Sets the shader group name.

unsigned dtAnim::Cal3DModelData::GetShaderMaxBones (  )  const

Returns:
the maximum number of bones the skinning shader supports.

void dtAnim::Cal3DModelData::SetShaderMaxBones ( unsigned  maxBones  ) 

Sets the maximum number of bones the shader supports.

LODOptions& dtAnim::Cal3DModelData::GetLODOptions (  )  [inline]

const LODOptions& dtAnim::Cal3DModelData::GetLODOptions (  )  const [inline]

Cal3DModelData& dtAnim::Cal3DModelData::operator= ( const Cal3DModelData  )  [protected]


http://www.delta3d.org
2.0.0 generated 14 Feb 2008