#include <NurbsCurve.h>
Inheritance diagram for CSLNurbsCurve:

Public Types |
|
| enum | EParametrizationType { SI_UNIFORM, SI_NON_UNIFORM, SI_CHORD_LENGTH, SI_CENTRIPETAL } |
| typedef CSLArrayProxy< SI_Float, SI_Float, 1 > |
CSLFloatArray |
| typedef CSLArrayProxy< CSIBCVector4D, SI_Float, 4 > |
CSLVector4DArray |
Public Member Functions |
|
| CSLNurbsCurve (CSLScene *in_pScene, CSLModel *in_pModel, CdotXSITemplate *in_pTemplate) | |
| virtual | ~CSLNurbsCurve () |
| SI_Int | GetDegree () |
| SI_Void | SetDegree (SI_Int in_nValue) |
| SI_Bool | GetClosedFlag () |
| SI_Void | SetClosedFlag (SI_Bool in_bValue) |
| EParametrizationType | GetParametrization () |
| SI_Void | SetParametrization (EParametrizationType in_Type) |
| SI_Int | GetKnotCount () |
| CSLFloatArray * | GetKnotList () |
| SI_Float * | GetKnotListPtr () |
| SI_Int | GetControlPointCount () |
| CSLVector4DArray * | GetControlPointList () |
| CSIBCVector4D * | GetControlPointListPtr () |
| virtual SI_Error | Synchronize () |
| virtual ETemplateType | Type () |
| typedef CSLArrayProxy<SI_Float, SI_Float, 1> CSLFloatArray |
Proxy class that allows modifying a list of SI_Float like an array.
| typedef CSLArrayProxy<CSIBCVector4D, SI_Float, 4> CSLVector4DArray |
Proxy class that allows modifying a list of CSIBCVector4D objects like an array.
| enum EParametrizationType |
| CSLNurbsCurve | ( | CSLScene * | in_pScene, | |
| CSLModel * | in_pModel, | |||
| CdotXSITemplate * | in_pTemplate | |||
| ) |
Constructor
| in_pScene | Parent scene | |
| in_pModel | Parent model | |
| in_pTemplate | Refered template |
| virtual ~CSLNurbsCurve | ( | ) | [virtual] |
Destructor
| SI_Int GetDegree | ( | ) |
Return the degree of the curve.
| SI_Void SetDegree | ( | SI_Int | in_nValue | ) |
Change the degree the curve.
| SI_Int | New degree value. |
| SI_Bool GetClosedFlag | ( | ) |
Return the closed flag of the curve.
| SI_Void SetClosedFlag | ( | SI_Bool | in_bValue | ) |
Change the closed flag of the curve.
| SI_Bool | New closed flag. |
| EParametrizationType GetParametrization | ( | ) |
Return the parametrization type of the curve.
| SI_Void SetParametrization | ( | EParametrizationType | in_Type | ) |
Change the parametrization type of the curve.
| EParametrizationType | New parametrization type. |
| SI_Int GetKnotCount | ( | ) |
Return the number of knots of the curve.
| CSLFloatArray* GetKnotList | ( | ) |
Return the knot values array proxy.
| SI_Float* GetKnotListPtr | ( | ) |
Returns an array of SI_Float containing the knot values.
| SI_Int GetControlPointCount | ( | ) |
Return the number of control points of the curve.
| CSLVector4DArray* GetControlPointList | ( | ) |
Return the control point values array proxy.
| CSIBCVector4D* GetControlPointListPtr | ( | ) |
Returns an array of SI_Float containing the control point values.
| virtual SI_Error Synchronize | ( | ) | [virtual] |
Synchronizes this NURBS curve instance with its IO layer representation
| SI_SUCCESS | this function always returns SI_SUCCESS |
Reimplemented from CSLGeometry.
| virtual ETemplateType Type | ( | ) | [inline, virtual] |
Get the template type
Implements CSLTemplate.