Public Member Functions | Friends

NURBSXFormCurve Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSCurve.

Description:
This class is available in release 2.0 and later only.

This class defines a dependent transform (xform) curve. A transform curve is a copy of the original curve with a different position, rotation, or scale.

All methods of this class are implemented by the system.

#include <surf_api.h>

Inheritance diagram for NURBSXFormCurve:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSXFormCurve (void)
virtual DllExport  ~NURBSXFormCurve (void)
DllExport NURBSXFormCurve operator= (const NURBSXFormCurve &curve)
DllExport void  SetParent (int index)
DllExport void  SetParentId (NURBSId id)
DllExport int  GetParent (void)
DllExport NURBSId  GetParentId (void)
DllExport void  SetXForm (TimeValue t, Matrix3 &mat)
DllExport Matrix3 GetXForm (TimeValue t)

Friends

class  NURBSSet

Constructor & Destructor Documentation

DllExport NURBSXFormCurve ( void  )
Remarks:
Constructor. The data members are initialized as follows:

mType = kNXFormCurve;

mpObject = NULL;

mpNSet = NULL;

mParentId = 0;

mParentIndex = -1;

mXForm.IdentityMatrix();
virtual DllExport ~NURBSXFormCurve ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

DllExport NURBSXFormCurve& operator= ( const NURBSXFormCurve curve )
Remarks:
Assignment operator.
Parameters:
const NURBSXFormCurve& curve

The curve to assign.
DllExport void SetParent ( int  index )
Remarks:
Sets the index in the NURBSSet of the specified parent object.
Parameters:
int index

The index into the NURBSSet of the parent curve.
DllExport void SetParentId ( NURBSId  id )
Remarks:
Sets the NURBSId of the parent.
Parameters:
NURBSId id

The id to set.
DllExport int GetParent ( void  )
Remarks:
Returns the index in the NURBSSet of the parent object.
DllExport NURBSId GetParentId ( void  )
Remarks:
Returns the NURBSId of the parent. Note that a NURBSId won't be valid until the object has been instantiated in the scene
DllExport void SetXForm ( TimeValue  t,
Matrix3 mat 
)
Remarks:
Sets the transformation used to move/rotate/scale the curve from the original.
Parameters:
TimeValue t

The time to set the transformation.

Matrix3& mat

The transformation matrix to set.
DllExport Matrix3& GetXForm ( TimeValue  t )
Remarks:
Returns the transformation used to move/rotate/scale the curve from the original.
Parameters:
TimeValue t

The time to get the transformation.
Operators:

Friends And Related Function Documentation

friend class NURBSSet [friend]

NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve
NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve NURBSXFormCurve