Public Member Functions

IUnwrapMod2 Class Reference

Search for all occurrences

Detailed Description

Description:
This class is only available in release 5 or later.

The new class allows for Normal, Flatten, and Unfold mapping. You can bring them up through a dialog or through a script command. All these tools basically work the same. They are either applied to the current selected faces or the whole object if no faces are selected.

As this class has been fully developed with the new Function-Published System (FPS), all of its methods have a one-to-one correspondence with MaxScript commands. For the sake of brevity, references to MaxScript commands mean that there is an attendant C++ method in iunwrap.h that is prepended by lowercase fn. Examples of this are as follows ( MaxScript and its attendant C++ method):

copy fpCopy();

normalMapNoParams fnNormalMapNoParams().

There are three distinct modes of unmapping:

Normal Mapping

Normal Mapping is mapping based solely are the normals provided. This is identically to box mapping except you customize what normals you want to project on. There are three methods to apply a "normalMap" which applies a normal map based on the parameters passed in (see the methods below) , "normalMapNoParams" which applies a normal map using the default setting, and "normalMapDialog" which brings up a dialog that lets you set the setting. Right now there are 6 types of default mapping Back/Front, Left/Right, Top/Bottom, Box Mapping No Top, Box Mapping, and Diamond mapping. Just apply the mapping to a teapot to see the differences they are pretty obvious once you see the effect. Parameters in the Normal Mapping dialog are:

  • Mapping Type which are the 6 mapping types listed above.
  • Spacing which determines how much space there is between each cluster.
  • Normalize Cluster will normalize the cluster from 0 to 1
  • Rotate Clusters will rotate the clusters so they take the least amount of area.
  • Align By Width will sort the clusters by there width otherwise it will use their heights.


Hitting the Save As Default will take the current setting and set them as defaults for the next time you bring up the dialog and when you use the script command "<b>normalMapNoParams</b>".

Flatten Mapping

Flatten Mapping is similar to normal mapping, except it uses an angle threshold to define the clusters and the clusters will always be contiguous faces. This type of mapping will generate mapping that does not overlap so it is useful for baking textures and lighting. Just like normal mapping this comes in 3 flavors "flattenMap" which applies a normal map based on the parameters passed in (see the methods below) , "flattenMapNoParams" which applies a map using the default setting, and "flattenMapDialog" which brings up a dialog that lets you set the setting. The parameters for the Flatten Map Dialog are:

Face Angle Threshold - when building contiguous faces this the angle used to determine whether a face is part of that cluster. The larger this angle the larger the cluster will be, but you will get more distortion since the texture faces area will start deviating from there geometric face area.
  • Spacing which determines how much space there is between each cluster.
  • Normalize Cluster will normalize the cluster from 0 to 1
  • Rotate Clusters will rotate the clusters so they take the least amount of area.
  • Fill Holes will fill clusters with holes. It places smaller cluster in the gaps of larger clusters.


Unfold Mapping

Unfold Mapping where as the Normal and Flatten Mapping basically use a lot of planar mapping to get their results, this is an actual unfolding algorithm. It guarantees that all texture faces will have the exact same proportions as their geometric equivalents, but you may get faces that overlap. This type of mapping is only good on meshes that are very regular things like cylinders etc. This has the same type of function calls as the above "unfoldMap" which applies an unfold map based on the parameters passed in (see the methods below) , "unfoldMapNoParams" which applies a map using the default setting, and "unfoldMapDialog" which brings up a dialog that lets you set the setting. The parameters for the Unfold Map Dialog are:
  • Unfold Type which consists of Walk to closest face and Walk to farthest face. This determines the order of which face gets unfolded. Under almost all conditions you want to walk to the closest face.
  • Normalize Cluster will normalize the cluster from 0 to 1


Copy/Paste allows you to copy a texture face/faces from one part or mesh to another or to a new mesh. These functions are extremely topology dependant so if you copy faces onto faces that have a different topology or face order you will get unpredictable results. There is a "copy" script which takes the current selected faces and puts them in the copy buffer. There is the "Paste" and "PasteInstance" commands which do the pasting to current selected faces. "Paste" take one parameter called rotate which determines if every time you paste to the same face whether the tvs are reoriented. For instance if you paste a quad onto a another quad there are actually 4 possible ways you can paste it onto it. If rotate is on, every time you paste it will go onto the next variation. "Paste Instance" forces the faces that are being pastes to use the vertices that the copy buffer use (NOTE you cannot paste instance across objects). This similar to doing a regular paste and then selecting all the overlapping vertices and doing a weld. There is no rotate option with this method. As noted above Pasting faces that have a different topology or face order will result in unpredictable results.

Stitching allows you find all the texture vertices that are assigned to the same geometric vertex and bring them all to the same spot and weld them together. This allows you take faces that geometrically contiguous, but not texture face contiguous and line them up. There is a stitchVerts command which takes parameters, stitchVertsNoParams which uses the current defaults, and a stitchVertsDialog which brings up a dialog to apply a stitch and set defaults. The Stitch Tool params are:

  • Align Cluster which if checked and the edges to be stitched are on separate clusters it will try to align the clusters and then stitch the vertices.
  • Bias determines which direction the vertices will move (to or from the source). At a Bias of 0.0 the vertices will move to the source and 1.0 they will move to the target.


Note stitching will respect the soft selection.

MaxScript Commands / Methods:
Note: the following are MaxScript commands, however, referring to the above qualifier, their C++ method name is the same as in MaxScript but prepended with fn.

The format for input/output parameters is as follows:

<output type> <name of function> <input type params 1...n>

copy - this takes the selected faces and places them in the copy buffer

paste

rotate TYPE_BOOL if this on, every time you paste to the same selection it will try a different variation

This paste the current copy buffer onto the current face selection.

pasteInstance this forces the faces that are being pastes to use the vertices that the copy buffer use (NOTE you cannot paste instance across objects). This similar to doing a regular paste and then selecting all the overlapping vertices and doing a weld. There is no rotate option with this method.

SetDebugLevel

level TYPE_INT level of debug info 0 means no debug info, the higher the value the more spam you will see in your script window

Debugging tool so I can control the amount of debug info that goes to the listener and script window.

TYPE_BOOL getTileMap - returns whether the background is tiled.

setTileMap

tile TYPE_BOOL - whether or not to tile the background

This allows you set the tile state of the background

TYPE_INT getTileMapLimit - returns the max number of tiles to use in a direction

setTileMapLimit

limit TYPE_INT - the number of tile to limit in a direction

This allows you to set the tile limit

TYPE_FLOAT getTileMapBrightness returns the brightness of the tiles.

setTileMapBrightness brightness

TYPE_FLOAT - the brightness of the tiled maps

This allows you to set the brightness of the tiled maps

New Maxscript funtions

TYPE_BOOL getShowMap returns the state of the show map button

TYPE_VOID setShowMap

showMap TYPE_BOOL the state you want to set the show map button

Lets you set the state of the show map button

TYPE_BOOL getLimitSoftSel returns whether the soft selection limit is on/off

SetLimitSoftSel

limit TYPE_BOOL state the to set the soft selection limit

Allows you to set the soft selection limit state

TYPE_INT getLimitSoftSelRange returns the edge limit for the for the soft selection

setLimitSoftSelRange

range TYPE_INT this is how far out in edges that soft selection will expand to

This lets you set the edge limit range for soft selection

TYPE_FLOAT getVertexWeight

index TYPE_INT the index of the vertex you want to inspect

returns the soft selection weight of a particular vertex

setVertexWeight

index TYPE_INT the index of the vertex you want to change

weight TYPE_FLOAT the soft selection weight you want to set the vertex to

This lets you set the soft selection weight of a particular vertex. Note once you set the weight of a vertex, it is tagged as being modified and will not change value unless you unmodifiy or call setVertexWeight on it again.

TYPE_BOOL isWeightModified

index TYPE_INT the index of the vertex you want to inspect

This returns whether a vertex is modified or not.

modifyWeight

index TYPE_INT the index of the vertex you want to change

modify TYPE_BOOL the modified state of the vertex

This lets you set the modified state of vertex. If a vertex is modified it ignores regular UI soft selection and the vertex soft selection weight is locked to it current state and can only be changed by the setVertexWeight method.

TYPE_BOOL getGeomSelectElementMode returns whether you are in element mode for face

selection in the viewport.

setGeomSelectElementMode

mode TYPE_BOOL - the state that you want to put viewport selection in

Lets you set the viewport element mode.

TYPE_BOOL getGeomPlanarThresholdMode return the whether you are in planar select mode.

setGeomPlanarThresholdMode

mode TYPE_BOOL the state that you want to put planar selection mode

Lets set the planar selection mode.

TYPE_FLOAT getGeomPlanarThreshold return the planar selection angle threshold

setGeomPlanarThreshold

angle TYPE_FLOAT the angle threshold

Lets you set the angle threshold for the planar selection mode.

TYPE_INT getWindowX returns the current X position of the Unwrap Edit window

TYPE_INT getWindowY returns the current Y position of the Unwrap Edit window

TYPE_INT getWindowW returns the current width of the Unwrap Edit window

TYPE_INT getWindowH returns the current height of the Unwrap Edit window

TYPE_BOOL getIgnoreBackFaceCull returns the state of the Ignore Back Face mode

setIgnoreBackFaceCull

ignoreBackFaceCull TYPE_BOOL state of the Ignore Back Faces mode

Lets you set the Ignore Back Face mode

TYPE_BOOL getOldSelMethod returns whether the system is in the old selection mode. Where drag selection always uses back faces and single pick mode ignore back faces.

SetOldSelMethod

oldSelMethod TYPE_BOOL the state of the old selection method

This lets you set the system back to the old selection method. Where drag selection always uses back faces and single pick mode ignore back faces.

This will override the Ignore Back Faces mode.

SelectByMatID

matID TYPE_INT the matID of the face that you want to select

This lets you select faces by material ids.

selectBySG

sg TYPE_INT the smoothing group that you want to select

This lets you select faces by smoothing group

TYPE_VOID expandGeomFaceSelection - expands your current viewport face selection

TYPE_VOID contractGeomFaceSelection- contracts your current viewport face selection

TYPE_BOOL getAlwaysEdit - This returns whether the always edit mode is on. This mode will always bring up the edit dialog when the Unwrap rollup window is displayed.

TYPE_VOID setAlwaysEdit

always TYPE_BOOL the state that you want to set the always edit mode to.

This lets you set the always edit mode. This mode will always bring up the edit dialog when the Unwrap rollup window is displayed.

TYPE_BOOL getShowVertexConnections this returns whether vertex connection indices are displayed. Vertex Connections are TV vertices that share the same geometric vertices

TYPE_VOID setShowVertexConnections

show TYPE_BOOL whether to display the vertex connection data.

This lets you toggle the vertex connection data.

TYPE_BOOL getFilterSelected this returns the state of the Filter Selected Faces button

TYPE_VOID setFilterSelected

filter TYPE_BOOL the filter state

This lets you set the Filter Selected Faces button

TYPE_BOOL getSnap this returns the snap state.

TYPE_VOID setSnap

snap TYPE_BOOL the snap state

This lets you set the snap state.

TYPE_BOOL getLock this returns the lock selection state

TYPE_VOID setLock

lock TYPE_BOOL state of the lock selection.

This lets you set the state of the lock selection

TYPE_VOID pack

method TYPE_INT - 0 is a linear packing algorithm fast but not that efficient, 1 is a recursive algorithm slower but more efficient.

spacing TYPE_FLOAT - the gap between cluster in percentage of the edge distance of the square

normalize TYPE_BOOL - whether the clusters will be fit to 0 to 1 space.

rotate TYPE_BOOL - whether a cluster will be rotated so it takes up less space.

fillholes TYPE_BOOL - whether smaller clusters will be put in the holes of the larger cluster.

This lets you pack the texture vertex elements so that they fit within a square space.

TYPE_VOID packNoParams - this packs the clusters using the default parameters.

TYPE_VOID packDialog - this brings up a dialog that lets the user set the parameters and then packs the clusters.

TYPE_INT getTVSubObjectMode sets the current texture subobject mode 1 vertices, 2 edges, 3 faces.

TYPE_VOID setTVSubObjectMode

mode TYPE_INT - the subobject mode 1 vertices, 2 edges, 3 faces.

Lets you set the tv subobject mode.

TYPE_BITARRAY getSelectedFaces returns the selected face list

TYPE_VOID selectFaces

Selection TYPE_BITARRAY selection that you want to make the face selection

This lets you set the face selection

TYPE_BOOL IsFaceSelected

Index TYPE_INT the index of the face you want to check

This lets you check to see if a face is selected.

TYPE_INT getFillMode - returns the fill mode type for face selections. The fill modes are as follows.

FILL_MODE_OFF 1

FILL_MODE_SOLID 2

FILL_MODE_BDIAGONAL 3

FILL_MODE_CROSS 4

FILL_MODE_DIAGCROSS 5

FILL_MODE_FDIAGONAL 6

FILL_MODE_HORIZONAL 7

FILL_MODE_VERTICAL 8

TYPE_VOID setFillMode

mode TYPE_INT - the fill mode that you want to set

This lets you set the fill mode for selected faces.

MoveSelected, RotateSelected, RotateSelectedCenter, ScaleSelectedCenter, and ScaleSelected are identical to there vertex counter parts but are applied to the current selection.

TYPE_VOID MoveSelected

Offset TYPE_POINT3

TYPE_VOID RotateSelectedCenter

Angle TYPE_FLOAT

TYPE_VOID RotateSelected

Angle TYPE_FLOAT

Axis TYPE_POINT3

TYPE_VOID ScaleSelectedCenter

Scale TYPE_FLOAT

Dir TYPE_INT

TYPE_VOID ScaleSelected

Scale TYPE_FLOAT

Dir TYPE_INT

Axis TYPE_POINT3

TYPE_BITARRAY getSelectedEdges returns the selected edge list

TYPE_VOID selectEdges

Selection TYPE_BITARRAY selection that you want to make the edge selection

This lets you set the edge selection

TYPE_BOOL IsEdgeSelected

Index TYPE_INT the index of the edge you want to check

This lets you check to see if a face is selected.

TYPE_BOOL getDisplayOpenEdges returns whethe open edges will display

TYPE_VOID setDisplayOpenEdges

displayOpenEdges TYPE_BOOL the state of the open edge display

This lets you set the open edge display

TYPE_POINT3 getOpenEdgeColor returns the color used for the open edges

TYPE_VOID setOpenEdgeColor

color TYPE_POINT3 the color to be used for open edges

This lets you set the open edge color

TYPE_BOOL getUVEdgeMode returns whether you are in the UV Edge Selection mode. This mode will try to automatically select all the U or V edges when you select an edge. Since this is based on edges, the regular tri mesh may produce incorrect results since the hidden edges are not taken into account.

TYPE_VOID setUVEdgeMode

uvEdgeMode TYPE_BOOL the state of the you want to set the UV Edge mode

This lets you set the UV Edge mode

TYPE_VOID uvEdgeSelect - this is a command that will take your current edge selection and try to expand out along the U and V directions. Works best when you only have one edge selected.

TYPE_BOOL getOpenEdgeMode returns whether you are in the Open Edge Selection mode. This mode will try to automatically select all the opens edges when you select an open edge.

TYPE_VOID setOpenEdgeMode

uvOpenMode TYPE_BOOL the state of the you want to set the Open Edge mode

This lets you set the Open Edge mode

TYPE_VOID openEdgeSelect - this is a command that will take your current selection and try to expand all the open edges in it.

TYPE_VOID vertToEdgeSelect - this command takes your vertex selection and converts it to the edge selection.

TYPE_VOID vertToFaceSelect - this command takes your vertex selection and converts it to the face selection.

TYPE_VOID edgeToVertSelect - this command takes your edge selection and converts it to the vertex selection.

TYPE_VOID edgeToFaceSelect - this command takes your edge selection and converts it to the face selection.

TYPE_VOID faceToVertSelect - this command takes your face selection and converts it to the vertex selection.

TYPE_VOID faceToEdgeSelect - this command takes your face selection and converts it to the edge selection.

TYPE_BOOL getDisplayHiddenEdges return whether hidden edges of a tri mesh are displayed.

TYPE_VOID setDisplayHiddenEdges

displayHiddenEdges TYPE_BOOL - the state that you want to the hidden display to be.

This lets you turn on/off whether tri mesh hidden edges are displayed.

TYPE_POINT3 getHandleColor - returns the color that will be used to display patch handles.

TYPE_VOID setHandleColor

color TYPE_POINT3 - the color that you want to set patch handles to

This lets you set the color that will be used to display patch handles.

TYPE_BOOL getFreeFormMode this toggle the free form mode on and off. This mode is similar to the Photoshops free form mode. You select any where inside the bounding rectangle to move the selection. You select the corners to scale the selection, and you you select the edge centers to rotate the selection. You can also move the center cross which is your rotation pivot point.

TYPE_VOID setFreeFormMode

freeFormMode TYPE_BOOL the state of the free form mode.

Lets you turn on/off the free from mode.

TYPE_POINT3 getFreeFormColor returns the color of the free form gizmo.

TYPE_VOID setFreeFormColor

color TYPE_POINT3 the color that you want the gizmo to be

This lets you set the color of the Free Form Gizmo

TYPE_VOID ScaleSelectedXY

ScaleX TYPE_FLOAT the x scale factor

ScaleY TYPE_FLOAT the y scale factor

Axis TYPE_POINT3 the axis to scale around

This lets you nu scale the current selection around an axis

TYPE_VOID SnapPivot

Pos TYPE_INT - the pivot position where

1 is the center

2 is the lower left of the selection

3 is the lower center of the selection

4 is the lower right of the selection

5 is the right center of the selection

6 is the upper right of the selection

7 is the upper center of the selection

8 is the upper left of the selection

9 is the left center of the selection

This lets you quickly snap the free form gizmo pivot the bounding rectangle.

TYPE_POINT3 getPivotOffset - returns the pivot offset of the free form gizmo. This is an offset from the center of the selection.

TYPE_VOID setPivotOffset

offset TYPE_POINT3 the offset of the free form gizmo pivot

This lets you set the offset of the free form gizmo pivot.

TYPE_POINT3 fnGetSelCenter this returns the selection center so you can compute the pivot offset from a world uv position.

TYPE_BOOL getPolygonMode

This returns whether the polygon mode for sub object face mode is on. Polygon Mode will just select across triangles across hidden edges of a triangle.

TYPE_VOID setPolygonMode

mode TYPE_BOOL the state you want to set the Polygon Mode

This lets you set the state the of the Polygon Mode

TYPE_VOID PolygonSelect

This is command that will take your current selection and expand it to include all polygons.

TYPE_VOID sketch

IndexList TYPE_INT_TAB the indices of the points you want to move.

PositionList TYPE_POINT3_TAB the list of a points you want to align your vertices to.

This lets you align texture vertices to a series of points

TYPE_VOID sketchNoParams

This puts you in sketch mode using the default parameters.

TYPE_VOID sketchDialog

This brings up the sketch options dialog.

TYPE_VOID sketchReverse

This will reverse the order of the select vertices that are being used for sketch when you use the Use Current Selection option.

TYPE_INT getHitSize

This returns the hit size whne you do a single click in pixels.

TYPE_VOID SetHitSize

size TYPE_INT the size you want to set the hit size to

This lets you set the hit size of a single click.

TYPE_BOOL getResetPivotOnSelection

This will return whether the Transform Gizmo will reset when the selection is changed.

TYPE_VOID SetResetPivotOnSelection

reset TYPE_BOOL the state you want to set the reset pivot on selection

This lets you set the Reset the Pivot On Selection.

TYPE_BOOL getAllowSelectionInsideGizmo

This returns whether a user can select sub objects inside the gizmo or not. If this is FALSE the user is in move mode when inside the gizmo unless they are over the pivot. If this is TRUE the user is in move mode when they are inside and over a selected sub object otherwise they are in select mode.

TYPE_VOID Set AllowSelectionInsideGizmo

select TYPE_BOOL - the state you want to set the Allow Selection Inside Gizmo to be

This lets you set the Allow Selection Inside Gizmo flag

TYPE_VOID SaveCurrentSettingsAsDefault

This takes the current state of Unwrap UVW and save it to the plugin cfg directory into a file called unwrapUVW.ini. The next time the user creates an Unwrap UVW modifier this ini file will be used to set the defaults.

TYPE_VOID LoadDefault

This will load the unwrapUVW.ini defaults into the current Unwrap UVW modifier.

TYPE_BOOL getShowShared

This returns whether shared sub objects are displayed. Shared sub objects are texture vertices or edges that share the same geometric vertex or edge.

TYPE_VOID setShowShared

select TYPE_BOOL whether to display shared sub objects or not.

This lets you toggle the Show Shared flag.

TYPE_POINT3 getSharedColor

This returns the color that will be used to show shared sub objects.

TYPE_VOID setSharedColor

color TYPE_POINT3 the color to be used for shared sub objects

This lets you set the color to be used for shared sub objects.

TYPE_VOID showIcon

index TYPE_INT index of the icon to be display/hidden. The icons are as follows:

1 - Move Mode

2 - Rotate Mode

3 - Scale Mode

4 - Transform Mode

5 - Mirror Tool

6 - Expand Selection

7 - Contract Selection

8 - Soft Selection Falloff

9 - Soft Selection Space

10 - Soft Selection Strength

11 - Break

12 - Target Weld

13 - Weld Selected

14 - Update Map

15 - Show Map

16 - UV/VW/UW space

17 - Properties Dialog

18 - Map Drop List

19 - U Spinner

20 - V Spinner

21 - W Spinner

22 - Lock Sub Object

23 - Hide/Show

24 - Freeze/Thaw

25 - Filter Selected

26 - Mat Ids

27 - Pan Mode

28 - Zoom Mode

29 - Zoom Region Mode

30 - Fit Command

31 - Snap

show TYPE_BOOL whether to show or hide this icon

This lets you turn on/off icons in the Unwrap UVW Edit dialog

TYPE_BOOL getSyncSelectionMode

Returns whether the viewport and the dialog selections are synced

TYPE_VOID setSyncSelectionMode

sync TYPE_BOOL

Lets you set whether the viewport and the dialog selections are synced

TYPE_VOID syncTVSelection

This is a commmand the synces the dialog to the viewport

TYPE_VOID syncGeomSelection

This is a commmand the synces the viewport to the dialog

TYPE_POINT3 getBackgroundColor

returns the color of the background in the dialog

TYPE_VOID setBackgroundColor

color TYPE_POINT3

Lets you set the color of the background in the dialog

TYPE_VOID updateMenuBar

Forces the menu bar to update

TYPE_BOOL getBrightnessAffectsCenterTile

This returns whether the brightness value affects the center tile

TYPE_VOID setBrightnessAffectsCenterTile

bright TYPE_BOOL

This lets you set whether the brightness value affects the center tile

TYPE_BOOL getBlendTileToBackground

This returns whether the tiled images are blended to the background color or black

TYPE_VOID setBlendTileToBackground

blend TYPE_BOOL,

This lets you set whether the tiled images are blended to the background color or black

TYPE_BOOL getPaintSelectMode

This returns whether you are in paint select mode

TYPE_VOID setPaintSelectMode

paint TYPE_BOOL,

This lets you set whether you are in paint select mode

TYPE_INT getPaintSelectSize

Returns the size of the paint select brush this is clamped between 1 and 15.

TYPE_VOID setPaintSelectSize

size TYPE_INT

This lets you set the size of the paint select brush this is clamped between 1 and 15.

TYPE_VOID PaintSelectIncSize

This increments the brush size by one

TYPE_VOID PaintSelectDecSize

This decrements the brush size by one

TYPE_INT GetTickSize

Returns the size of a selected vertex tick

TYPE_VOID SetTickSize

size TYPE_INT size of the tick

This lets you set the size of a vertex tick

#include <iunwrap.h>

Inheritance diagram for IUnwrapMod2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

BEGIN_FUNCTION_MAP  VFN_2 (unwrap_selectpolygonsupdate, fnSelectPolygonsUpdate, TYPE_BITARRAY, TYPE_BOOL)
  VFN_3 (unwrap_selectfacesbynormal, fnSelectFacesByNormal, TYPE_POINT3, TYPE_FLOAT, TYPE_BOOL)
  VFN_4 (unwrap_selectclusterbynormal, fnSelectClusterByNormal, TYPE_FLOAT, TYPE_INT, TYPE_BOOL, TYPE_BOOL)
  VFN_7 (unwrap_flattenmap, fnFlattenMap, TYPE_FLOAT, TYPE_POINT3_TAB, TYPE_FLOAT, TYPE_BOOL, TYPE_INT, TYPE_BOOL, TYPE_BOOL)
  VFN_6 (unwrap_normalmap, fnNormalMap, TYPE_POINT3_TAB, TYPE_FLOAT, TYPE_BOOL, TYPE_INT, TYPE_BOOL, TYPE_BOOL)
  VFN_0 (unwrap_normalmapnoparams, fnNormalMapNoParams)
  VFN_0 (unwrap_normalmapdialog, fnNormalMapDialog)
  VFN_2 (unwrap_unfoldmap, fnUnfoldSelectedPolygons, TYPE_INT, TYPE_BOOL)
  VFN_0 (unwrap_unfoldmapdialog, fnUnfoldSelectedPolygonsDialog)
  VFN_0 (unwrap_unfoldmapnoparams, fnUnfoldSelectedPolygonsNoParams)
  VFN_0 (unwrap_hideselectedpolygons, fnHideSelectedPolygons)
  VFN_0 (unwrap_unhideallpolygons, fnUnhideAllPolygons)
  FN_1 (unwrap_getnormal, TYPE_POINT3, fnGetNormal, TYPE_INT)
  VFN_0 (unwrap_setseedface, fnSetSeedFace)
  VFN_0 (unwrap_showvertexconnectionlist, fnShowVertexConnectionList)
  VFN_0 (unwrap_copy, fnCopy)
  VFN_1 (unwrap_paste, fnPaste, TYPE_BOOL)
  VFN_0 (unwrap_pasteinstance, fnPasteInstance)
  VFN_1 (unwrap_setdebuglevel, fnSetDebugLevel, TYPE_INT)
  VFN_2 (unwrap_stitchverts, fnStitchVerts, TYPE_BOOL, TYPE_FLOAT)
  VFN_0 (unwrap_stitchvertsnoparams, fnStitchVertsNoParams)
  VFN_0 (unwrap_stitchvertsdialog, fnStitchVertsDialog)
  VFN_0 (unwrap_selectelement, fnSelectElement)
  VFN_0 (unwrap_flattenmapdialog, fnFlattenMapDialog)
  VFN_0 (unwrap_flattenmapnoparams, fnFlattenMapNoParams)
  FN_0 (unwrap_gettilemap, TYPE_BOOL, fnGetTile)
  VFN_1 (unwrap_settilemap, fnSetTile, TYPE_BOOL)
  FN_0 (unwrap_gettilemaplimit, TYPE_INT, fnGetTileLimit)
  VFN_1 (unwrap_settilemaplimit, fnSetTileLimit, TYPE_INT)
  FN_0 (unwrap_gettilemapcontrast, TYPE_FLOAT, fnGetTileContrast)
  VFN_1 (unwrap_settilemapcontrast, fnSetTileContrast, TYPE_FLOAT)
  FN_0 (unwrap_getshowmap, TYPE_BOOL, fnGetShowMap)
  VFN_1 (unwrap_setshowmap, fnSetShowMap, TYPE_BOOL)
  FN_0 (unwrap_setlimitsoftsel, TYPE_BOOL, fnGetLimitSoftSel)
  VFN_1 (unwrap_getlimitsoftsel, fnSetLimitSoftSel, TYPE_BOOL)
  FN_0 (unwrap_setlimitsoftselrange, TYPE_INT, fnGetLimitSoftSelRange)
  VFN_1 (unwrap_getlimitsoftselrange, fnSetLimitSoftSelRange, TYPE_INT)
  FN_1 (unwrap_getvertexweight, TYPE_FLOAT, fnGetVertexWeight, TYPE_INDEX)
  VFN_2 (unwrap_setvertexweight, fnSetVertexWeight, TYPE_INT, TYPE_FLOAT)
  FN_1 (unwrap_isweightmodified, TYPE_BOOL, fnIsWeightModified, TYPE_INT)
  VFN_2 (unwrap_modifyweight, fnModifyWeight, TYPE_INT, TYPE_BOOL)
  FN_0 (unwrap_getgeom_elemmode, TYPE_BOOL, fnGetGeomElemMode)
  VFN_1 (unwrap_setgeom_elemmode, fnSetGeomElemMode, TYPE_BOOL)
  FN_0 (unwrap_getgeom_planarmode, TYPE_BOOL, fnGetGeomPlanarMode)
  VFN_1 (unwrap_setgeom_planarmode, fnSetGeomPlanarMode, TYPE_BOOL)
  FN_0 (unwrap_getgeom_planarmodethreshold, TYPE_FLOAT, fnGetGeomPlanarModeThreshold)
  VFN_1 (unwrap_setgeom_planarmodethreshold, fnSetGeomPlanarModeThreshold, TYPE_FLOAT)
  FN_0 (unwrap_getwindowx, TYPE_INT, fnGetWindowX)
  FN_0 (unwrap_getwindowy, TYPE_INT, fnGetWindowY)
  FN_0 (unwrap_getwindoww, TYPE_INT, fnGetWindowW)
  FN_0 (unwrap_getwindowh, TYPE_INT, fnGetWindowH)
  FN_0 (unwrap_getbackfacecull, TYPE_BOOL, fnGetBackFaceCull)
  VFN_1 (unwrap_setbackfacecull, fnSetBackFaceCull, TYPE_BOOL)
  FN_0 (unwrap_getoldselmethod, TYPE_BOOL, fnGetOldSelMethod)
  VFN_1 (unwrap_setoldselmethod, fnSetOldSelMethod, TYPE_BOOL)
  VFN_1 (unwrap_selectbymatid, fnSelectByMatID, TYPE_INT)
  VFN_1 (unwrap_selectbysg, fnSelectBySG, TYPE_INT)
  FN_0 (unwrap_gettvelementmode, TYPE_BOOL, fnGetTVElementMode)
  VFN_1 (unwrap_settvelementmode, fnSetTVElementMode, TYPE_BOOL)
  VFN_0 (unwrap_geomexpandsel, fnGeomExpandFaceSel)
  VFN_0 (unwrap_geomcontractsel, fnGeomContractFaceSel)
  FN_0 (unwrap_getalwaysedit, TYPE_BOOL, fnGetAlwaysEdit)
  VFN_1 (unwrap_setalwaysedit, fnSetAlwaysEdit, TYPE_BOOL)
  FN_0 (unwrap_getshowvertexconnectionlist, TYPE_BOOL, fnGetShowConnection)
  VFN_1 (unwrap_setshowvertexconnectionlist, fnSetShowConnection, TYPE_BOOL)
  FN_0 (unwrap_getfilterselected, TYPE_BOOL, fnGetFilteredSelected)
  VFN_1 (unwrap_setfilterselected, fnSetFilteredSelected, TYPE_BOOL)
  FN_0 (unwrap_getsnap, TYPE_BOOL, fnGetSnap)
  VFN_1 (unwrap_setsnap, fnSetSnap, TYPE_BOOL)
  FN_0 (unwrap_getlock, TYPE_BOOL, fnGetLock)
  VFN_1 (unwrap_setlock, fnSetLock, TYPE_BOOL)
  VFN_5 (unwrap_pack, fnPack, TYPE_INT, TYPE_FLOAT, TYPE_BOOL, TYPE_BOOL, TYPE_BOOL)
  VFN_0 (unwrap_packnoparams, fnPackNoParams)
  VFN_0 (unwrap_packdialog, fnPackDialog)
  FN_0 (unwrap_gettvsubobjectmode, TYPE_INT, fnGetTVSubMode)
  VFN_1 (unwrap_settvsubobjectmode, fnSetTVSubMode, TYPE_INT)
  FN_0 (unwrap_getselectedfaces, TYPE_BITARRAY, fnGetSelectedFaces)
  VFN_1 (unwrap_selectfaces, fnSelectFaces, TYPE_BITARRAY)
  FN_1 (unwrap_isfaceselected, TYPE_BOOL, fnIsFaceSelected, TYPE_INT)
  FN_0 (unwrap_getfillmode, TYPE_INT, fnGetFillMode)
  VFN_1 (unwrap_setfillmode, fnSetFillMode, TYPE_INT)
  VFN_1 (unwrap_moveselected, fnMoveSelected, TYPE_POINT3)
  VFN_1 (unwrap_rotateselectedc, fnRotateSelected, TYPE_FLOAT)
  VFN_2 (unwrap_rotateselected, fnRotateSelected, TYPE_FLOAT, TYPE_POINT3)
  VFN_2 (unwrap_scaleselectedc, fnScaleSelected, TYPE_FLOAT, TYPE_INT)
  VFN_3 (unwrap_scaleselected, fnScaleSelected, TYPE_FLOAT, TYPE_INT, TYPE_POINT3)
  FN_0 (unwrap_getselectededges, TYPE_BITARRAY, fnGetSelectedEdges)
  VFN_1 (unwrap_selectedges, fnSelectEdges, TYPE_BITARRAY)
  FN_1 (unwrap_isedgeselected, TYPE_BOOL, fnIsEdgeSelected, TYPE_INT)
  FN_0 (unwrap_getdisplayopenedge, TYPE_BOOL, fnGetDisplayOpenEdges)
  VFN_1 (unwrap_setdisplayopenedge, fnSetDisplayOpenEdges, TYPE_BOOL)
  FN_0 (unwrap_getopenedgecolor, TYPE_POINT3, fnGetOpenEdgeColor)
  VFN_1 (unwrap_setopenedgecolor, fnSetOpenEdgeColor, TYPE_POINT3)
  FN_0 (unwrap_getuvedgemode, TYPE_BOOL, fnGetUVEdgeMode)
  VFN_1 (unwrap_setuvedgemode, fnSetUVEdgeMode, TYPE_BOOL)
  FN_0 (unwrap_getopenedgemode, TYPE_BOOL, fnGetOpenEdgeMode)
  VFN_1 (unwrap_setopenedgemode, fnSetOpenEdgeMode, TYPE_BOOL)
  VFN_0 (unwrap_uvedgeselect, fnUVEdgeSelect)
  VFN_0 (unwrap_openedgeselect, fnOpenEdgeSelect)
  VFN_0 (unwrap_selectverttoedge, fnVertToEdgeSelect)
  VFN_0 (unwrap_selectverttoface, fnVertToFaceSelect)
  VFN_0 (unwrap_selectedgetovert, fnEdgeToVertSelect)
  VFN_0 (unwrap_selectedgetoface, fnEdgeToFaceSelect)
  VFN_0 (unwrap_selectfacetovert, fnFaceToVertSelect)
  VFN_0 (unwrap_selectfacetoedge, fnFaceToEdgeSelect)
  FN_0 (unwrap_getdisplayhiddenedge, TYPE_BOOL, fnGetDisplayHiddenEdges)
  VFN_1 (unwrap_setdisplayhiddenedge, fnSetDisplayHiddenEdges, TYPE_BOOL)
  FN_0 (unwrap_gethandlecolor, TYPE_POINT3, fnGetHandleColor)
  VFN_1 (unwrap_sethandlecolor, fnSetHandleColor, TYPE_POINT3)
  FN_0 (unwrap_getfreeformmode, TYPE_BOOL, fnGetFreeFormMode)
  VFN_1 (unwrap_setfreeformmode, fnSetFreeFormMode, TYPE_BOOL)
  FN_0 (unwrap_getfreeformcolor, TYPE_POINT3, fnGetFreeFormColor)
  VFN_1 (unwrap_setfreeformcolor, fnSetFreeFormColor, TYPE_POINT3)
  VFN_3 (unwrap_scaleselectedxy, fnScaleSelectedXY, TYPE_FLOAT, TYPE_FLOAT, TYPE_POINT3)
  VFN_1 (unwrap_snappivot, fnSnapPivot, TYPE_INT)
  FN_0 (unwrap_getpivotoffset, TYPE_POINT3, fnGetPivotOffset)
  VFN_1 (unwrap_setpivotoffset, fnSetPivotOffset, TYPE_POINT3)
  FN_0 (unwrap_getselcenter, TYPE_POINT3, fnGetSelCenter)
  VFN_2 (unwrap_sketch, fnSketch, TYPE_INT_TAB, TYPE_POINT3_TAB)
  VFN_0 (unwrap_sketchnoparams, fnSketchNoParams)
  VFN_0 (unwrap_sketchdialog, fnSketchDialog)
  VFN_0 (unwrap_sketchreverse, fnSketchReverse)
  FN_0 (unwrap_gethitsize, TYPE_INT, fnGetHitSize)
  VFN_1 (unwrap_sethitsize, fnSetHitSize, TYPE_INT)
  FN_0 (unwrap_getresetpivotonsel, TYPE_BOOL, fnGetResetPivotOnSel)
  VFN_1 (unwrap_setresetpivotonsel, fnSetResetPivotOnSel, TYPE_BOOL)
  FN_0 (unwrap_getpolymode, TYPE_BOOL, fnGetPolyMode)
  VFN_1 (unwrap_setpolymode, fnSetPolyMode, TYPE_BOOL)
  VFN_0 (unwrap_polyselect, fnPolySelect)
  FN_0 (unwrap_getselectioninsidegizmo, TYPE_BOOL, fnGetAllowSelectionInsideGizmo)
  VFN_1 (unwrap_setselectioninsidegizmo, fnSetAllowSelectionInsideGizmo, TYPE_BOOL)
  VFN_0 (unwrap_setasdefaults, fnSetAsDefaults)
  VFN_0 (unwrap_loaddefaults, fnLoadDefaults)
  FN_0 (unwrap_getshowshared, TYPE_BOOL, fnGetShowShared)
  VFN_1 (unwrap_setshowshared, fnSetShowShared, TYPE_BOOL)
  FN_0 (unwrap_getsharedcolor, TYPE_POINT3, fnGetSharedColor)
  VFN_1 (unwrap_setsharedcolor, fnSetSharedColor, TYPE_POINT3)
  VFN_2 (unwrap_showicon, fnShowIcon, TYPE_INT, TYPE_BOOL)
  FN_0 (unwrap_getsyncselectionmode, TYPE_BOOL, fnGetSyncSelectionMode)
  VFN_1 (unwrap_setsyncselectionmode, fnSetSyncSelectionMode, TYPE_BOOL)
  VFN_0 (unwrap_synctvselection, fnSyncTVSelection)
  VFN_0 (unwrap_syncgeomselection, fnSyncGeomSelection)
  FN_0 (unwrap_getbackgroundcolor, TYPE_POINT3, fnGetBackgroundColor)
  VFN_1 (unwrap_setbackgroundcolor, fnSetBackgroundColor, TYPE_POINT3)
  VFN_0 (unwrap_updatemenubar, fnUpdateMenuBar)
  FN_0 (unwrap_getbrightcentertile, TYPE_BOOL, fnGetBrightCenterTile)
  VFN_1 (unwrap_setbrightcentertile, fnSetBrightCenterTile, TYPE_BOOL)
  FN_0 (unwrap_getblendtoback, TYPE_BOOL, fnGetBlendToBack)
  VFN_1 (unwrap_setblendtoback, fnSetBlendToBack, TYPE_BOOL)
  FN_0 (unwrap_getpaintmode, TYPE_BOOL, fnGetPaintMode)
  VFN_1 (unwrap_setpaintmode, fnSetPaintMode, TYPE_BOOL)
  FN_0 (unwrap_getpaintsize, TYPE_INT, fnGetPaintSize)
  VFN_1 (unwrap_setpaintsize, fnSetPaintSize, TYPE_INT)
  VFN_0 (unwrap_incpaintsize, fnIncPaintSize)
  VFN_0 (unwrap_decpaintsize, fnDecPaintSize)
  FN_0 (unwrap_getticksize, TYPE_INT, fnGetTickSize)
  VFN_1 (unwrap_setticksize, fnSetTickSize, TYPE_INT)
  FN_0 (unwrap_getgridsize, TYPE_FLOAT, fnGetGridSize)
  VFN_1 (unwrap_setgridsize, fnSetGridSize, TYPE_FLOAT)
  FN_0 (unwrap_getgridsnap, TYPE_BOOL, fnGetGridSnap)
  VFN_1 (unwrap_setgridsnap, fnSetGridSnap, TYPE_BOOL)
  FN_0 (unwrap_getgridvisible, TYPE_BOOL, fnGetGridVisible)
  VFN_1 (unwrap_setgridvisible, fnSetGridVisible, TYPE_BOOL)
  FN_0 (unwrap_getgridcolor, TYPE_POINT3, fnGetGridColor)
  VFN_1 (unwrap_setgridcolor, fnSetGridColor, TYPE_POINT3)
  FN_0 (unwrap_getgridstr, TYPE_FLOAT, fnGetGridStr)
  VFN_1 (unwrap_setgridstr, fnSetGridStr, TYPE_FLOAT)
  FN_0 (unwrap_getautomap, TYPE_BOOL, fnGetAutoMap)
  VFN_1 (unwrap_setautomap, fnSetAutoMap, TYPE_BOOL)
  FN_0 (unwrap_getflattenangle, TYPE_FLOAT, fnGetFlattenAngle)
  VFN_1 (unwrap_setflattenangle, fnSetFlattenAngle, TYPE_ANGLE)
  FN_0 (unwrap_getflattenspacing, TYPE_FLOAT, fnGetFlattenSpacing)
  VFN_1 (unwrap_setflattenspacing, fnSetFlattenSpacing, TYPE_FLOAT)
  FN_0 (unwrap_getflattennormalize, TYPE_BOOL, fnGetFlattenNormalize)
  VFN_1 (unwrap_setflattennormalize, fnSetFlattenNormalize, TYPE_BOOL)
  FN_0 (unwrap_getflattenrotate, TYPE_BOOL, fnGetFlattenRotate)
  VFN_1 (unwrap_setflattenrotate, fnSetFlattenRotate, TYPE_BOOL)
  FN_0 (unwrap_getflattenfillholes, TYPE_BOOL, fnGetFlattenFillHoles)
  VFN_1 (unwrap_setflattenfillholes, fnSetFlattenFillHoles, TYPE_BOOL)
  FN_0 (unwrap_getpreventflattening, TYPE_BOOL, fnGetPreventFlattening)
  VFN_1 (unwrap_setpreventflattening, fnSetPreventFlattening, TYPE_BOOL)
  FN_0 (unwrap_getenablesoftselection, TYPE_BOOL, fnGetEnableSoftSelection)
  VFN_1 (unwrap_setenablesoftselection, fnSetEnableSoftSelection, TYPE_BOOL)
  FN_0 (unwrap_getapplytowholeobject, TYPE_BOOL, fnGetApplyToWholeObject)
  VFN_1 (unwrap_setapplytowholeobject, fnSetApplyToWholeObject, TYPE_BOOL)
  VFN_5 (unwrap_setvertexposition2, fnSetVertexPosition2, TYPE_TIMEVALUE, TYPE_INT, TYPE_POINT3, TYPE_BOOL, TYPE_BOOL)
  VFN_4 (unwrap_relax, fnRelax, TYPE_INT, TYPE_FLOAT, TYPE_BOOL, TYPE_BOOL)
  VFN_2 (unwrap_fitrelax, fnFit, TYPE_INT, TYPE_FLOAT)
END_FUNCTION_MAP FPInterfaceDesc GetDesc ()
virtual void  fnSelectPolygonsUpdate (BitArray *sel, BOOL update)=0
virtual void  fnSelectFacesByNormal (Point3 Normal, float angleThreshold, BOOL update)=0
virtual void  fnSelectClusterByNormal (float angleThreshold, int seedIndex, BOOL relative, BOOL update)=0
virtual void  fnFlattenMap (float angleThreshold, Tab< Point3 * > *normaList, float spacing, BOOL normalize, int layoutType, BOOL rotateClusters, BOOL alignWidth)=0
virtual void  fnNormalMap (Tab< Point3 * > *normaList, float spacing, BOOL normalize, int layoutType, BOOL rotateClusters, BOOL alignWidth)=0
virtual void  fnNormalMapNoParams ()=0
virtual void  fnNormalMapDialog ()=0
virtual void  fnUnfoldSelectedPolygons (int unfoldMethod, BOOL normalize)=0
virtual void  fnUnfoldSelectedPolygonsDialog ()=0
virtual void  fnUnfoldSelectedPolygonsNoParams ()=0
virtual void  fnHideSelectedPolygons ()=0
virtual void  fnUnhideAllPolygons ()=0
virtual Point3 fnGetNormal (int index)=0
virtual void  fnSetSeedFace ()=0
virtual void  fnShowVertexConnectionList ()=0
virtual void  fnCopy ()=0
virtual void  fnPaste (BOOL rotate)=0
virtual void  fnPasteInstance ()=0
virtual void  fnSetDebugLevel (int level)=0
virtual void  fnStitchVerts (BOOL bAlign, float fBias)=0
virtual void  fnStitchVertsNoParams ()=0
virtual void  fnStitchVertsDialog ()=0
virtual void  fnSelectElement ()=0
virtual void  fnFlattenMapDialog ()=0
virtual void  fnFlattenMapNoParams ()=0
virtual BOOL  fnGetTile ()=0
virtual void  fnSetTile (BOOL tile)=0
virtual int  fnGetTileLimit ()=0
virtual void  fnSetTileLimit (int lmit)=0
virtual float  fnGetTileContrast ()=0
virtual void  fnSetTileContrast (float contrast)=0
virtual BOOL  fnGetShowMap ()=0
virtual void  fnSetShowMap (BOOL smap)=0
virtual BOOL  fnGetLimitSoftSel ()=0
virtual void  fnSetLimitSoftSel (BOOL limit)=0
virtual int  fnGetLimitSoftSelRange ()=0
virtual void  fnSetLimitSoftSelRange (int range)=0
virtual float  fnGetVertexWeight (int index)=0
virtual void  fnSetVertexWeight (int index, float weight)=0
virtual BOOL  fnIsWeightModified (int index)=0
virtual void  fnModifyWeight (int index, BOOL modified)=0
virtual BOOL  fnGetGeomElemMode ()=0
virtual void  fnSetGeomElemMode (BOOL elem)=0
virtual BOOL  fnGetGeomPlanarMode ()=0
virtual void  fnSetGeomPlanarMode (BOOL planar)=0
virtual float  fnGetGeomPlanarModeThreshold ()=0
virtual void  fnSetGeomPlanarModeThreshold (float threshold)=0
virtual int  fnGetWindowX ()=0
virtual int  fnGetWindowY ()=0
virtual int  fnGetWindowW ()=0
virtual int  fnGetWindowH ()=0
virtual BOOL  fnGetBackFaceCull ()=0
virtual void  fnSetBackFaceCull (BOOL backFaceCull)=0
virtual BOOL  fnGetOldSelMethod ()=0
virtual void  fnSetOldSelMethod (BOOL oldSelMethod)=0
virtual void  fnSelectByMatID (int matID)=0
virtual void  fnSelectBySG (int sg)=0
virtual BOOL  fnGetTVElementMode ()=0
virtual void  fnSetTVElementMode (BOOL mode)=0
virtual void  fnGeomExpandFaceSel ()=0
virtual void  fnGeomContractFaceSel ()=0
virtual BOOL  fnGetAlwaysEdit ()=0
virtual void  fnSetAlwaysEdit (BOOL always)=0
virtual BOOL  fnGetShowConnection ()=0
virtual void  fnSetShowConnection (BOOL show)=0
virtual BOOL  fnGetFilteredSelected ()=0
virtual void  fnSetFilteredSelected (BOOL filter)=0
virtual BOOL  fnGetSnap ()=0
virtual void  fnSetSnap (BOOL snap)=0
virtual BOOL  fnGetLock ()=0
virtual void  fnSetLock (BOOL snap)=0
virtual void  fnPack (int method, float spacing, BOOL normalize, BOOL rotate, BOOL fillHoles)=0
virtual void  fnPackNoParams ()=0
virtual void  fnPackDialog ()=0
virtual int  fnGetTVSubMode ()=0
virtual void  fnSetTVSubMode (int mode)=0
virtual BitArray fnGetSelectedFaces ()=0
virtual void  fnSelectFaces (BitArray *sel)=0
virtual BOOL  fnIsFaceSelected (int index)=0
virtual int  fnGetFillMode ()=0
virtual void  fnSetFillMode (int mode)=0
virtual void  fnMoveSelected (Point3 offset)=0
virtual void  fnRotateSelected (float angle)=0
virtual void  fnRotateSelected (float angle, Point3 axis)=0
virtual void  fnScaleSelected (float scale, int dir)=0
virtual void  fnScaleSelected (float scale, int dir, Point3 axis)=0
virtual BitArray fnGetSelectedEdges ()=0
virtual void  fnSelectEdges (BitArray *sel)=0
virtual BOOL  fnIsEdgeSelected (int index)=0
virtual BOOL  fnGetDisplayOpenEdges ()=0
virtual void  fnSetDisplayOpenEdges (BOOL openEdgeDisplay)=0
virtual Point3 fnGetOpenEdgeColor ()=0
virtual void  fnSetOpenEdgeColor (Point3 color)=0
virtual BOOL  fnGetUVEdgeMode ()=0
virtual void  fnSetUVEdgeMode (BOOL uvmode)=0
virtual BOOL  fnGetOpenEdgeMode ()=0
virtual void  fnSetOpenEdgeMode (BOOL uvmode)=0
virtual void  fnUVEdgeSelect ()=0
virtual void  fnOpenEdgeSelect ()=0
virtual void  fnVertToEdgeSelect ()=0
virtual void  fnVertToFaceSelect ()=0
virtual void  fnEdgeToVertSelect ()=0
virtual void  fnEdgeToFaceSelect ()=0
virtual void  fnFaceToVertSelect ()=0
virtual void  fnFaceToEdgeSelect ()=0
virtual BOOL  fnGetDisplayHiddenEdges ()=0
virtual void  fnSetDisplayHiddenEdges (BOOL hiddenEdgeDisplay)=0
virtual Point3 fnGetHandleColor ()=0
virtual void  fnSetHandleColor (Point3 color)=0
virtual BOOL  fnGetFreeFormMode ()=0
virtual void  fnSetFreeFormMode (BOOL freeFormMode)=0
virtual Point3 fnGetFreeFormColor ()=0
virtual void  fnSetFreeFormColor (Point3 color)=0
virtual void  fnScaleSelectedXY (float scaleX, float scaleY, Point3 axis)=0
virtual void  fnSnapPivot (int pos)=0
virtual Point3 fnGetPivotOffset ()=0
virtual void  fnSetPivotOffset (Point3 color)=0
virtual Point3 fnGetSelCenter ()=0
virtual void  fnSketch (Tab< int > *indexList, Tab< Point3 * > *positionList)=0
virtual void  fnSketchNoParams ()=0
virtual void  fnSketchDialog ()=0
virtual void  fnSketchReverse ()=0
virtual int  fnGetHitSize ()=0
virtual void  fnSetHitSize (int size)=0
virtual BOOL  fnGetResetPivotOnSel ()=0
virtual void  fnSetResetPivotOnSel (BOOL reset)=0
virtual BOOL  fnGetPolyMode ()=0
virtual void  fnSetPolyMode (BOOL pmode)=0
virtual void  fnPolySelect ()=0
virtual BOOL  fnGetAllowSelectionInsideGizmo ()=0
virtual void  fnSetAllowSelectionInsideGizmo (BOOL select)=0
virtual void  fnSetAsDefaults ()=0
virtual void  fnLoadDefaults ()=0
virtual void  fnSetSharedColor (Point3 color)=0
virtual Point3 fnGetSharedColor ()=0
virtual BOOL  fnGetShowShared ()=0
virtual void  fnSetShowShared (BOOL select)=0
virtual void  fnShowIcon (int icon, BOOL show)=0
virtual BOOL  fnGetSyncSelectionMode ()=0
virtual void  fnSetSyncSelectionMode (BOOL sync)=0
virtual void  fnSyncTVSelection ()=0
virtual void  fnSyncGeomSelection ()=0
virtual Point3 fnGetBackgroundColor ()=0
virtual void  fnSetBackgroundColor (Point3 color)=0
virtual void  fnUpdateMenuBar ()=0
virtual BOOL  fnGetBrightCenterTile ()=0
virtual void  fnSetBrightCenterTile (BOOL bright)=0
virtual BOOL  fnGetBlendToBack ()=0
virtual void  fnSetBlendToBack (BOOL blend)=0
virtual BOOL  fnGetPaintMode ()=0
virtual void  fnSetPaintMode (BOOL paint)=0
virtual int  fnGetPaintSize ()=0
virtual void  fnSetPaintSize (int size)=0
virtual void  fnIncPaintSize ()=0
virtual void  fnDecPaintSize ()=0
virtual int  fnGetTickSize ()=0
virtual void  fnSetTickSize (int size)=0
virtual float  fnGetGridSize ()=0
virtual void  fnSetGridSize (float size)=0
virtual BOOL  fnGetGridSnap ()=0
virtual void  fnSetGridSnap (BOOL snap)=0
virtual BOOL  fnGetGridVisible ()=0
virtual void  fnSetGridVisible (BOOL visible)=0
virtual Point3 fnGetGridColor ()=0
virtual void  fnSetGridColor (Point3 color)=0
virtual float  fnGetGridStr ()=0
virtual void  fnSetGridStr (float size)=0
virtual BOOL  fnGetAutoMap ()=0
virtual void  fnSetAutoMap (BOOL autoMap)=0
virtual float  fnGetFlattenAngle ()=0
virtual void  fnSetFlattenAngle (float angle)=0
virtual float  fnGetFlattenSpacing ()=0
virtual void  fnSetFlattenSpacing (float spacing)=0
virtual BOOL  fnGetFlattenNormalize ()=0
virtual void  fnSetFlattenNormalize (BOOL normalize)=0
virtual BOOL  fnGetFlattenRotate ()=0
virtual void  fnSetFlattenRotate (BOOL rotate)=0
virtual BOOL  fnGetFlattenFillHoles ()=0
virtual void  fnSetFlattenFillHoles (BOOL fillHoles)=0
virtual BOOL  fnGetPreventFlattening ()=0
virtual void  fnSetPreventFlattening (BOOL preventFlattening)=0
virtual BOOL  fnGetEnableSoftSelection ()=0
virtual void  fnSetEnableSoftSelection (BOOL enable)=0
virtual BOOL  fnGetApplyToWholeObject ()=0
virtual void  fnSetApplyToWholeObject (BOOL wholeObject)=0
virtual void  fnSetVertexPosition2 (TimeValue t, int index, Point3 pos, BOOL hold, BOOL update)=0
virtual void  fnRelax (int iteration, float str, BOOL lockEdges, BOOL matchArea)=0
virtual void  fnFit (int iteration, float str)=0

Member Function Documentation

BEGIN_FUNCTION_MAP VFN_2 ( unwrap_selectpolygonsupdate  ,
fnSelectPolygonsUpdate  ,
TYPE_BITARRAY  ,
TYPE_BOOL   
)
VFN_3 ( unwrap_selectfacesbynormal  ,
fnSelectFacesByNormal  ,
TYPE_POINT3  ,
TYPE_FLOAT  ,
TYPE_BOOL   
)
VFN_4 ( unwrap_selectclusterbynormal  ,
fnSelectClusterByNormal  ,
TYPE_FLOAT  ,
TYPE_INT  ,
TYPE_BOOL  ,
TYPE_BOOL   
)
VFN_7 ( unwrap_flattenmap  ,
fnFlattenMap  ,
TYPE_FLOAT  ,
TYPE_POINT3_TAB  ,
TYPE_FLOAT  ,
TYPE_BOOL  ,
TYPE_INT  ,
TYPE_BOOL  ,
TYPE_BOOL   
)
VFN_6 ( unwrap_normalmap  ,
fnNormalMap  ,
TYPE_POINT3_TAB  ,
TYPE_FLOAT  ,
TYPE_BOOL  ,
TYPE_INT  ,
TYPE_BOOL  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_normalmapnoparams  ,
fnNormalMapNoParams   
)
VFN_0 ( unwrap_normalmapdialog  ,
fnNormalMapDialog   
)
VFN_2 ( unwrap_unfoldmap  ,
fnUnfoldSelectedPolygons  ,
TYPE_INT  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_unfoldmapdialog  ,
fnUnfoldSelectedPolygonsDialog   
)
VFN_0 ( unwrap_unfoldmapnoparams  ,
fnUnfoldSelectedPolygonsNoParams   
)
VFN_0 ( unwrap_hideselectedpolygons  ,
fnHideSelectedPolygons   
)
VFN_0 ( unwrap_unhideallpolygons  ,
fnUnhideAllPolygons   
)
FN_1 ( unwrap_getnormal  ,
TYPE_POINT3  ,
fnGetNormal  ,
TYPE_INT   
)
VFN_0 ( unwrap_setseedface  ,
fnSetSeedFace   
)
VFN_0 ( unwrap_showvertexconnectionlist  ,
fnShowVertexConnectionList   
)
VFN_0 ( unwrap_copy  ,
fnCopy   
)
VFN_1 ( unwrap_paste  ,
fnPaste  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_pasteinstance  ,
fnPasteInstance   
)
VFN_1 ( unwrap_setdebuglevel  ,
fnSetDebugLevel  ,
TYPE_INT   
)
VFN_2 ( unwrap_stitchverts  ,
fnStitchVerts  ,
TYPE_BOOL  ,
TYPE_FLOAT   
)
VFN_0 ( unwrap_stitchvertsnoparams  ,
fnStitchVertsNoParams   
)
VFN_0 ( unwrap_stitchvertsdialog  ,
fnStitchVertsDialog   
)
VFN_0 ( unwrap_selectelement  ,
fnSelectElement   
)
VFN_0 ( unwrap_flattenmapdialog  ,
fnFlattenMapDialog   
)
VFN_0 ( unwrap_flattenmapnoparams  ,
fnFlattenMapNoParams   
)
FN_0 ( unwrap_gettilemap  ,
TYPE_BOOL  ,
fnGetTile   
)
VFN_1 ( unwrap_settilemap  ,
fnSetTile  ,
TYPE_BOOL   
)
FN_0 ( unwrap_gettilemaplimit  ,
TYPE_INT  ,
fnGetTileLimit   
)
VFN_1 ( unwrap_settilemaplimit  ,
fnSetTileLimit  ,
TYPE_INT   
)
FN_0 ( unwrap_gettilemapcontrast  ,
TYPE_FLOAT  ,
fnGetTileContrast   
)
VFN_1 ( unwrap_settilemapcontrast  ,
fnSetTileContrast  ,
TYPE_FLOAT   
)
FN_0 ( unwrap_getshowmap  ,
TYPE_BOOL  ,
fnGetShowMap   
)
VFN_1 ( unwrap_setshowmap  ,
fnSetShowMap  ,
TYPE_BOOL   
)
FN_0 ( unwrap_setlimitsoftsel  ,
TYPE_BOOL  ,
fnGetLimitSoftSel   
)
VFN_1 ( unwrap_getlimitsoftsel  ,
fnSetLimitSoftSel  ,
TYPE_BOOL   
)
FN_0 ( unwrap_setlimitsoftselrange  ,
TYPE_INT  ,
fnGetLimitSoftSelRange   
)
VFN_1 ( unwrap_getlimitsoftselrange  ,
fnSetLimitSoftSelRange  ,
TYPE_INT   
)
FN_1 ( unwrap_getvertexweight  ,
TYPE_FLOAT  ,
fnGetVertexWeight  ,
TYPE_INDEX   
)
VFN_2 ( unwrap_setvertexweight  ,
fnSetVertexWeight  ,
TYPE_INT  ,
TYPE_FLOAT   
)
FN_1 ( unwrap_isweightmodified  ,
TYPE_BOOL  ,
fnIsWeightModified  ,
TYPE_INT   
)
VFN_2 ( unwrap_modifyweight  ,
fnModifyWeight  ,
TYPE_INT  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getgeom_elemmode  ,
TYPE_BOOL  ,
fnGetGeomElemMode   
)
VFN_1 ( unwrap_setgeom_elemmode  ,
fnSetGeomElemMode  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getgeom_planarmode  ,
TYPE_BOOL  ,
fnGetGeomPlanarMode   
)
VFN_1 ( unwrap_setgeom_planarmode  ,
fnSetGeomPlanarMode  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getgeom_planarmodethreshold  ,
TYPE_FLOAT  ,
fnGetGeomPlanarModeThreshold   
)
VFN_1 ( unwrap_setgeom_planarmodethreshold  ,
fnSetGeomPlanarModeThreshold  ,
TYPE_FLOAT   
)
FN_0 ( unwrap_getwindowx  ,
TYPE_INT  ,
fnGetWindowX   
)
FN_0 ( unwrap_getwindowy  ,
TYPE_INT  ,
fnGetWindowY   
)
FN_0 ( unwrap_getwindoww  ,
TYPE_INT  ,
fnGetWindowW   
)
FN_0 ( unwrap_getwindowh  ,
TYPE_INT  ,
fnGetWindowH   
)
FN_0 ( unwrap_getbackfacecull  ,
TYPE_BOOL  ,
fnGetBackFaceCull   
)
VFN_1 ( unwrap_setbackfacecull  ,
fnSetBackFaceCull  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getoldselmethod  ,
TYPE_BOOL  ,
fnGetOldSelMethod   
)
VFN_1 ( unwrap_setoldselmethod  ,
fnSetOldSelMethod  ,
TYPE_BOOL   
)
VFN_1 ( unwrap_selectbymatid  ,
fnSelectByMatID  ,
TYPE_INT   
)
VFN_1 ( unwrap_selectbysg  ,
fnSelectBySG  ,
TYPE_INT   
)
FN_0 ( unwrap_gettvelementmode  ,
TYPE_BOOL  ,
fnGetTVElementMode   
)
VFN_1 ( unwrap_settvelementmode  ,
fnSetTVElementMode  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_geomexpandsel  ,
fnGeomExpandFaceSel   
)
VFN_0 ( unwrap_geomcontractsel  ,
fnGeomContractFaceSel   
)
FN_0 ( unwrap_getalwaysedit  ,
TYPE_BOOL  ,
fnGetAlwaysEdit   
)
VFN_1 ( unwrap_setalwaysedit  ,
fnSetAlwaysEdit  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getshowvertexconnectionlist  ,
TYPE_BOOL  ,
fnGetShowConnection   
)
VFN_1 ( unwrap_setshowvertexconnectionlist  ,
fnSetShowConnection  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getfilterselected  ,
TYPE_BOOL  ,
fnGetFilteredSelected   
)
VFN_1 ( unwrap_setfilterselected  ,
fnSetFilteredSelected  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getsnap  ,
TYPE_BOOL  ,
fnGetSnap   
)
VFN_1 ( unwrap_setsnap  ,
fnSetSnap  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getlock  ,
TYPE_BOOL  ,
fnGetLock   
)
VFN_1 ( unwrap_setlock  ,
fnSetLock  ,
TYPE_BOOL   
)
VFN_5 ( unwrap_pack  ,
fnPack  ,
TYPE_INT  ,
TYPE_FLOAT  ,
TYPE_BOOL  ,
TYPE_BOOL  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_packnoparams  ,
fnPackNoParams   
)
VFN_0 ( unwrap_packdialog  ,
fnPackDialog   
)
FN_0 ( unwrap_gettvsubobjectmode  ,
TYPE_INT  ,
fnGetTVSubMode   
)
VFN_1 ( unwrap_settvsubobjectmode  ,
fnSetTVSubMode  ,
TYPE_INT   
)
FN_0 ( unwrap_getselectedfaces  ,
TYPE_BITARRAY  ,
fnGetSelectedFaces   
)
VFN_1 ( unwrap_selectfaces  ,
fnSelectFaces  ,
TYPE_BITARRAY   
)
FN_1 ( unwrap_isfaceselected  ,
TYPE_BOOL  ,
fnIsFaceSelected  ,
TYPE_INT   
)
FN_0 ( unwrap_getfillmode  ,
TYPE_INT  ,
fnGetFillMode   
)
VFN_1 ( unwrap_setfillmode  ,
fnSetFillMode  ,
TYPE_INT   
)
VFN_1 ( unwrap_moveselected  ,
fnMoveSelected  ,
TYPE_POINT3   
)
VFN_1 ( unwrap_rotateselectedc  ,
fnRotateSelected  ,
TYPE_FLOAT   
)
VFN_2 ( unwrap_rotateselected  ,
fnRotateSelected  ,
TYPE_FLOAT  ,
TYPE_POINT3   
)
VFN_2 ( unwrap_scaleselectedc  ,
fnScaleSelected  ,
TYPE_FLOAT  ,
TYPE_INT   
)
VFN_3 ( unwrap_scaleselected  ,
fnScaleSelected  ,
TYPE_FLOAT  ,
TYPE_INT  ,
TYPE_POINT3   
)
FN_0 ( unwrap_getselectededges  ,
TYPE_BITARRAY  ,
fnGetSelectedEdges   
)
VFN_1 ( unwrap_selectedges  ,
fnSelectEdges  ,
TYPE_BITARRAY   
)
FN_1 ( unwrap_isedgeselected  ,
TYPE_BOOL  ,
fnIsEdgeSelected  ,
TYPE_INT   
)
FN_0 ( unwrap_getdisplayopenedge  ,
TYPE_BOOL  ,
fnGetDisplayOpenEdges   
)
VFN_1 ( unwrap_setdisplayopenedge  ,
fnSetDisplayOpenEdges  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getopenedgecolor  ,
TYPE_POINT3  ,
fnGetOpenEdgeColor   
)
VFN_1 ( unwrap_setopenedgecolor  ,
fnSetOpenEdgeColor  ,
TYPE_POINT3   
)
FN_0 ( unwrap_getuvedgemode  ,
TYPE_BOOL  ,
fnGetUVEdgeMode   
)
VFN_1 ( unwrap_setuvedgemode  ,
fnSetUVEdgeMode  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getopenedgemode  ,
TYPE_BOOL  ,
fnGetOpenEdgeMode   
)
VFN_1 ( unwrap_setopenedgemode  ,
fnSetOpenEdgeMode  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_uvedgeselect  ,
fnUVEdgeSelect   
)
VFN_0 ( unwrap_openedgeselect  ,
fnOpenEdgeSelect   
)
VFN_0 ( unwrap_selectverttoedge  ,
fnVertToEdgeSelect   
)
VFN_0 ( unwrap_selectverttoface  ,
fnVertToFaceSelect   
)
VFN_0 ( unwrap_selectedgetovert  ,
fnEdgeToVertSelect   
)
VFN_0 ( unwrap_selectedgetoface  ,
fnEdgeToFaceSelect   
)
VFN_0 ( unwrap_selectfacetovert  ,
fnFaceToVertSelect   
)
VFN_0 ( unwrap_selectfacetoedge  ,
fnFaceToEdgeSelect   
)
FN_0 ( unwrap_getdisplayhiddenedge  ,
TYPE_BOOL  ,
fnGetDisplayHiddenEdges   
)
VFN_1 ( unwrap_setdisplayhiddenedge  ,
fnSetDisplayHiddenEdges  ,
TYPE_BOOL   
)
FN_0 ( unwrap_gethandlecolor  ,
TYPE_POINT3  ,
fnGetHandleColor   
)
VFN_1 ( unwrap_sethandlecolor  ,
fnSetHandleColor  ,
TYPE_POINT3   
)
FN_0 ( unwrap_getfreeformmode  ,
TYPE_BOOL  ,
fnGetFreeFormMode   
)
VFN_1 ( unwrap_setfreeformmode  ,
fnSetFreeFormMode  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getfreeformcolor  ,
TYPE_POINT3  ,
fnGetFreeFormColor   
)
VFN_1 ( unwrap_setfreeformcolor  ,
fnSetFreeFormColor  ,
TYPE_POINT3   
)
VFN_3 ( unwrap_scaleselectedxy  ,
fnScaleSelectedXY  ,
TYPE_FLOAT  ,
TYPE_FLOAT  ,
TYPE_POINT3   
)
VFN_1 ( unwrap_snappivot  ,
fnSnapPivot  ,
TYPE_INT   
)
FN_0 ( unwrap_getpivotoffset  ,
TYPE_POINT3  ,
fnGetPivotOffset   
)
VFN_1 ( unwrap_setpivotoffset  ,
fnSetPivotOffset  ,
TYPE_POINT3   
)
FN_0 ( unwrap_getselcenter  ,
TYPE_POINT3  ,
fnGetSelCenter   
)
VFN_2 ( unwrap_sketch  ,
fnSketch  ,
TYPE_INT_TAB  ,
TYPE_POINT3_TAB   
)
VFN_0 ( unwrap_sketchnoparams  ,
fnSketchNoParams   
)
VFN_0 ( unwrap_sketchdialog  ,
fnSketchDialog   
)
VFN_0 ( unwrap_sketchreverse  ,
fnSketchReverse   
)
FN_0 ( unwrap_gethitsize  ,
TYPE_INT  ,
fnGetHitSize   
)
VFN_1 ( unwrap_sethitsize  ,
fnSetHitSize  ,
TYPE_INT   
)
FN_0 ( unwrap_getresetpivotonsel  ,
TYPE_BOOL  ,
fnGetResetPivotOnSel   
)
VFN_1 ( unwrap_setresetpivotonsel  ,
fnSetResetPivotOnSel  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getpolymode  ,
TYPE_BOOL  ,
fnGetPolyMode   
)
VFN_1 ( unwrap_setpolymode  ,
fnSetPolyMode  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_polyselect  ,
fnPolySelect   
)
FN_0 ( unwrap_getselectioninsidegizmo  ,
TYPE_BOOL  ,
fnGetAllowSelectionInsideGizmo   
)
VFN_1 ( unwrap_setselectioninsidegizmo  ,
fnSetAllowSelectionInsideGizmo  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_setasdefaults  ,
fnSetAsDefaults   
)
VFN_0 ( unwrap_loaddefaults  ,
fnLoadDefaults   
)
FN_0 ( unwrap_getshowshared  ,
TYPE_BOOL  ,
fnGetShowShared   
)
VFN_1 ( unwrap_setshowshared  ,
fnSetShowShared  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getsharedcolor  ,
TYPE_POINT3  ,
fnGetSharedColor   
)
VFN_1 ( unwrap_setsharedcolor  ,
fnSetSharedColor  ,
TYPE_POINT3   
)
VFN_2 ( unwrap_showicon  ,
fnShowIcon  ,
TYPE_INT  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getsyncselectionmode  ,
TYPE_BOOL  ,
fnGetSyncSelectionMode   
)
VFN_1 ( unwrap_setsyncselectionmode  ,
fnSetSyncSelectionMode  ,
TYPE_BOOL   
)
VFN_0 ( unwrap_synctvselection  ,
fnSyncTVSelection   
)
VFN_0 ( unwrap_syncgeomselection  ,
fnSyncGeomSelection   
)
FN_0 ( unwrap_getbackgroundcolor  ,
TYPE_POINT3  ,
fnGetBackgroundColor   
)
VFN_1 ( unwrap_setbackgroundcolor  ,
fnSetBackgroundColor  ,
TYPE_POINT3   
)
VFN_0 ( unwrap_updatemenubar  ,
fnUpdateMenuBar   
)
FN_0 ( unwrap_getbrightcentertile  ,
TYPE_BOOL  ,
fnGetBrightCenterTile   
)
VFN_1 ( unwrap_setbrightcentertile  ,
fnSetBrightCenterTile  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getblendtoback  ,
TYPE_BOOL  ,
fnGetBlendToBack   
)
VFN_1 ( unwrap_setblendtoback  ,
fnSetBlendToBack  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getpaintmode  ,
TYPE_BOOL  ,
fnGetPaintMode   
)
VFN_1 ( unwrap_setpaintmode  ,
fnSetPaintMode  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getpaintsize  ,
TYPE_INT  ,
fnGetPaintSize   
)
VFN_1 ( unwrap_setpaintsize  ,
fnSetPaintSize  ,
TYPE_INT   
)
VFN_0 ( unwrap_incpaintsize  ,
fnIncPaintSize   
)
VFN_0 ( unwrap_decpaintsize  ,
fnDecPaintSize   
)
FN_0 ( unwrap_getticksize  ,
TYPE_INT  ,
fnGetTickSize   
)
VFN_1 ( unwrap_setticksize  ,
fnSetTickSize  ,
TYPE_INT   
)
FN_0 ( unwrap_getgridsize  ,
TYPE_FLOAT  ,
fnGetGridSize   
)
VFN_1 ( unwrap_setgridsize  ,
fnSetGridSize  ,
TYPE_FLOAT   
)
FN_0 ( unwrap_getgridsnap  ,
TYPE_BOOL  ,
fnGetGridSnap   
)
VFN_1 ( unwrap_setgridsnap  ,
fnSetGridSnap  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getgridvisible  ,
TYPE_BOOL  ,
fnGetGridVisible   
)
VFN_1 ( unwrap_setgridvisible  ,
fnSetGridVisible  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getgridcolor  ,
TYPE_POINT3  ,
fnGetGridColor   
)
VFN_1 ( unwrap_setgridcolor  ,
fnSetGridColor  ,
TYPE_POINT3   
)
FN_0 ( unwrap_getgridstr  ,
TYPE_FLOAT  ,
fnGetGridStr   
)
VFN_1 ( unwrap_setgridstr  ,
fnSetGridStr  ,
TYPE_FLOAT   
)
FN_0 ( unwrap_getautomap  ,
TYPE_BOOL  ,
fnGetAutoMap   
)
VFN_1 ( unwrap_setautomap  ,
fnSetAutoMap  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getflattenangle  ,
TYPE_FLOAT  ,
fnGetFlattenAngle   
)
VFN_1 ( unwrap_setflattenangle  ,
fnSetFlattenAngle  ,
TYPE_ANGLE   
)
FN_0 ( unwrap_getflattenspacing  ,
TYPE_FLOAT  ,
fnGetFlattenSpacing   
)
VFN_1 ( unwrap_setflattenspacing  ,
fnSetFlattenSpacing  ,
TYPE_FLOAT   
)
FN_0 ( unwrap_getflattennormalize  ,
TYPE_BOOL  ,
fnGetFlattenNormalize   
)
VFN_1 ( unwrap_setflattennormalize  ,
fnSetFlattenNormalize  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getflattenrotate  ,
TYPE_BOOL  ,
fnGetFlattenRotate   
)
VFN_1 ( unwrap_setflattenrotate  ,
fnSetFlattenRotate  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getflattenfillholes  ,
TYPE_BOOL  ,
fnGetFlattenFillHoles   
)
VFN_1 ( unwrap_setflattenfillholes  ,
fnSetFlattenFillHoles  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getpreventflattening  ,
TYPE_BOOL  ,
fnGetPreventFlattening   
)
VFN_1 ( unwrap_setpreventflattening  ,
fnSetPreventFlattening  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getenablesoftselection  ,
TYPE_BOOL  ,
fnGetEnableSoftSelection   
)
VFN_1 ( unwrap_setenablesoftselection  ,
fnSetEnableSoftSelection  ,
TYPE_BOOL   
)
FN_0 ( unwrap_getapplytowholeobject  ,
TYPE_BOOL  ,
fnGetApplyToWholeObject   
)
VFN_1 ( unwrap_setapplytowholeobject  ,
fnSetApplyToWholeObject  ,
TYPE_BOOL   
)
VFN_5 ( unwrap_setvertexposition2  ,
fnSetVertexPosition2  ,
TYPE_TIMEVALUE  ,
TYPE_INT  ,
TYPE_POINT3  ,
TYPE_BOOL  ,
TYPE_BOOL   
)
VFN_4 ( unwrap_relax  ,
fnRelax  ,
TYPE_INT  ,
TYPE_FLOAT  ,
TYPE_BOOL  ,
TYPE_BOOL   
)
VFN_2 ( unwrap_fitrelax  ,
fnFit  ,
TYPE_INT  ,
TYPE_FLOAT   
)
END_FUNCTION_MAP FPInterfaceDesc* GetDesc ( ) [virtual]
Remarks:
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

virtual void fnSelectPolygonsUpdate ( BitArray sel,
BOOL  update 
) [pure virtual]
virtual void fnSelectFacesByNormal ( Point3  Normal,
float  angleThreshold,
BOOL  update 
) [pure virtual]
virtual void fnSelectClusterByNormal ( float  angleThreshold,
int  seedIndex,
BOOL  relative,
BOOL  update 
) [pure virtual]
virtual void fnFlattenMap ( float  angleThreshold,
Tab< Point3 * > *  normaList,
float  spacing,
BOOL  normalize,
int  layoutType,
BOOL  rotateClusters,
BOOL  alignWidth 
) [pure virtual]
virtual void fnNormalMap ( Tab< Point3 * > *  normaList,
float  spacing,
BOOL  normalize,
int  layoutType,
BOOL  rotateClusters,
BOOL  alignWidth 
) [pure virtual]
virtual void fnNormalMapNoParams ( ) [pure virtual]
virtual void fnNormalMapDialog ( ) [pure virtual]
virtual void fnUnfoldSelectedPolygons ( int  unfoldMethod,
BOOL  normalize 
) [pure virtual]
virtual void fnUnfoldSelectedPolygonsDialog ( ) [pure virtual]
virtual void fnUnfoldSelectedPolygonsNoParams ( ) [pure virtual]
virtual void fnHideSelectedPolygons ( ) [pure virtual]
virtual void fnUnhideAllPolygons ( ) [pure virtual]
virtual Point3* fnGetNormal ( int  index ) [pure virtual]
virtual void fnSetSeedFace ( ) [pure virtual]
virtual void fnShowVertexConnectionList ( ) [pure virtual]
virtual void fnCopy ( ) [pure virtual]
virtual void fnPaste ( BOOL  rotate ) [pure virtual]
virtual void fnPasteInstance ( ) [pure virtual]
virtual void fnSetDebugLevel ( int  level ) [pure virtual]
virtual void fnStitchVerts ( BOOL  bAlign,
float  fBias 
) [pure virtual]
virtual void fnStitchVertsNoParams ( ) [pure virtual]
virtual void fnStitchVertsDialog ( ) [pure virtual]
virtual void fnSelectElement ( ) [pure virtual]
virtual void fnFlattenMapDialog ( ) [pure virtual]
virtual void fnFlattenMapNoParams ( ) [pure virtual]
virtual BOOL fnGetTile ( ) [pure virtual]
virtual void fnSetTile ( BOOL  tile ) [pure virtual]
virtual int fnGetTileLimit ( ) [pure virtual]
virtual void fnSetTileLimit ( int  lmit ) [pure virtual]
virtual float fnGetTileContrast ( ) [pure virtual]
virtual void fnSetTileContrast ( float  contrast ) [pure virtual]
virtual BOOL fnGetShowMap ( ) [pure virtual]
virtual void fnSetShowMap ( BOOL  smap ) [pure virtual]
virtual BOOL fnGetLimitSoftSel ( ) [pure virtual]
virtual void fnSetLimitSoftSel ( BOOL  limit ) [pure virtual]
virtual int fnGetLimitSoftSelRange ( ) [pure virtual]
virtual void fnSetLimitSoftSelRange ( int  range ) [pure virtual]
virtual float fnGetVertexWeight ( int  index ) [pure virtual]
virtual void fnSetVertexWeight ( int  index,
float  weight 
) [pure virtual]
virtual BOOL fnIsWeightModified ( int  index ) [pure virtual]
virtual void fnModifyWeight ( int  index,
BOOL  modified 
) [pure virtual]
virtual BOOL fnGetGeomElemMode ( ) [pure virtual]
virtual void fnSetGeomElemMode ( BOOL  elem ) [pure virtual]
virtual BOOL fnGetGeomPlanarMode ( ) [pure virtual]
virtual void fnSetGeomPlanarMode ( BOOL  planar ) [pure virtual]
virtual float fnGetGeomPlanarModeThreshold ( ) [pure virtual]
virtual void fnSetGeomPlanarModeThreshold ( float  threshold ) [pure virtual]
virtual int fnGetWindowX ( ) [pure virtual]
virtual int fnGetWindowY ( ) [pure virtual]
virtual int fnGetWindowW ( ) [pure virtual]
virtual int fnGetWindowH ( ) [pure virtual]
virtual BOOL fnGetBackFaceCull ( ) [pure virtual]
virtual void fnSetBackFaceCull ( BOOL  backFaceCull ) [pure virtual]
virtual BOOL fnGetOldSelMethod ( ) [pure virtual]
virtual void fnSetOldSelMethod ( BOOL  oldSelMethod ) [pure virtual]
virtual void fnSelectByMatID ( int  matID ) [pure virtual]
virtual void fnSelectBySG ( int  sg ) [pure virtual]
virtual BOOL fnGetTVElementMode ( ) [pure virtual]
virtual void fnSetTVElementMode ( BOOL  mode ) [pure virtual]
virtual void fnGeomExpandFaceSel ( ) [pure virtual]
virtual void fnGeomContractFaceSel ( ) [pure virtual]
virtual BOOL fnGetAlwaysEdit ( ) [pure virtual]
virtual void fnSetAlwaysEdit ( BOOL  always ) [pure virtual]
virtual BOOL fnGetShowConnection ( ) [pure virtual]
virtual void fnSetShowConnection ( BOOL  show ) [pure virtual]
virtual BOOL fnGetFilteredSelected ( ) [pure virtual]
virtual void fnSetFilteredSelected ( BOOL  filter ) [pure virtual]
virtual BOOL fnGetSnap ( ) [pure virtual]
virtual void fnSetSnap ( BOOL  snap ) [pure virtual]
virtual BOOL fnGetLock ( ) [pure virtual]
virtual void fnSetLock ( BOOL  snap ) [pure virtual]
virtual void fnPack ( int  method,
float  spacing,
BOOL  normalize,
BOOL  rotate,
BOOL  fillHoles 
) [pure virtual]
virtual void fnPackNoParams ( ) [pure virtual]
virtual void fnPackDialog ( ) [pure virtual]
virtual int fnGetTVSubMode ( ) [pure virtual]
virtual void fnSetTVSubMode ( int  mode ) [pure virtual]
virtual BitArray* fnGetSelectedFaces ( ) [pure virtual]
virtual void fnSelectFaces ( BitArray sel ) [pure virtual]
virtual BOOL fnIsFaceSelected ( int  index ) [pure virtual]
virtual int fnGetFillMode ( ) [pure virtual]
virtual void fnSetFillMode ( int  mode ) [pure virtual]
virtual void fnMoveSelected ( Point3  offset ) [pure virtual]
virtual void fnRotateSelected ( float  angle ) [pure virtual]
virtual void fnRotateSelected ( float  angle,
Point3  axis 
) [pure virtual]
virtual void fnScaleSelected ( float  scale,
int  dir 
) [pure virtual]
virtual void fnScaleSelected ( float  scale,
int  dir,
Point3  axis 
) [pure virtual]
virtual BitArray* fnGetSelectedEdges ( ) [pure virtual]
virtual void fnSelectEdges ( BitArray sel ) [pure virtual]
virtual BOOL fnIsEdgeSelected ( int  index ) [pure virtual]
virtual BOOL fnGetDisplayOpenEdges ( ) [pure virtual]
virtual void fnSetDisplayOpenEdges ( BOOL  openEdgeDisplay ) [pure virtual]
virtual Point3* fnGetOpenEdgeColor ( ) [pure virtual]
virtual void fnSetOpenEdgeColor ( Point3  color ) [pure virtual]
virtual BOOL fnGetUVEdgeMode ( ) [pure virtual]
virtual void fnSetUVEdgeMode ( BOOL  uvmode ) [pure virtual]
virtual BOOL fnGetOpenEdgeMode ( ) [pure virtual]
virtual void fnSetOpenEdgeMode ( BOOL  uvmode ) [pure virtual]
virtual void fnUVEdgeSelect ( ) [pure virtual]
virtual void fnOpenEdgeSelect ( ) [pure virtual]
virtual void fnVertToEdgeSelect ( ) [pure virtual]
virtual void fnVertToFaceSelect ( ) [pure virtual]
virtual void fnEdgeToVertSelect ( ) [pure virtual]
virtual void fnEdgeToFaceSelect ( ) [pure virtual]
virtual void fnFaceToVertSelect ( ) [pure virtual]
virtual void fnFaceToEdgeSelect ( ) [pure virtual]
virtual BOOL fnGetDisplayHiddenEdges ( ) [pure virtual]
virtual void fnSetDisplayHiddenEdges ( BOOL  hiddenEdgeDisplay ) [pure virtual]
virtual Point3* fnGetHandleColor ( ) [pure virtual]
virtual void fnSetHandleColor ( Point3  color ) [pure virtual]
virtual BOOL fnGetFreeFormMode ( ) [pure virtual]
virtual void fnSetFreeFormMode ( BOOL  freeFormMode ) [pure virtual]
virtual Point3* fnGetFreeFormColor ( ) [pure virtual]
virtual void fnSetFreeFormColor ( Point3  color ) [pure virtual]
virtual void fnScaleSelectedXY ( float  scaleX,
float  scaleY,
Point3  axis 
) [pure virtual]
virtual void fnSnapPivot ( int  pos ) [pure virtual]
virtual Point3* fnGetPivotOffset ( ) [pure virtual]
virtual void fnSetPivotOffset ( Point3  color ) [pure virtual]
virtual Point3* fnGetSelCenter ( ) [pure virtual]
virtual void fnSketch ( Tab< int > *  indexList,
Tab< Point3 * > *  positionList 
) [pure virtual]
virtual void fnSketchNoParams ( ) [pure virtual]
virtual void fnSketchDialog ( ) [pure virtual]
virtual void fnSketchReverse ( ) [pure virtual]
virtual int fnGetHitSize ( ) [pure virtual]
virtual void fnSetHitSize ( int  size ) [pure virtual]
virtual BOOL fnGetResetPivotOnSel ( ) [pure virtual]
virtual void fnSetResetPivotOnSel ( BOOL  reset ) [pure virtual]
virtual BOOL fnGetPolyMode ( ) [pure virtual]
virtual void fnSetPolyMode ( BOOL  pmode ) [pure virtual]
virtual void fnPolySelect ( ) [pure virtual]
virtual BOOL fnGetAllowSelectionInsideGizmo ( ) [pure virtual]
virtual void fnSetAllowSelectionInsideGizmo ( BOOL  select ) [pure virtual]
virtual void fnSetAsDefaults ( ) [pure virtual]
virtual void fnLoadDefaults ( ) [pure virtual]
virtual void fnSetSharedColor ( Point3  color ) [pure virtual]
virtual Point3* fnGetSharedColor ( ) [pure virtual]
virtual BOOL fnGetShowShared ( ) [pure virtual]
virtual void fnSetShowShared ( BOOL  select ) [pure virtual]
virtual void fnShowIcon ( int  icon,
BOOL  show 
) [pure virtual]
virtual BOOL fnGetSyncSelectionMode ( ) [pure virtual]
virtual void fnSetSyncSelectionMode ( BOOL  sync ) [pure virtual]
virtual void fnSyncTVSelection ( ) [pure virtual]
virtual void fnSyncGeomSelection ( ) [pure virtual]
virtual Point3* fnGetBackgroundColor ( ) [pure virtual]
virtual void fnSetBackgroundColor ( Point3  color ) [pure virtual]
virtual void fnUpdateMenuBar ( ) [pure virtual]
virtual BOOL fnGetBrightCenterTile ( ) [pure virtual]
virtual void fnSetBrightCenterTile ( BOOL  bright ) [pure virtual]
virtual BOOL fnGetBlendToBack ( ) [pure virtual]
virtual void fnSetBlendToBack ( BOOL  blend ) [pure virtual]
virtual BOOL fnGetPaintMode ( ) [pure virtual]
virtual void fnSetPaintMode ( BOOL  paint ) [pure virtual]
virtual int fnGetPaintSize ( ) [pure virtual]
virtual void fnSetPaintSize ( int  size ) [pure virtual]
virtual void fnIncPaintSize ( ) [pure virtual]
virtual void fnDecPaintSize ( ) [pure virtual]
virtual int fnGetTickSize ( ) [pure virtual]
virtual void fnSetTickSize ( int  size ) [pure virtual]
virtual float fnGetGridSize ( ) [pure virtual]
virtual void fnSetGridSize ( float  size ) [pure virtual]
virtual BOOL fnGetGridSnap ( ) [pure virtual]
virtual void fnSetGridSnap ( BOOL  snap ) [pure virtual]
virtual BOOL fnGetGridVisible ( ) [pure virtual]
virtual void fnSetGridVisible ( BOOL  visible ) [pure virtual]
virtual Point3* fnGetGridColor ( ) [pure virtual]
virtual void fnSetGridColor ( Point3  color ) [pure virtual]
virtual float fnGetGridStr ( ) [pure virtual]
virtual void fnSetGridStr ( float  size ) [pure virtual]
virtual BOOL fnGetAutoMap ( ) [pure virtual]
virtual void fnSetAutoMap ( BOOL  autoMap ) [pure virtual]
virtual float fnGetFlattenAngle ( ) [pure virtual]
virtual void fnSetFlattenAngle ( float  angle ) [pure virtual]
virtual float fnGetFlattenSpacing ( ) [pure virtual]
virtual void fnSetFlattenSpacing ( float  spacing ) [pure virtual]
virtual BOOL fnGetFlattenNormalize ( ) [pure virtual]
virtual void fnSetFlattenNormalize ( BOOL  normalize ) [pure virtual]
virtual BOOL fnGetFlattenRotate ( ) [pure virtual]
virtual void fnSetFlattenRotate ( BOOL  rotate ) [pure virtual]
virtual BOOL fnGetFlattenFillHoles ( ) [pure virtual]
virtual void fnSetFlattenFillHoles ( BOOL  fillHoles ) [pure virtual]
virtual BOOL fnGetPreventFlattening ( ) [pure virtual]
virtual void fnSetPreventFlattening ( BOOL  preventFlattening ) [pure virtual]
virtual BOOL fnGetEnableSoftSelection ( ) [pure virtual]
virtual void fnSetEnableSoftSelection ( BOOL  enable ) [pure virtual]
virtual BOOL fnGetApplyToWholeObject ( ) [pure virtual]
virtual void fnSetApplyToWholeObject ( BOOL  wholeObject ) [pure virtual]
virtual void fnSetVertexPosition2 ( TimeValue  t,
int  index,
Point3  pos,
BOOL  hold,
BOOL  update 
) [pure virtual]
virtual void fnRelax ( int  iteration,
float  str,
BOOL  lockEdges,
BOOL  matchArea 
) [pure virtual]
virtual void fnFit ( int  iteration,
float  str 
) [pure virtual]

IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2
IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2 IUnwrapMod2