Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLCurveList Class Reference

Describes a list of NURBS curve. More...

#include <CurveList.h>

Inheritance diagram for CSLCurveList::

CSLPrimitive CSLTemplate CSIBCNode List of all members.

Public Methods


Detailed Description

Describes a list of NURBS curve.


Constructor & Destructor Documentation

CSLCurveList::CSLCurveList CSLScene   in_pScene,
CSLModel   in_pModel,
CdotXSITemplate   in_pTemplate
 

Constructor

Parameters:
in_pScene  Parent scene
in_pModel  Parent model
in_pTemplate  Refered template
Returns:
an instance of CSLCurveList

CSLCurveList::~CSLCurveList   [virtual]
 

Destructor


Member Function Documentation

CSLNurbsCurve * CSLCurveList::AddCurve  
 

Add a new curve to the list.

Returns:
CSLNurbsCurve* Pointer to the newly created curve.

SI_Error CSLCurveList::ClearCurves  
 

Remove all curves from the list.

Returns:
SI_Error Error code.

CSLNurbsCurve * CSLCurveList::ConnectCurve CSLNurbsCurve   in_pNewCurve
 

Connects a NURBS curve to this curve list

Parameters:
in_pNewCurve  the new NURBS curve to connect
Returns:
CSLNurbsCurve* the connected NURBS curve

CSLNurbsCurve ** CSLCurveList::Curves  
 

Return an array of all curves in the list.

Returns:
CSLNurbsCurve** Array of pointers to curve objects.

SI_Int CSLCurveList::GetCurveCount  
 

Return the number of curves in the list.

Returns:
SI_Int Number of curves.

SI_Error CSLCurveList::RemoveCurve CSLNurbsCurve   in_pCurve
 

Remove a single curve from the list.

Parameters:
in_pCurve  Pointer to the curve to remove.
Returns:
SI_Error Error code.

SI_Error CSLCurveList::RemoveCurve SI_Int    in_nIndex
 

Remove a single curve from the list.

Parameters:
in_nIndex  Index of the curve to remove.
Returns:
SI_Error Error code.

SI_Error CSLCurveList::Synchronize   [virtual]
 

Synchronizes this curve list instance with its IO layer representation

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

Reimplemented from CSLTemplate.

CSLTemplate::ETemplateType CSLCurveList::Type   [virtual]
 

Get the template type

Returns:
ETemplateType the template type of the curve list

Reimplemented from CSLTemplate.


The documentation for this class was generated from the following files: © Copyright 2001-2003 Avid Technology, Inc. All rights reserved.

© Copyright 2001-2003 Avid Technology, Inc. All rights reserved.