- Cal3D 0.9 API Reference -

Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

CalCoreMorphAnimation Class Reference

The core morph animation class. More...

#include <coremorphanimation.h>

List of all members.

Public Member Functions

 CalCoreMorphAnimation ()
 Constructs the core morph animation instance.
virtual ~CalCoreMorphAnimation ()
 Destructs the core morph animation instance.
bool addMorphTarget (int coreMeshID, int morphTargetID)
 Adds a core mesh ID and a morph target ID of that core mesh.
bool create ()
 Creates the core morph animation instance.
void destroy ()
 Destroys the core morph animation instance.
std::vector< int > & getVectorCoreMeshID ()
 Returns the core mesh ID list.
std::vector< int > & getVectorMorphTargetID ()
 Returns the morph target ID list.

Protected Attributes

std::vector< int > m_vectorCoreMeshID
std::vector< int > m_vectorMorphTargetID


Detailed Description

The core morph animation class.


Constructor & Destructor Documentation

CalCoreMorphAnimation::CalCoreMorphAnimation  ) 
 

Constructs the core morph animation instance.

This function is the default constructor of the core morph animation instance.

CalCoreMorphAnimation::~CalCoreMorphAnimation  )  [virtual]
 

Destructs the core morph animation instance.

This function is the destructor of the core morph animation instance.


Member Function Documentation

bool CalCoreMorphAnimation::addMorphTarget int  coreMeshID,
int  morphTargetID
 

Adds a core mesh ID and a morph target ID of that core mesh.

Parameters:
coreMeshID A core mesh ID that should be added.
morphTargetID A morph target ID that should be added.
Returns:
One of the following values:
  • true if successful
  • false if an error happend

bool CalCoreMorphAnimation::create  ) 
 

Creates the core morph animation instance.

This function creates the core morph animation instance.

Returns:
One of the following values:
  • true if successful
  • false if an error happend

void CalCoreMorphAnimation::destroy  ) 
 

Destroys the core morph animation instance.

This function destroys all data stored in the core morph animation instance and frees all allocated memory.

std::vector< int > & CalCoreMorphAnimation::getVectorCoreMeshID  ) 
 

Returns the core mesh ID list.

This function returns the list that contains all core mesh IDs of the core morph animation instance.

Returns:
A reference to the core mesh ID list.

std::vector< int > & CalCoreMorphAnimation::getVectorMorphTargetID  ) 
 

Returns the morph target ID list.

This function returns the list that contains all morph target IDs of the core morph animation instance.

Returns:
A reference to the morph target ID list.


The documentation for this class was generated from the following files:
Generated at Thu Dec 2 19:29:06 2004 by The Cal3D Team with doxygen 1.3.9.1 © 1997-2001 Dimitri van Heesch