3ds Max C++ API Reference
Loading...
Searching...
No Matches
IUnwrapMod3 Class Referenceabstract

This class is only available in Max 6.0 and higher. More...

#include <iunwrap.h>

+ Inheritance diagram for IUnwrapMod3:

Public Member Functions

 FN_0 (unwrap_getautobackground, TYPE_BOOL, fnGetAutoBackground)
 
 VFN_1 (unwrap_setautobackground, fnSetAutoBackground, TYPE_BOOL)
 
 FN_0 (unwrap_getrelaxamount, TYPE_FLOAT, fnGetRelaxAmount)
 
 VFN_1 (unwrap_setrelaxamount, fnSetRelaxAmount, TYPE_FLOAT)
 
 FN_0 (unwrap_getrelaxiter, TYPE_INT, fnGetRelaxIter)
 
 VFN_1 (unwrap_setrelaxiter, fnSetRelaxIter, TYPE_INT)
 
 FN_0 (unwrap_getrelaxboundary, TYPE_BOOL, fnGetRelaxBoundary)
 
 VFN_1 (unwrap_setrelaxboundary, fnSetRelaxBoundary, TYPE_BOOL)
 
 FN_0 (unwrap_getrelaxsaddle, TYPE_BOOL, fnGetRelaxSaddle)
 
 VFN_1 (unwrap_setrelaxsaddle, fnSetRelaxSaddle, TYPE_BOOL)
 
 VFN_0 (unwrap_relax2, fnRelax2)
 
 VFN_0 (unwrap_relax2dialog, fnRelax2Dialog)
 
FPInterfaceDescGetDesc ()
 
virtual BOOL fnGetAutoBackground ()=0
 
virtual void fnSetAutoBackground (BOOL autoBackground)=0
 
virtual float fnGetRelaxAmount ()=0
 
virtual void fnSetRelaxAmount (float amount)=0
 
virtual int fnGetRelaxIter ()=0
 
virtual void fnSetRelaxIter (int iter)=0
 
virtual BOOL fnGetRelaxBoundary ()=0
 
virtual void fnSetRelaxBoundary (BOOL boundary)=0
 
virtual BOOL fnGetRelaxSaddle ()=0
 
virtual void fnSetRelaxSaddle (BOOL saddle)=0
 
virtual void fnRelax2 ()=0
 
virtual void fnRelax2Dialog ()=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 BaseInterfaceGetInterface (Interface_ID id)
 
virtual FPInterfaceDescGetDesc ()=0
 
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.
 
UtilExport BaseInterfaceGetInterface (Interface_ID id) override
 
virtual UtilExport Interface_ID GetID ()
 
virtual LifetimeType LifetimeControl ()
 
virtual bool RegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual void UnRegisterNotifyCallback (InterfaceNotifyCallback *incb)
 
virtual BaseInterfaceAcquireInterface ()
 
virtual void ReleaseInterface ()
 
virtual void DeleteInterface ()
 
virtual BaseInterfaceCloneInterface (void *remapDir=nullptr)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor.
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
static UtilExport voidoperator new[] (size_t size, int block_type, const char *filename, int line)
 New operator used to allocate arrays of objects.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
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.
 
static UtilExport voidoperator new (size_t size, void *placement_ptr)
 Placement new operator.
 
static UtilExport void operator delete (void *ptr, void *placement_ptr)
 Placement delete operator.
 
static UtilExport voidaligned_malloc (size_t size, size_t alignment)
 Allocates memory on a specified alignment boundary.
 
static UtilExport voidaligned_realloc (void *ptr, size_t size, size_t alignment)
 Reallocates memory on a specified alignment boundary.
 
static UtilExport void aligned_free (void *ptr)
 Frees a block of memory that was allocated with aligned_malloc/aligned_realloc.
 
- 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
 

Detailed Description

This class is only available in Max 6.0 and higher.

See also
Class IUnwrapMod, Class IUnwrapMod2
Description:
UVW Unwrap has an auto background option which ties the current background to the current Material Filter ID. When the Material Filter ID is changed, it will automatically change the background to a map that uses that material ID. The GetAutoBackground and SetAutoBackground function published methods enable and disable this feature.

The remainder of the new methods are related to the Relax UV feature of UVW Unwrap. The relax UV dialog can be invoked with the Relax2Dialog method. Or, the parameters within the dialog can be set and applied directly with the Relax2 method. Get/SetRelaxBoundary corresponds to the "Keep Boundary Points Fixed" parameter. Get/SetRelaxSaddle corresponds to the "Save Outer Corners" parameter.

Member Function Documentation

◆ FN_0() [1/5]

◆ VFN_1() [1/5]

◆ FN_0() [2/5]

◆ VFN_1() [2/5]

◆ FN_0() [3/5]

◆ VFN_1() [3/5]

◆ FN_0() [4/5]

◆ VFN_1() [4/5]

◆ FN_0() [5/5]

◆ VFN_1() [5/5]

◆ VFN_0() [1/2]

VFN_0 ( unwrap_relax2  ,
fnRelax2   
)

◆ VFN_0() [2/2]

VFN_0 ( unwrap_relax2dialog  ,
fnRelax2Dialog   
)

◆ GetDesc()

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

Implements FPInterface.

◆ fnGetAutoBackground()

virtual BOOL fnGetAutoBackground ( )
pure virtual

◆ fnSetAutoBackground()

virtual void fnSetAutoBackground ( BOOL  autoBackground)
pure virtual

◆ fnGetRelaxAmount()

virtual float fnGetRelaxAmount ( )
pure virtual

◆ fnSetRelaxAmount()

virtual void fnSetRelaxAmount ( float  amount)
pure virtual

◆ fnGetRelaxIter()

virtual int fnGetRelaxIter ( )
pure virtual

◆ fnSetRelaxIter()

virtual void fnSetRelaxIter ( int  iter)
pure virtual

◆ fnGetRelaxBoundary()

virtual BOOL fnGetRelaxBoundary ( )
pure virtual

◆ fnSetRelaxBoundary()

virtual void fnSetRelaxBoundary ( BOOL  boundary)
pure virtual

◆ fnGetRelaxSaddle()

virtual BOOL fnGetRelaxSaddle ( )
pure virtual

◆ fnSetRelaxSaddle()

virtual void fnSetRelaxSaddle ( BOOL  saddle)
pure virtual

◆ fnRelax2()

virtual void fnRelax2 ( )
pure virtual

◆ fnRelax2Dialog()

virtual void fnRelax2Dialog ( )
pure virtual