CSLGeometry Class Reference

Class representing Geometry. More...

#include <Geometry.h>

Inheritance diagram for CSLGeometry:

CSLPrimitive CSLTemplate CSIBCNode CSLMesh CSLNurbsCurve CSLNurbsSurface CSLPatchSurface List of all members.

Public Member Functions

  CSLGeometry (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual  ~CSLGeometry ()
CSLShapeAnimation CreateShapeAnimation (EFCurveInterpolationType in_Type)
CSLShapeAnimation ShapeAnimation ()
SI_Error  DestroyShapeAnimation ()
CSLShapeAnimation ConnectShapeAnimation (CSLShapeAnimation *in_pNewShapeAnim)
virtual SI_Error  Synchronize ()
virtual CSLAnimatableType ParameterFromName (SI_Char *in_szName)

Detailed Description

Class representing Geometry.


Constructor & Destructor Documentation

CSLGeometry ( CSLScene in_pScene,
CSLModel in_pModel,
CdotXSITemplate in_pTemplate  
)

Constructor

Parameters:
[in]  in_pScene  Pointer to the scene containing the Geometry
[in]  in_pModel  Pointer to the model containing the Geometry
[in]  in_pTemplate  Pointer to the CdotXSITemplate containing the Geometry
Returns:
an instance of CSLGeometry

virtual ~CSLGeometry (  )  [virtual]

Destructor


Member Function Documentation

CSLShapeAnimation* CreateShapeAnimation ( EFCurveInterpolationType  in_Type  ) 

Create a new shape animation for the geometry.

Parameters:
[in]  in_Type  Type of interpolation for the new shape animation.
Returns:
Pointer to the newly created shape animation.

CSLShapeAnimation* ShapeAnimation (  ) 

Return the shape animation of the geometry.

Returns:
Pointer to the shape animation.

SI_Error DestroyShapeAnimation (  ) 

Destroy an existing shape animation on the geometry.

Returns:
Error code.

CSLShapeAnimation* ConnectShapeAnimation ( CSLShapeAnimation in_pNewShapeAnim  ) 

Connects a shape animation

Parameters:
[in]  in_pNewShapeAnim*  the shape animation to connect
Returns:
The connected shape animation

virtual SI_Error Synchronize (  )  [virtual]

Synchronizes this geometry instance with its IO layer representation

Return values:
SI_Error::SI_SUCCESS  this function always returns SI_SUCCESS

Reimplemented from CSLTemplate.

Reimplemented in CSLMesh, CSLNurbsCurve, and CSLNurbsSurface.

virtual CSLAnimatableType* ParameterFromName ( SI_Char *  in_szName  )  [virtual]

Returns a handle on one of this geometry's parameters by using its name

Parameters:
[in]  in_szName  the name of the parameter to get the handle from
Returns:
the handle to the parameter

Reimplemented from CSLTemplate.

Reimplemented in CSLMesh.


The documentation for this class was generated from the following file: