| - Cal3D 0.9 API Reference - |
#include <coremesh.h>
Public Member Functions | |
| CalCoreMesh () | |
| Constructs the core mesh instance. | |
| virtual | ~CalCoreMesh () |
| Destructs the core mesh instance. | |
| int | addCoreSubmesh (CalCoreSubmesh *pCoreSubmesh) |
| Adds a core submesh. | |
| bool | create () |
| Creates the core mesh instance. | |
| void | destroy () |
| Destroys the core mesh instance. | |
| CalCoreSubmesh * | getCoreSubmesh (int id) |
| Provides access to a core submesh. | |
| int | getCoreSubmeshCount () |
| Returns the number of core submeshes. | |
| std::vector< CalCoreSubmesh * > & | getVectorCoreSubmesh () |
| Returns the core submesh vector. | |
| int | addAsMorphTarget (CalCoreMesh *pCoreMesh) |
| Adds a core submesh. | |
| void | scale (float factor) |
| Scale the Mesh. | |
| void | setFilename (const std::string &filename) |
| Set the name of the file in which the core mesh is stored, if any. | |
| const std::string & | getFilename (void) |
| Get the name of the file in which the core mesh is stored, if any. | |
| void | setName (const std::string &name) |
| Set the symbolic name of the core mesh. | |
| const std::string & | getName (void) |
| Get the symbolic name the core mesh. | |
| void | incRef () |
| Increment the reference counter the core mesh. | |
| bool | decRef () |
| Decrement the reference counter the core mesh. | |
Protected Attributes | |
| std::vector< CalCoreSubmesh * > | m_vectorCoreSubmesh |
| std::string | m_name |
| std::string | m_filename |
| int | m_referenceCount |
|
|
Constructs the core mesh instance. This function is the default constructor of the core mesh instance. |
|
|
Destructs the core mesh instance. This function is the destructor of the core mesh instance. |
|
|
Adds a core submesh. This function adds a core mesh as a blend target. It adds appropriate CalCoreSubMorphTargets to each of the core sub meshes.
|
|
|
Adds a core submesh. This function adds a core submesh to the core mesh instance.
|
|
|
Creates the core mesh instance. This function creates the core mesh instance.
|
|
|
Decrement the reference counter the core mesh.
|
|
|
Destroys the core mesh instance. This function destroys all data stored in the core mesh instance and frees all allocated memory. |
|
|
Provides access to a core submesh. This function returns the core submesh with the given ID.
|
|
|
Returns the number of core submeshes. This function returns the number of core submeshes in the core mesh instance.
|
|
|
Get the name of the file in which the core mesh is stored, if any.
|
|
|
Get the symbolic name the core mesh.
|
|
|
Returns the core submesh vector. This function returns the vector that contains all core submeshes of the core mesh instance.
|
|
|
Scale the Mesh. This function rescale all the data that are in the core mesh instance.
|
|
|
Set the name of the file in which the core mesh is stored, if any.
|
|
|
Set the symbolic name of the core mesh.
|
1.4.2
© 1997-2001
Dimitri van Heesch