Classes | Defines | Functions | Variables

triobj.h File Reference

This reference page is linked to from the following overview topics: Primitive Pipeline Objects, Indicating Required Input Object Types, Deferred Loading of Plug-ins.


#include "meshlib.h"
#include "snap.h"
#include "maxtess.h"
#include "object.h"
#include "XTCObject.h"

Go to the source code of this file.

Classes

class   TriObject
class   TriObjectNormalXTC

Defines

#define  TRI_MULTI_PROCESSING   TRUE

Functions

CoreExport void  SetDisplacmentPreset (int preset, TessApprox approx)
CoreExport ClassDesc GetTriObjDescriptor ()
CoreExport void  RegisterEditTriObjDesc (ClassDesc *desc)
CoreExport ClassDesc GetEditTriObjDesc ()
CoreExport TriObject CreateNewTriObject ()

Variables

CoreExport Class_ID  triObjectClassID
const Class_ID  kTriObjNormalXTCID = Class_ID(0x730a33d7, 0x27246c55)

Define Documentation

#define TRI_MULTI_PROCESSING   TRUE

Definition at line 24 of file triobj.h.


Function Documentation

CoreExport void SetDisplacmentPreset ( int  preset,
TessApprox  approx 
)
CoreExport ClassDesc* GetTriObjDescriptor ( )
Remarks:
Returns a pointer to the class descriptor for the regular, standard TriObject.
CoreExport void RegisterEditTriObjDesc ( ClassDesc desc )
Remarks:
A new descriptor can be registered to replace the default TriObject descriptor. This new descriptor will then be used to create TriObjects.
Parameters:
ClassDesc* desc

The class descriptor to replace the default TriObject descriptor.
CoreExport ClassDesc* GetEditTriObjDesc ( )
Remarks:
Returns a pointer to the class descriptor for the editable TriObject. It returns the default if none has been registered. See below.
CoreExport TriObject* CreateNewTriObject ( )
Remarks:
This method is used to create a new TriObject. Use this instead of new TriObject. It will use the registered descriptor if one is registered, otherwise you'll get a default TriObject.

Variable Documentation

const Class_ID kTriObjNormalXTCID = Class_ID(0x730a33d7, 0x27246c55)

Definition at line 282 of file triobj.h.