Public Member Functions | Friends

NURBSXFormSurface Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSSurface.

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

This class defines a dependent transform (xform) surface. A transform surface is a copy of the original surface with a different position, rotation, or scale. Methods are available to get/set the indices of the parent surface in the NURBSSet and the parent Ids and to specify/retrieve the transformation used on the surface.

All methods of this class are implemented by the system.

#include <surf_api.h>

Inheritance diagram for NURBSXFormSurface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSXFormSurface (void)
virtual DllExport  ~NURBSXFormSurface (void)
DllExport NURBSXFormSurface operator= (const NURBSXFormSurface &surf)
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 NURBSXFormSurface ( void  )
Remarks:
Constructor. The data members are initialized as follows:

mType = kNXFormSurface;

mpObject = NULL;

mpNSet = NULL;

mParentId = 0;

mParentIndex = -1;

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

Member Function Documentation

DllExport NURBSXFormSurface& operator= ( const NURBSXFormSurface surf )
Remarks:
Assignment operator.
Parameters:
const NURBSXFormSurface& surf

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

The index in the NURBSSet of the parent object.
DllExport void SetParentId ( NURBSId  id )
Remarks:
Set the NURBSId of the parent object.
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 object.
DllExport void SetXForm ( TimeValue  t,
Matrix3 mat 
)
Remarks:
Sets the transformation from the parent surface.
Parameters:
TimeValue t

The time at which to set the transformation.

Matrix3& mat

The transformation to set.
DllExport Matrix3& GetXForm ( TimeValue  t )
Remarks:
Returns the transformation from the parent surface.
Parameters:
TimeValue t

The time at which the transformation is returned.
Operators:

Friends And Related Function Documentation

friend class NURBSSet [friend]

NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface
NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface NURBSXFormSurface