- Cal3D 0.9 API Reference - |
#include <coreanimation.h>
Public Member Functions | |
CalCoreAnimation () | |
Constructs the core animation instance. | |
virtual | ~CalCoreAnimation () |
Destructs the core animation instance. | |
bool | addCoreTrack (CalCoreTrack *pCoreTrack) |
Adds a core track. | |
bool | create () |
Creates the core animation instance. | |
void | destroy () |
Destroys the core animation instance. | |
CalCoreTrack * | getCoreTrack (int coreBoneId) |
Provides access to a core track. | |
float | getDuration () |
Returns the duration. | |
std::list< CalCoreTrack * > & | getListCoreTrack () |
Returns the core track list. | |
void | setDuration (float duration) |
Sets the duration. | |
void | scale (float factor) |
Scale the core animation. | |
void | setFilename (const std::string &filename) |
Set the name of the file in which the core animation is stored, if any. | |
const std::string & | getFilename (void) |
Get the name of the file in which the core animation is stored, if any. | |
void | setName (const std::string &name) |
Set the symbolic name of the core animation. | |
const std::string & | getName (void) |
Get the symbolic name the core animation. | |
void | incRef () |
Increment the reference counter the core animation. | |
bool | decRef () |
Decrement the reference counter the core animation. | |
Protected Attributes | |
float | m_duration |
std::list< CalCoreTrack * > | m_listCoreTrack |
std::string | m_name |
std::string | m_filename |
int | m_referenceCount |
|
Constructs the core animation instance. This function is the default constructor of the core animation instance. |
|
Destructs the core animation instance. This function is the destructor of the core animation instance. |
|
Adds a core track. This function adds a core track to the core animation instance.
|
|
Creates the core animation instance. This function creates the core animation instance.
|
|
Decrement the reference counter the core animation.
|
|
Destroys the core animation instance. This function destroys all data stored in the core animation instance and frees all allocated memory. |
|
Provides access to a core track. This function returns the core track for a given bone ID.
|
|
Returns the duration. This function returns the duration of the core animation instance.
|
|
Get the name of the file in which the core animation is stored, if any.
|
|
Returns the core track list. This function returns the list that contains all core tracks of the core animation instance.
|
|
Get the symbolic name the core animation.
|
|
Scale the core animation. This function rescale all the skeleton data that are in the core animation instance
|
|
Sets the duration. This function sets the duration of the core animation instance.
|
|
Set the name of the file in which the core animation is stored, if any.
|
|
Set the symbolic name of the core animation.
|