# CSLXSIGeometry Class Reference

`#include <XSIGeometry.h>`

Inheritance diagram for CSLXSIGeometry:

List of all members.

## Public Member Functions
| CSLXSIGeometry (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual | ~CSLXSIGeometry ()
virtual CSLXSIShapeAnimation * | CreateXSIShapeAnimation (EFCurveInterpolationType in_Type)
virtual CSLXSIShapeAnimation * | XSIShapeAnimation ()
virtual SI_Error | DestroyXSIShapeAnimation ()
virtual CSLXSIShapeAnimation * | ConnectXSIShapeAnimation (CSLXSIShapeAnimation *in_pNewXSIShapeAnim)
virtual SI_Error | Synchronize ()
virtual CSLAnimatableType * | ParameterFromName (SI_Char *in_szName)

## Detailed Description

Base class to handle geometry data for dotXSI 5.0+ (see the XSI_Geometry template reference).

## Constructor & Destructor Documentation

CSLXSIGeometry | ( | CSLScene * | in_pScene,
|  | CSLModel * | in_pModel,
|  | CdotXSITemplate * | in_pTemplate |
| ) |  |  |

Constructor

Parameters:

  | in_pScene | Pointer to the scene containing the Geometry
  | in_pModel | Pointer to the model containing the Geometry
  | in_pTemplate | Pointer to the CdotXSITemplate containing the Geometry

Returns:
  an instance of CSLGeometry

virtual ~CSLXSIGeometry | ( |  | ) | `[virtual]`

Destructor

## Member Function Documentation

virtual CSLXSIShapeAnimation* CreateXSIShapeAnimation | ( | EFCurveInterpolationType | in_Type | ) | `[virtual]`

Create a new shape animation for the geometry.

Parameters:

  | EFCurveInterpolationType | Type of interpolation for the new shape animation.

Returns:
  CSLXSIShapeAnimation* Pointer to the newly created shape animation.

Reimplemented in CSLCOLLADAMesh.

virtual CSLXSIShapeAnimation* XSIShapeAnimation | ( |  | ) | `[virtual]`

Return the shape animation of the geometry.

Returns:
  CSLXSIShapeAnimation* Pointer to the shape animation.

virtual SI_Error DestroyXSIShapeAnimation | ( |  | ) | `[virtual]`

Destroy an existing shape animation on the geometry.

Returns:
  SI_Error Error code.

virtual CSLXSIShapeAnimation* ConnectXSIShapeAnimation | ( | CSLXSIShapeAnimation * | in_pNewXSIShapeAnim | ) | `[virtual]`

Connects a shape animation

Parameters:

  | CSLXSIShapeAnimation* | the shape animation to connect

Returns:
  The connected shape animation

virtual SI_Error Synchronize | ( |  | ) | `[virtual]`

Synchronizes this geometry instance with its IO layer representation

Returns:
  SI_Error

Return values:

  | SI_SUCCESS | this function always returns SI_SUCCESS

Reimplemented from CSLTemplate.

Reimplemented in CSLCOLLADAMesh, and CSLXSIMesh.

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

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

Parameters:

  | in_szName | the name of the parameter to get the handle from

Returns:
  CSLAnimatableType* the handle to the parameter

Reimplemented from CSLTemplate.

Reimplemented in CSLXSIMesh.

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

- XSIGeometry.h