Classes | Defines | Functions | Variables

polyobj.h File Reference

This reference page is linked to from the following overview topics: Deferred Loading of Plug-ins.


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

Go to the source code of this file.

Classes

class   PolyObject

Defines

#define  PolyLibExport   __declspec( dllimport )
#define  POLY_MULTI_PROCESSING   TRUE

Functions

PolyLibExport ClassDesc GetPolyObjDescriptor ()
PolyLibExport void  RegisterEditPolyObjDesc (ClassDesc *desc)
PolyLibExport ClassDesc GetEditPolyObjDesc ()
PolyLibExport PolyObject CreateEditablePolyObject ()
PolyLibExport void  ConvertPolyToPatch (MNMesh &from, PatchMesh &to, DWORD flags=0)
PolyLibExport void  ConvertPatchToPoly (PatchMesh &from, MNMesh &to, DWORD flags=0)

Variables

PolyLibExport Class_ID  polyObjectClassID

Define Documentation

#define PolyLibExport   __declspec( dllimport )

Definition at line 28 of file polyobj.h.

#define POLY_MULTI_PROCESSING   TRUE

Definition at line 31 of file polyobj.h.


Function Documentation

PolyLibExport ClassDesc* GetPolyObjDescriptor ( )
Remarks:
Gets the class descriptor for the PolyObject.
PolyLibExport void RegisterEditPolyObjDesc ( ClassDesc desc )
Remarks:
Allows a plugin to register an Editable Poly object. (This is done by epoly.dlo in the standard 3ds Max distribution.) This is the object which is collapsed to when the stack is collapsed. The default if no such object is registered is to simply collapse to a PolyObject (which has no UI parameters).
Parameters:
ClassDesc* desc

A pointer to the class descriptor.
PolyLibExport ClassDesc* GetEditPolyObjDesc ( )
Remarks:
Gets the class descriptor for the currently registered Editable Poly object.
PolyLibExport PolyObject* CreateEditablePolyObject ( )
Remarks:
Returns an Editable Poly object from the currently registered EPoly descriptor, cast as a PolyObject.
PolyLibExport void ConvertPolyToPatch ( MNMesh from,
PatchMesh to,
DWORD  flags = 0 
)
PolyLibExport void ConvertPatchToPoly ( PatchMesh from,
MNMesh to,
DWORD  flags = 0 
)

Variable Documentation

PolyLibExport Class_ID polyObjectClassID