3ds Max C++ API Reference
MeshDeltaUser Class Referenceabstract

#include <meshdelta.h>

+ Inheritance diagram for MeshDeltaUser:

Public Member Functions

virtual void LocalDataChanged (ChannelMask channels)=0
 
virtual void ToggleCommandMode (meshCommandMode mode)=0
 
virtual void ButtonOp (meshButtonOp opcode)=0
 
virtual void GetUIParam (meshUIParam uiCode, int &ret)
 
virtual void SetUIParam (meshUIParam uiCode, int val)
 
virtual void GetUIParam (meshUIParam uiCode, float &ret)
 
virtual void SetUIParam (meshUIParam uiCode, float val)
 
virtual void UpdateApproxUI ()
 
virtual void ExitCommandModes ()=0
 
virtual bool Editing ()
 
virtual DWORD GetEMeshSelLevel ()
 
virtual void SetEMeshSelLevel (DWORD sl)
 
virtual void PlugControllersSel (TimeValue t, BitArray &set)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- Static Public Member Functions inherited from MaxHeapOperators
static UtilExport voidoperator new (size_t size)
 Standard new operator used to allocate objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e)
 Standard new operator used to allocate objects if there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate objects that takes the type of memory, filename and line number where the new was called If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate objects that takes the filename and line number where the new was called If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new (size_t size, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate objects that takes extra flags to specify special operations If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, const char *filename, int line)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport voidoperator new[] (size_t size, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, an exception will be thrown. More...
 
static UtilExport voidoperator new[] (size_t size, const std::nothrow_t &e, unsigned long flags)
 New operator used to allocate arrays of objects If there is insufficient memory, NULL will be returned. More...
 
static UtilExport void operator delete (void *ptr)
 Standard delete operator used to deallocate an object If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an object If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an object that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an object that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete (void *ptr, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an object that takes extra flags to specify special operations If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e)
 Standard delete operator used to deallocate an array of objects If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, int block_type, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the type of memory, filename and line number where the delete was called If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, const char *filename, int line)
 Delete operator used to deallocate an array of objects that takes the filename and line number where the delete was called If the pointer is invalid, nothing will happen. More...
 
static UtilExport void operator delete[] (void *ptr, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport void operator delete[] (void *ptr, const std::nothrow_t &e, unsigned long flags)
 Delete operator used to deallocate an array of objects that takes extra flags to specify special operations If the pointer is invalid, an exception will be thrown. More...
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator. More...
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator. More...
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary. More...
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary. More...
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc. More...
 

Detailed Description

See also
Class Mesh, Class MeshDelta.
Description:
This is a virtual class which both Editable Mesh (class EditTriObject) and Edit Mesh (class EditMeshMod) subclass off of. It contains interface methods for editable meshes, much like the IMeshSelect class contains interface methods for modifiers and objects that can select sub-object parts of meshes.

Member Function Documentation

◆ LocalDataChanged()

virtual void LocalDataChanged ( ChannelMask  channels)
pure virtual
Remarks
This method is used to notify the MeshDeltaUser that at least one of its associated MeshDeltaUserDatas has changed.
Parameters:
ChannelMask channels This represents the parts of the local data that have changed. One or more of the following values: TOPO_CHANNEL, GEOM_CHANNEL, TEXMAP_CHANNEL, MTL_CHANNEL, SELECT_CHANNEL, SUBSEL_TYPE_CHANNEL, DISP_ATTRIB_CHANNEL, VERTCOLOR_CHANNEL, GFX_DATA_CHANNEL

◆ ToggleCommandMode()

virtual void ToggleCommandMode ( meshCommandMode  mode)
pure virtual
Remarks
This method is used to start up one of the interactive command modes of the editable mesh.
Parameters:
meshCommandMode mode The mode to start. One of the following values: McmCreate, McmAttach, McmExtrude, McmBevel, McmChamfer, McmSlicePlane, McmCut, McmWeldTarget, McmFlipNormalMode, McmDivide, McmTurnEdge

◆ ButtonOp()

virtual void ButtonOp ( meshButtonOp  opcode)
pure virtual
Remarks
This method performs the equivalent operation as a button press in the editable mesh UI.
Parameters:
meshButtonOp opcode One of the following values: MopHide, MopUnhideAll, MopDelete, MopDetach, MopBreak, MopViewAlign, MopGridAlign, MopMakePlanar, MopCollapse, MopTessellate, MopExplode, MopSlice, MopWeld, MopShowNormal, MopAutoSmooth, MopRemoveIsolatedVerts, MopSelectOpenEdges, MopCreateShapeFromEdges, MopFlipNormal, MopUnifyNormal, MopVisibleEdge, MopInvisibleEdge, MopAutoEdge, MopAttachList, MopSelectByID, MopSelectBySG, MopClearAllSG, MopSelectByColor

◆ GetUIParam() [1/2]

virtual void GetUIParam ( meshUIParam  uiCode,
int ret 
)
inlinevirtual
Remarks
This method allows you to get the edit spline parameters from the command panel. Currently not in use.
Parameters:
meshUIParam uiCode One of the following values; MuiSelByVert, MuiIgBack, MuiIgnoreVis, MuiSoftSel, MuiSSUseEDist, MuiSSEDist, MuiSSBack, MuiWeldBoxSize, MuiExtrudeType, MuiShowVNormals, MuiShowFNormals, MuiPolyThresh, MuiFalloff, MuiPinch, MuiBubble, MuiWeldDist, MuiNormalSize int &ret The returned value.
Default Implementation:
{ }
2385 { }

◆ SetUIParam() [1/2]

virtual void SetUIParam ( meshUIParam  uiCode,
int  val 
)
inlinevirtual
Remarks
This method allows you to set the edit spline parameters from the command panel. Currently not in use.
Parameters:
meshUIParam uiCode One of the following values; MuiSelByVert, MuiIgBack, MuiIgnoreVis, MuiSoftSel, MuiSSUseEDist, MuiSSEDist, MuiSSBack, MuiWeldBoxSize, MuiExtrudeType, MuiShowVNormals, MuiShowFNormals, MuiPolyThresh, MuiFalloff, MuiPinch, MuiBubble, MuiWeldDist, MuiNormalSize int val The value to set.
Default Implementation:
{ }
2399 { }

◆ GetUIParam() [2/2]

virtual void GetUIParam ( meshUIParam  uiCode,
float &  ret 
)
inlinevirtual
Remarks
This method allows you to get the edit spline parameters from the command panel. Currently not in use.
Parameters:
meshUIParam uiCode One of the following values; MuiSelByVert, MuiIgBack, MuiIgnoreVis, MuiSoftSel, MuiSSUseEDist, MuiSSEDist, MuiSSBack, MuiWeldBoxSize, MuiExtrudeType, MuiShowVNormals, MuiShowFNormals, MuiPolyThresh, MuiFalloff, MuiPinch, MuiBubble, MuiWeldDist, MuiNormalSize float &ret The returned value.
Default Implementation:
{ }
2413 { }

◆ SetUIParam() [2/2]

virtual void SetUIParam ( meshUIParam  uiCode,
float  val 
)
inlinevirtual
Remarks
This method allows you to set the edit spline parameters from the command panel. Currently not in use.
Parameters:
meshUIParam uiCode One of the following values; MuiSelByVert, MuiIgBack, MuiIgnoreVis, MuiSoftSel, MuiSSUseEDist, MuiSSEDist, MuiSSBack, MuiWeldBoxSize, MuiExtrudeType, MuiShowVNormals, MuiShowFNormals, MuiPolyThresh, MuiFalloff, MuiPinch, MuiBubble, MuiWeldDist, MuiNormalSize float val The value to set.
Default Implementation:
{ }
2427 { }

◆ UpdateApproxUI()

virtual void UpdateApproxUI ( )
inlinevirtual
2428 { }

◆ ExitCommandModes()

virtual void ExitCommandModes ( )
pure virtual

◆ Editing()

virtual bool Editing ( )
inlinevirtual
2433 { return FALSE; } // returns TRUE iff between BeginEditParams, EndEditParams

◆ GetEMeshSelLevel()

virtual DWORD GetEMeshSelLevel ( )
inlinevirtual
2434 { return EM_SL_OBJECT; }
#define EM_SL_OBJECT
Definition: meshdelta.h:2324

◆ SetEMeshSelLevel()

virtual void SetEMeshSelLevel ( DWORD  sl)
inlinevirtual
2435 { }

◆ PlugControllersSel()

virtual void PlugControllersSel ( TimeValue  t,
BitArray set 
)
inlinevirtual
2438 { }