#include <ShapeAnimation.h>
Inheritance diagram for CSLShapeAnimation:

Public Member Functions |
|
| CSLShapeAnimation (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate, EFCurveInterpolationType in_Type) | |
| CSLBaseShape * | AddShape () |
| CSLBaseShape * | InsertShape (SI_Int in_nIndex) |
| SI_Int | GetShapeCount () |
| CSLBaseShape ** | Shapes () |
| SI_Error | RemoveShape (SI_Int in_nIndex) |
| SI_Error | RemoveShape (CSLBaseShape *in_pObject) |
| SI_Error | ClearShapes () |
| CSLFCurve * | Animation () |
| virtual SI_Error | Fix () |
| virtual SI_Error | Synchronize () |
| virtual ETemplateType | Type () |
| CSLShapeAnimation | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate, | |||
| EFCurveInterpolationType | in_Type | |||
| ) |
Constructor
| in_pScene | Parent scene | |
| in_pModel | Parent model | |
| in_pTemplate | referred template | |
| in_Type | Default interpolation type |
| CSLBaseShape* AddShape | ( | ) |
Add a new shape at the end of the animation.
| CSLBaseShape* InsertShape | ( | SI_Int | in_nIndex | ) |
Insert a new shape into the animation.
| SI_Int | Index of insertion of the new shape. |
| SI_Int GetShapeCount | ( | ) |
Return the number of shapes in the animation.
| CSLBaseShape** Shapes | ( | ) |
Return an array of all shapes in the animation.
| SI_Error RemoveShape | ( | SI_Int | in_nIndex | ) |
Remove a single shape from the animation.
| SI_Int | Index of the shape to remove. |
| SI_SUCCESS | The animation was removed | |
| SI_ERR_BAD_ARGUMENT | Invalid index |
| SI_Error RemoveShape | ( | CSLBaseShape * | in_pObject | ) |
Remove a single shape from the animation.
| CSLBaseShape* | Pointer to the shape to remove. |
| SI_SUCCESS | The animation was removed | |
| SI_ERR_BAD_ARGUMENT | Shape was not found |
| SI_Error ClearShapes | ( | ) |
Remove all shapes from the shape animation.
| CSLFCurve* Animation | ( | ) |
Return the fcurve containing the animation of the shape.
| virtual SI_Error Fix | ( | ) | [virtual] |
Clean invalid data from the template.
Reimplemented from CSLTemplate.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronize will ensure that the animated parameter is up to date.
Reimplemented from CSLTemplate.
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Returns the type of this template
| CSLTemplate::SI_SHAPE_ANIMATION |
Implements CSLTemplate.