Class NURBSDisplay

3DS Max Plug-In SDK

Class NURBSDisplay

See Also: Class NURBSSet.

class NURBSDisplay

Description:

This class is available in release 2.5 or later.

This class provides information about the display of the NURBSSet in the 3D viewports. An instance of this class is maintained by each NURBSSet.

Data Members:

BOOL mDisplayCurves;

TRUE if curves are displayed; otherwise FALSE.

BOOL mDisplaySurfaces;

TRUE if surfaces are displayed; otherwise FALSE.

BOOL mDisplayLattices;

TRUE if lattices are displayed; otherwise FALSE.

BOOL mDisplaySurfCVLattices;

TRUE if surface CV lattices are displayed; otherwise FALSE.

BOOL mDisplayCurveCVLattices;

TRUE if curve CV lattices are displayed; otherwise FALSE.

BOOL mDisplayDependents;

TRUE if dependent sub-objects are displayed; otherwise FALSE.

BOOL mDisplayTrimming;

TRUE if surface trimming is displayed; otherwise FALSE.

BOOL mDegradeOnMove;

TRUE if the surface may degrade while transforming it; otherwise FALSE.

Methods:

Prototype:

NURBSDisplay();

Remarks:

Constructor. The data members are initialized as follows:

 mDisplayCurves = TRUE;

 mDisplaySurfaces = TRUE;

 mDisplayLattices = FALSE;

 mDisplaySurfCVLattices = TRUE;

 mDisplayCurveCVLattices = TRUE;

 mDisplayDependents = TRUE;

 mDisplayTrimming = TRUE;

 mDegradeOnMove = TRUE;

Prototype:

NURBSDisplay & operator=(const NURBSDisplay& disp);

Remarks:

Assignment operator.

Parameters:

const NURBSDisplay& disp

The object to assign.