Public Member Functions

IUnwrapMod3 Class Reference

Search for all occurrences

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.

#include <iunwrap.h>

Inheritance diagram for IUnwrapMod3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

BEGIN_FUNCTION_MAP  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)
END_FUNCTION_MAP FPInterfaceDesc GetDesc ()
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

Member Function Documentation

BEGIN_FUNCTION_MAP 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   
)
END_FUNCTION_MAP FPInterfaceDesc* GetDesc ( ) [virtual]
Remarks:
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

virtual BOOL fnGetAutoBackground ( ) [pure virtual]
virtual void fnSetAutoBackground ( BOOL  autoBackground ) [pure virtual]
virtual float fnGetRelaxAmount ( ) [pure virtual]
virtual void fnSetRelaxAmount ( float  amount ) [pure virtual]
virtual int fnGetRelaxIter ( ) [pure virtual]
virtual void fnSetRelaxIter ( int  iter ) [pure virtual]
virtual BOOL fnGetRelaxBoundary ( ) [pure virtual]
virtual void fnSetRelaxBoundary ( BOOL  boundary ) [pure virtual]
virtual BOOL fnGetRelaxSaddle ( ) [pure virtual]
virtual void fnSetRelaxSaddle ( BOOL  saddle ) [pure virtual]
virtual void fnRelax2 ( ) [pure virtual]
virtual void fnRelax2Dialog ( ) [pure virtual]

IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3
IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3 IUnwrapMod3