Public Member Functions | Friends

NURBSUVLoftSurface Class Reference

Search for all occurrences

Detailed Description

See also:
Class NURBSSurface.

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

This class provides access to the UV Loft Surface. This surface is similar to the U Loft surface, but has a set of curves in the V dimension as well as the U dimension.

#include <surf_api.h>

Inheritance diagram for NURBSUVLoftSurface:
Inheritance graph
[legend]

List of all members.

Public Member Functions

DllExport  NURBSUVLoftSurface (void)
virtual DllExport  ~NURBSUVLoftSurface (void)
DllExport NURBSUVLoftSurface operator= (const NURBSUVLoftSurface &surf)
DllExport void  SetNumUCurves (int num)
DllExport int  GetNumUCurves (void)
DllExport int  AppendUCurve (int index)
DllExport int  AppendUCurve (NURBSId id)
DllExport void  SetUParent (int pnum, int index)
DllExport void  SetUParentId (int pnum, NURBSId id)
DllExport int  GetUParent (int pnum)
DllExport NURBSId  GetUParentId (int pnum)
DllExport void  SetNumVCurves (int num)
DllExport int  GetNumVCurves (void)
DllExport int  AppendVCurve (int index)
DllExport int  AppendVCurve (NURBSId id)
DllExport void  SetVParent (int pnum, int index)
DllExport void  SetVParentId (int pnum, NURBSId id)
DllExport int  GetVParent (int pnum)
DllExport NURBSId  GetVParentId (int pnum)

Friends

class  NURBSSet

Constructor & Destructor Documentation

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

mType = kNUVLoftSurface;

mpObject = NULL;

mpNSet = NULL;

mUParentId.SetCount(0);

mUParentIndex.SetCount(0);

mVParentId.SetCount(0);

mVParentIndex.SetCount(0);
virtual DllExport ~NURBSUVLoftSurface ( void  ) [virtual]
Remarks:
Destructor.

Member Function Documentation

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

The surface to assign.
DllExport void SetNumUCurves ( int  num )
Remarks:
Sets the number of curves in the U dimension.
Parameters:
int num

The number of curves to use in the U dimension.
DllExport int GetNumUCurves ( void  )
Remarks:
Returns the number of curves in the U dimension.
DllExport int AppendUCurve ( int  index )
Remarks:
Appends the specified curve (by NURBSSet index) to the list of U curves.
Parameters:
int index

The index in the NURBSSet of the curve to use.
DllExport int AppendUCurve ( NURBSId  id )
Remarks:
Appends the specified curve (by NURBSId) to the list of U curves.
Parameters:
NURBSId id

The NURBSId of the curve to use.
Returns:
Returns the number of curves in the set prior to appending.
DllExport void SetUParent ( int  pnum,
int  index 
)
Remarks:
Sets the specified parent curve (by NURBSSet index) as the speciifed curve in the surface.
Parameters:
int pnum

The index into the list of U curves of the parent curve to set.

int index

The index into the NURBSSet of the parent curve to set.
DllExport void SetUParentId ( int  pnum,
NURBSId  id 
)
Remarks:
Sets the specified parent curve (by NURBSId) as the speciifed curve in the surface.
Parameters:
int pnum

The index into the list of U curves of the parent curve to set.

NURBSId id

The NURBSId of the parent curve to set.
DllExport int GetUParent ( int  pnum )
Remarks:
Returns the index into the NURBSSet of the specified parent curve.
Parameters:
int pnum

The zero based index of the parent curve.
DllExport NURBSId GetUParentId ( int  pnum )
Remarks:
Returns the NURBSId of the specified parent curve. Note that a NURBSId won't be valid until the surface has been instantiated in the scene.
Parameters:
int pnum

The zero based index of the parent curve.
DllExport void SetNumVCurves ( int  num )
Remarks:
Sets the number of curves in the V dimension.
Parameters:
int num

The number of curves to use in the V dimension.
DllExport int GetNumVCurves ( void  )
Remarks:
Returns the number of curves in the V dimension.
DllExport int AppendVCurve ( int  index )
Remarks:
Appends the specified curve (by NURBSSet index) to the list of V curves.
Parameters:
int index

The index in the NURBSSet of the curve to use.
Returns:
Returns the number of curves in the set prior to appending.
DllExport int AppendVCurve ( NURBSId  id )
Remarks:
Appends the specified curve (by NURBSId) to the list of U curves.
Parameters:
NURBSId id

The NURBSId of the curve to use.
Returns:
Returns the number of curves in the set prior to appending.
DllExport void SetVParent ( int  pnum,
int  index 
)
Remarks:
Sets the specified parent curve (by NURBSSet index) as the speciifed curve in the surface.
Parameters:
int pnum

The index into the list of V curves of the parent curve to set.

int index

The index into the NURBSSet of the parent curve to set.
DllExport void SetVParentId ( int  pnum,
NURBSId  id 
)
Remarks:
Sets the specified parent curve (by NURBSId) as the speciifed curve in the surface.
Parameters:
int pnum

The index into the list of V curves of the parent curve to set.

NURBSId id

The NURBSId of the parent curve to set.
DllExport int GetVParent ( int  pnum )
Remarks:
Returns the index into the NURBSSet of the specified parent curve.
Parameters:
int pnum

The zero based index of the parent curve.
DllExport NURBSId GetVParentId ( int  pnum )
Remarks:
Returns the NURBSId of the specified parent curve. Note that a NURBSId won't be valid until the surface has been instantiated in the scene.
Parameters:
int pnum

The zero based index of the parent curve.

Friends And Related Function Documentation

friend class NURBSSet [friend]

NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface
NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface NURBSUVLoftSurface