Detailed Description
- See also:
- Class NURBSSurface, Class NURBSControlVertex, Class
NURBSPoint,
Class NURBSCurve, Class NURBSSet, NURBSObject Types.
- Description:
- This class is available in release 2.0 and later only.
This is the base class for many of the other classes in the NURBS
API. It provides a common set of methods that each of them use. It
has methods to get and set the name of the item, and methods to
deal with error processing. To determine the type of object the
derived class is use the method GetType().
All methods of this class are implemented by the system.
- Data Members:
- protected:
MCHAR mName[NURBS_NAME_SIZE];
The name of the NURBS object. The maximum length of this name
including the terminating NULL is specified using the following
#define: #define NURBS_NAME_SIZE 80
NURBSType mType;
The type of NURBS object this is. See NURBSObject Types.
NURBSKind mKind;
The kind of NURBS object this is. See NURBSObject Kinds.
NURBSId mId;
This is the ID of the NURBS object used to specify the parent
object in many of the dependent point, curves and surface classes.
This ID is not persistant across sessions and should not be saved
to a file. A NURBSId is defined as follows: typedef unsigned
long NURBSId;
Object
*mpObject;
When an object is instantiated in the 3ds Max scene this pointer is
filled in. For example, if you use the function
CreateNURBSObject() and pass a NURBSSet, this data member is
filled in to point to the actual editable NURBS object in 3ds Max
that this NURBSObject is a part
of.
NURBSSet* mpNSet;
When an object is instantiated in the 3ds Max scene this pointer is
filled in. This points to the NURBSSet this object is a
contained within.
BOOL mSelected;
TRUE if the object is selected; otherwise FALSE.
protected:
#include <surf_api.h>
List of all
members.
Constructor & Destructor Documentation
Member Function Documentation
DllExport void Clean |
( |
NURBSIdTab |
ids |
) |
[protected] |
DllExport void SetName |
( |
MCHAR * |
name |
) |
|
- Parameters:
- MCHAR *name
The name to set.
DllExport MCHAR* GetName |
( |
void |
|
) |
|
DllExport NURBSId GetId |
( |
|
) |
|
DllExport void SetId |
( |
NURBSId |
id |
) |
|
- Parameters:
- NURBSId id
The ID to set.
DllExport void SetNSet |
( |
NURBSSet * |
nset |
) |
|
- Parameters:
- NURBSSet
*nset
The pointer to set.
DllExport void SetObject |
( |
Object * |
object |
) |
|
- Parameters:
- Object
*object
The pointer to set.
DllExport Object* GetMAXObject |
( |
|
) |
|
DllExport int GetIndex |
( |
|
) |
|
DllExport BOOL IsSelected |
( |
|
) |
|
DllExport void SetSelected |
( |
BOOL |
set |
) |
|
- Parameters:
- BOOL set
TRUE to select the object; FALSE to de-select it.
- Operators:
Friends And Related Function Documentation
Reimplemented in
NURBSPointConstPoint,
NURBSCurveConstPoint,
NURBSCurveCurveIntersectionPoint,
NURBSSurfConstPoint,
NURBSCurveSurfaceIntersectionPoint, NURBSCVCurve,
NURBSPointCurve,
NURBSBlendCurve,
NURBSOffsetCurve,
NURBSXFormCurve,
NURBSMirrorCurve,
NURBSFilletCurve,
NURBSChamferCurve, NURBSIsoCurve,
NURBSSurfaceEdgeCurve,
NURBSProjectVectorCurve,
NURBSProjectNormalCurve,
NURBSSurfSurfIntersectionCurve,
NURBSCurveOnSurface,
NURBSPointCurveOnSurface,
NURBSSurfaceNormalCurve,
NURBSCVSurface,
NURBSPointSurface,
NURBSBlendSurface,
NURBSNBlendSurface,
NURBSOffsetSurface,
NURBSXFormSurface,
NURBSMirrorSurface,
NURBSRuledSurface,
NURBSULoftSurface,
NURBSUVLoftSurface,
NURBSExtrudeSurface,
NURBSLatheSurface,
NURBSCapSurface,
NURBS1RailSweepSurface,
NURBS2RailSweepSurface,
NURBSMultiCurveTrimSurface, and
NURBSFilletSurface.
Member Data Documentation
MCHAR mName[NURBS_NAME_SIZE]
[protected] |
NURBSObject NURBSObject NURBSObject
NURBSObject NURBSObject NURBSObject NURBSObject NURBSObject
NURBSObject NURBSObject
NURBSObject NURBSObject NURBSObject
NURBSObject NURBSObject NURBSObject NURBSObject NURBSObject
NURBSObject NURBSObject