| - Cal3D 0.11 API Reference - |
Public Member Functions | |
| CalCoreSubMorphTargetDiffMap (const CalCoreSubMorphTargetDiffMap &inOther) | |
| virtual bool | reserve (int blendVertexCount) |
| Reserves memory for the blend vertices. | |
| virtual void | setCoreSubmesh (CalCoreSubmesh *inCoreSubmesh) |
| Record the core submesh that this morph applies to. | |
| bool | appendBlendVertex (int vertexId, const CalCoreSubMorphTarget::BlendVertex &vertex) |
| Record one blend vertex. | |
Public Member Functions inherited from CalCoreSubMorphTarget | |
| const CalCoreSubmesh * | getCoreSubmesh () const |
| Returns the core submesh associated with this morph. | |
| int | getBlendVertexCount () const |
| Returns the number of blend vertices. | |
| unsigned int | size () |
| std::vector< BlendVertex * > & | getVectorBlendVertex () |
| Returns the blend vertex vector. | |
| bool | hasBlendVertex (int blendVertexId) |
| BlendVertex const * | getBlendVertex (int blendVertexId) |
| const BlendVertex * | getBlendVertex (int blendVertexId) const |
| const std::vector< BlendVertex * > & | getVectorBlendVertex () const |
| Returns the blend vertex vector. | |
| bool | setBlendVertex (int vertexId, const BlendVertex &vertex) |
| Sets a specified blend vertex. | |
| void | getBlendVertex (int vertexId, BlendVertex &outVertex) const |
| Returns one blend vertex. | |
| CalMorphTargetType | morphTargetType () const |
| Return type of morph target, which is determined from parsing the name. | |
| void | setName (std::string) |
| std::string | name () const |
Additional Inherited Members | |
Public Types inherited from CalCoreSubMorphTarget | |
| typedef std::vector< BlendVertex * > | VectorBlendVertex |
| bool CalCoreSubMorphTargetDiffMap::appendBlendVertex | ( | int | vertexId, |
| const CalCoreSubMorphTarget::BlendVertex & | vertex ) |
Record one blend vertex.
This function adds a blend vertex to the difference map. Vertices must be added in increasing order of ID.
| vertexId | The ID of the vertex. |
| vertex | A blend vertex. |
|
virtual |
Reserves memory for the blend vertices.
This function reserves memory for the blend vertices of the difference map.
| blendVertexCount | The number of blend vertices that this sub morph target should be able to hold. |
Reimplemented from CalCoreSubMorphTarget.
|
virtual |
Record the core submesh that this morph applies to.
This function associates the sub morph target with a core submesh and caches blend vertices using the difference map.
| The | core submesh. |
Reimplemented from CalCoreSubMorphTarget.