Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

CSLNurbsCurve Class Reference

Describes a single NURBS curve. More...

#include <NurbsCurve.h>

Inheritance diagram for CSLNurbsCurve::

CSLGeometry CSLPrimitive CSLTemplate CSIBCNode List of all members.

Public Types

Public Methods


Detailed Description

Describes a single NURBS curve.


Member Typedef Documentation

typedef CSLArrayProxy<SI_Float, SI_Float, 1> CSLNurbsCurve::CSLFloatArray
 

Proxy class that allows modifying a list of SI_Float like an array.

typedef CSLArrayProxy<CSIBCVector4D, SI_Float, 4> CSLNurbsCurve::CSLVector4DArray
 

Proxy class that allows modifying a list of CSIBCVector4D objects like an array.


Member Enumeration Documentation

enum CSLNurbsCurve::EParametrizationType
 

The EParametrizationType enum contains possible types for knot parametrization

Enumeration values:
SI_UNIFORM  Uniform parametrization.
SI_NON_UNIFORM  Non-uniform parametrization.
SI_CHORD_LENGTH  Chord length parametrization.
SI_CENTRIPETAL  Centripetal parametrization.


Constructor & Destructor Documentation

CSLNurbsCurve::CSLNurbsCurve 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 CSLNurbsCurve

CSLNurbsCurve::~CSLNurbsCurve   [virtual]
 

Destructor


Member Function Documentation

SI_Bool CSLNurbsCurve::GetClosedFlag  
 

Return the closed flag of the curve.

Returns:
SI_Bool Closed flag.

SI_Int CSLNurbsCurve::GetControlPointCount  
 

Return the number of control points of the curve.

Returns:
SI_Int Number of control points.

CSLNurbsCurve::CSLVector4DArray * CSLNurbsCurve::GetControlPointList  
 

Return the control point values array proxy.

Returns:
CSLVector4DArray* Pointer to an array proxy of control point values.

CSIBCVector4D * CSLNurbsCurve::GetControlPointListPtr  
 

Returns an array of SI_Float containing the control point values.

Returns:
SI_Float* Array of control point values.

SI_Int CSLNurbsCurve::GetDegree  
 

Return the degree of the curve.

Returns:
SI_Int Degree value.

SI_Int CSLNurbsCurve::GetKnotCount  
 

Return the number of knots of the curve.

Returns:
SI_Int Number of knots.

CSLNurbsCurve::CSLFloatArray * CSLNurbsCurve::GetKnotList  
 

Return the knot values array proxy.

Returns:
CSLFloatArray* Pointer to an array proxy of knots values.

SI_Float * CSLNurbsCurve::GetKnotListPtr  
 

Returns an array of SI_Float containing the knot values.

Returns:
SI_Float* Array of knots values.

CSLNurbsCurve::EParametrizationType CSLNurbsCurve::GetParametrization  
 

Return the parametrization type of the curve.

Returns:
EParametrizationType Parametrization type.

SI_Void CSLNurbsCurve::SetClosedFlag SI_Bool    in_bValue
 

Change the closed flag of the curve.

Parameters:
SI_Bool  New closed flag.
Returns:
SI_Void

SI_Void CSLNurbsCurve::SetDegree SI_Int    in_nValue
 

Change the degree the curve.

Parameters:
SI_Int  New degree value.
Returns:
SI_Void

SI_Void CSLNurbsCurve::SetParametrization EParametrizationType    in_Type
 

Change the parametrization type of the curve.

Parameters:
EParametrizationType  New parametrization type.
Returns:
SI_Void

SI_Error CSLNurbsCurve::Synchronize   [virtual]
 

Synchronizes this NURBS curve instance with its IO layer representation

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

Reimplemented from CSLGeometry.

virtual ETemplateType CSLNurbsCurve::Type   [inline, virtual]
 

Get the template type

Returns:
ETemplateType the template type of the NURBS curve

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.