3ds Max C++ API Reference
IUnwrapMod4 Class Referenceabstract

#include <iunwrap.h>

+ Inheritance diagram for IUnwrapMod4:

Public Member Functions

 FN_0 (unwrap_getthickopenedges, TYPE_BOOL, fnGetThickOpenEdges)
 
 VFN_1 (unwrap_setthickopenedges, fnSetThickOpenEdges, TYPE_BOOL)
 
 FN_0 (unwrap_getviewportopenedges, TYPE_BOOL, fnGetViewportOpenEdges)
 
 VFN_1 (unwrap_setviewportopenedges, fnSetViewportOpenEdges, TYPE_BOOL)
 
 VFN_0 (unwrap_selectinvertedfaces, fnSelectInvertedFaces)
 
 FN_0 (unwrap_getrelativetypein, TYPE_BOOL, fnGetRelativeTypeInMode)
 
 VFN_1 (unwrap_setrelativetypein, fnSetRelativeTypeInMode, TYPE_BOOL)
 
 VFN_3 (unwrap_stitchverts2, fnStitchVerts2, TYPE_BOOL, TYPE_FLOAT, TYPE_BOOL)
 
 VFN_1 (unwrap_addmap, fnAddMap, TYPE_TEXMAP)
 
 VFN_6 (unwrap_flattenmapbymatid, fnFlattenMapByMatID, TYPE_FLOAT, TYPE_FLOAT, TYPE_BOOL, TYPE_INT, TYPE_BOOL, TYPE_BOOL)
 
 VFN_7 (unwrap_getarea, fnGetArea, TYPE_BITARRAY, TYPE_FLOAT_BR, TYPE_FLOAT_BR, TYPE_FLOAT_BR, TYPE_FLOAT_BR, TYPE_FLOAT_BR, TYPE_FLOAT_BR)
 
 FN_0 (unwrap_getrotationsrespectaspect, TYPE_BOOL, fnGetRotationsRespectAspect)
 
 VFN_1 (unwrap_setrotationsrespectaspect, fnSetRotationsRespectAspect, TYPE_BOOL)
 
 VFN_1 (unwrap_setmax5flatten, fnSetMax5Flatten, TYPE_BOOL)
 
FPInterfaceDescGetDesc ()
 
virtual BOOL fnGetThickOpenEdges ()=0
 
virtual void fnSetThickOpenEdges (BOOL thick)=0
 
virtual BOOL fnGetViewportOpenEdges ()=0
 
virtual void fnSetViewportOpenEdges (BOOL thick)=0
 
virtual void fnSelectInvertedFaces ()=0
 
virtual BOOL fnGetRelativeTypeInMode ()=0
 
virtual void fnSetRelativeTypeInMode (BOOL absolute)=0
 
virtual void fnStitchVerts2 (BOOL bAlign, float fBias, BOOL bScale)=0
 
virtual void fnAddMap (Texmap *map)=0
 
virtual void fnFlattenMapByMatID (float angleThreshold, float spacing, BOOL normalize, int layoutType, BOOL rotateClusters, BOOL alignWidth)=0
 
virtual void fnGetArea (BitArray *faceSelection, float &x, float &y, float &width, float &height, float &uvArea, float &geomArea)=0
 
virtual BOOL fnGetRotationsRespectAspect ()=0
 
virtual void fnSetRotationsRespectAspect (BOOL respect)=0
 
virtual void fnSetMax5Flatten (BOOL like5)=0
 
- Public Member Functions inherited from FPMixinInterface
 FPMixinInterface ()
 
virtual LifetimeType LifetimeControl ()
 
virtual CoreExport bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
CoreExport ~FPMixinInterface ()
 
virtual BaseInterfaceGetInterface (Interface_ID id)
 
virtual FPInterfaceDescGetDescByID (Interface_ID id)
 
virtual Interface_ID GetID ()
 
- Public Member Functions inherited from FPInterface
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t=0, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPParams *params)
 
virtual CoreExport FPStatus Invoke (FunctionID fid, TimeValue t, FPValue &result, FPParams *params=NULL)
 
virtual FPStatus Invoke (FunctionID fid, FPValue &result, FPParams *params=NULL)
 
virtual CoreExport FunctionID FindFn (const MCHAR *name)
 
virtual CoreExport BOOL IsEnabled (FunctionID actionID)
 
virtual CoreExport BOOL IsChecked (FunctionID actionID)
 
virtual CoreExport BOOL IsVisible (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsEnabled (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsChecked (FunctionID actionID)
 
virtual CoreExport FunctionID GetIsVisible (FunctionID actionID)
 
virtual ActionTableGetActionTable ()
 
virtual void EnableActions (BOOL onOff)
 
- Public Member Functions inherited from BaseInterface
virtual UtilExport ~BaseInterface ()
 Destructor. More...
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=NULL)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
template<class InterfaceType >
InterfaceType * GetTypedInterface ()
 

Additional Inherited Members

- Public Types inherited from BaseInterface
enum  LifetimeType { noRelease , immediateRelease , wantsRelease , serverControlled }
 
- 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...
 
- Static Public Attributes inherited from FPInterface
static CoreExport FPInterfaceDesc nullInterface
 
- Protected Member Functions inherited from FPMixinInterface
 FPMixinInterface (const FPMixinInterface &rhs)
 
FPMixinInterfaceoperator= (const FPMixinInterface &rhs)
 
- Protected Member Functions inherited from FPInterface
virtual FPStatus _dispatch_fn (FunctionID fid, TimeValue t, FPValue &result, FPParams *p)
 
- Protected Attributes inherited from FPMixinInterface
Tab< InterfaceNotifyCallback * > * interfaceNotifyCBs
 

Member Function Documentation

◆ FN_0() [1/4]

◆ VFN_1() [1/6]

◆ FN_0() [2/4]

◆ VFN_1() [2/6]

◆ VFN_0()

◆ FN_0() [3/4]

◆ VFN_1() [3/6]

◆ VFN_3()

◆ VFN_1() [4/6]

VFN_1 ( unwrap_addmap  ,
fnAddMap  ,
TYPE_TEXMAP   
)

◆ VFN_6()

◆ VFN_7()

◆ FN_0() [4/4]

◆ VFN_1() [5/6]

◆ VFN_1() [6/6]

◆ GetDesc()

FPInterfaceDesc* GetDesc ( )
virtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

◆ fnGetThickOpenEdges()

virtual BOOL fnGetThickOpenEdges ( )
pure virtual
Remarks
Returns whether we are in thin and thick viewport open edge display.
Returns
true if we are in thick edge display mode

◆ fnSetThickOpenEdges()

virtual void fnSetThickOpenEdges ( BOOL  thick)
pure virtual
Remarks
let you toggle between thin and thick viewport open edge display.
Parameters
thick- if true, display thick edges

◆ fnGetViewportOpenEdges()

virtual BOOL fnGetViewportOpenEdges ( )
pure virtual

◆ fnSetViewportOpenEdges()

virtual void fnSetViewportOpenEdges ( BOOL  thick)
pure virtual

◆ fnSelectInvertedFaces()

virtual void fnSelectInvertedFaces ( )
pure virtual
Remarks
Select the inverted faces

◆ fnGetRelativeTypeInMode()

virtual BOOL fnGetRelativeTypeInMode ( )
pure virtual
Remarks
The getter for the Relative toggle for the typeins
Returns
the state of the relateive toggle for the typeins

◆ fnSetRelativeTypeInMode()

virtual void fnSetRelativeTypeInMode ( BOOL  absolute)
pure virtual
Remarks
The setter for the Relative toggle for the typeins
Parameters
absolute- If true, disable the relative toggle for the typeins

◆ fnStitchVerts2()

virtual void fnStitchVerts2 ( BOOL  bAlign,
float  fBias,
BOOL  bScale 
)
pure virtual
Remarks
A stitch function which includes the option to match the scale of the clusters

◆ fnAddMap()

virtual void fnAddMap ( Texmap map)
pure virtual
Remarks
Gives the user access to add maps to the map drop down through script

◆ fnFlattenMapByMatID()

virtual void fnFlattenMapByMatID ( float  angleThreshold,
float  spacing,
BOOL  normalize,
int  layoutType,
BOOL  rotateClusters,
BOOL  alignWidth 
)
pure virtual
Remarks
A flatten which separates and flattens an object based on its matID.

◆ fnGetArea()

virtual void fnGetArea ( BitArray faceSelection,
float &  x,
float &  y,
float &  width,
float &  height,
float &  uvArea,
float &  geomArea 
)
pure virtual
Remarks
returns the area of a selection of faces

◆ fnGetRotationsRespectAspect()

virtual BOOL fnGetRotationsRespectAspect ( )
pure virtual
Remarks
The getter for the Respect Aspect ratio option. This option determines how things get rotated on non-square bitmaps

◆ fnSetRotationsRespectAspect()

virtual void fnSetRotationsRespectAspect ( BOOL  respect)
pure virtual
Remarks
The setter for the Respect Aspect ratio option. This options determines how things get rotated on non-square bitmaps

◆ fnSetMax5Flatten()

virtual void fnSetMax5Flatten ( BOOL  like5)
pure virtual
Remarks
Forces the flatten algorithm to act like the Max5 version.
Parameters
like5- if true, the flatten algorithm will act like the Max5 version