Public Member Functions

MeshDeltaUser Class Reference

Search for all occurrences

Detailed Description

See also:
Class Mesh, Class MeshDelta.

Description:
This class is available in release 3.0 and later only.

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.

#include <meshdelta.h>

Inheritance diagram for MeshDeltaUser:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void  LocalDataChanged (DWORD parts)=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)

Member Function Documentation

virtual void LocalDataChanged ( DWORD  parts ) [pure virtual]
Remarks:
This method is used to notify the MeshDeltaUser that at least one of its associated MeshDeltaUserDatas has changed.
Parameters:
DWORD parts

This represents the parts of the local data that have changed. One or more of the following values:

PART_TOPO, PART_GEOM, PART_TEXMAP, PART_MTL, PART_SELECT, PART_SUBSEL_TYPE, PART_DISPLAY, PART_VERTCOLOR, PART_GFX_DATA
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
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
virtual void GetUIParam ( meshUIParam  uiCode,
int &  ret 
) [inline, virtual]
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:
{ }
{ }
virtual void SetUIParam ( meshUIParam  uiCode,
int  val 
) [inline, virtual]
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:
{ }
{ }
virtual void GetUIParam ( meshUIParam  uiCode,
float &  ret 
) [inline, virtual]
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:
{ }
{ }
virtual void SetUIParam ( meshUIParam  uiCode,
float  val 
) [inline, virtual]
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:
{ }
{ }
virtual void UpdateApproxUI ( ) [inline, virtual]
virtual void ExitCommandModes ( ) [pure virtual]
virtual bool Editing ( ) [inline, virtual]
{ return FALSE; } // returns TRUE iff between BeginEditParams, EndEditParams
virtual DWORD GetEMeshSelLevel ( ) [inline, virtual]
{ return EM_SL_OBJECT; }
virtual void SetEMeshSelLevel ( DWORD  sl ) [inline, virtual]
virtual void PlugControllersSel ( TimeValue  t,
BitArray set 
) [inline, virtual]

MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser
MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser MeshDeltaUser