# CSLNurbsProjection Class Reference

`#include <XSINurbsProjectionList.h>`

Inheritance diagram for CSLNurbsProjection:

List of all members.

## Public Types
enum | EProjectionType { SI_UV, SI_WORLD }
| Define projection types. More...
## Public Member Functions
SI_Error | Synchronize ()
SI_Error | Fix ()
| CSLNurbsProjection (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate)
virtual | ~CSLNurbsProjection ()
| Destructor.
ETemplateType | Type ()
EProjectionType | GetProjectionType ()
SI_Void | SetProjectionType (EProjectionType in_Type)
CSLCurveList * | CurveList ()

## Detailed Description

Describes a Nurbs Projection List (see the XSI_NurbsProjection template reference).

Note:
  This template was introduced in dotXSI Version 3.6

See also:
  CSLCurveList

## Member Enumeration Documentation

enum EProjectionType

Define projection types.

Enumerator:

  SI_UV | UV Space
  SI_WORLD | World Space

## Constructor & Destructor Documentation

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

Constructor

Parameters:

  | in_pScene | Parent scene
  | in_pModel | Parent model
  | in_pTemplate | Refered template

## Member Function Documentation

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

Commits semantic layer data

Returns:
  SI_Error Whether or not commit was a success

Reimplemented from CSLTemplate.

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

Clean invalid data from the template.

Returns:
  SI_Error Error code

Reimplemented from CSLTemplate.

ETemplateType Type | ( |  | ) | `[inline, virtual]`

Gets the type of this template

Returns:
  ETemplateType The type of this template: XSI_NURBS_TRIM_LIST

Implements CSLTemplate.

EProjectionType GetProjectionType | ( |  | ) |

Gets the projection type

Returns:
  EProjectionType The type of projection

SI_Void SetProjectionType | ( | EProjectionType | in_Type | ) |

Sets the projection type

Parameters:

  | in_Type | The type of projection

CSLCurveList* CurveList | ( |  | ) |

Return the curve list describing this projection.

Returns:
  CSLCurveList* Pointer to a curve list object.

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

- XSINurbsProjectionList.h