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

#include <ilag.h>

+ Inheritance diagram for ILagMod:

Public Member Functions

 VFN_0 (lag_paint, fnPaint)
 
 VFN_0 (lag_setreference, fnSetReference)
 
 VFN_0 (lag_reset, fnReset)
 
 VFN_1 (lag_addforce, fnAddForce, TYPE_INODE)
 
 VFN_1 (lag_removeforce, fnRemoveForce, TYPE_INT)
 
 FN_0 (lag_numbervertices, TYPE_INT, fnNumberVertices)
 
 VFN_2 (lag_selectvertices, fnSelectVertices, TYPE_BITARRAY, TYPE_BOOL)
 
 FN_0 (lag_getselectedvertices, TYPE_BITARRAY, fnGetSelectedVertices)
 
 FN_1 (lag_getvertexweight, TYPE_FLOAT, fnGetVertexWeight, TYPE_INT)
 
 VFN_2 (lag_setvertexweight, fnSetVertexWeight, TYPE_INT_TAB, TYPE_FLOAT_TAB)
 
 VFN_2 (lag_setedgelist, fnSetEdgeList, TYPE_BITARRAY, TYPE_BOOL)
 
 FN_0 (lag_getedgelist, TYPE_BITARRAY, fnGetEdgeList)
 
 VFN_2 (lag_addspringselection, fnAddSingleSpringFromSelection, TYPE_INT, TYPE_BOOL)
 
 VFN_4 (lag_addspring, fnAddSpring, TYPE_INT, TYPE_INT, TYPE_INT, TYPE_BOOL)
 
 VFN_0 (lag_removeallsprings, fnRemoveAllSprings)
 
 VFN_0 (lag_addspring_button, fnAddSpringButton)
 
 VFN_0 (lag_removespring_button, fnRemoveSpringButton)
 
 VFN_0 (lag_option_button, fnOptionButton)
 
 VFN_0 (lag_simplesoft_button, fnSimpleSoftButton)
 
 VFN_1 (lag_removespring_by_end, fnRemoveSpring, TYPE_INT)
 
 VFN_2 (lag_removespring_by_both_ends, fnRemoveSpring, TYPE_INT, TYPE_INT)
 
 VFN_1 (lag_removespringbyindex, fnRemoveSpringByIndex, TYPE_INT)
 
 FN_0 (lag_numbersprings, TYPE_INT, fnNumberSprings)
 
 FN_1 (lag_getspringgroup, TYPE_FLOAT, fnGetSpringGroup, TYPE_INT)
 
 VFN_2 (lag_setspringgroup, fnSetSpringGroup, TYPE_INT, TYPE_INT)
 
 FN_1 (lag_getspringlength, TYPE_FLOAT, fnGetSpringLength, TYPE_INT)
 
 VFN_2 (lag_setspringlength, fnSetSpringLength, TYPE_INT, TYPE_FLOAT)
 
 FN_2 (lag_getindex, TYPE_INT, fnGetIndex, TYPE_INT, TYPE_INT)
 
FPInterfaceDescGetDesc ()
 
virtual void fnPaint ()=0
 
virtual void fnSetReference ()=0
 
virtual void fnReset ()=0
 
virtual void fnAddForce (INode *node)=0
 
virtual void fnRemoveForce (int whichNode)=0
 
virtual int fnNumberVertices ()=0
 
virtual void fnSelectVertices (BitArray *selList, BOOL updateViews)=0
 
virtual BitArrayfnGetSelectedVertices ()=0
 
virtual float fnGetVertexWeight (int index)=0
 
virtual void fnSetVertexWeight (Tab< int > *indexList, Tab< float > *values)=0
 
virtual void fnSetEdgeList (BitArray *selList, BOOL updateViews)=0
 
virtual BitArrayfnGetEdgeList ()=0
 
virtual void fnAddSingleSpringFromSelection (int flag, BOOL addDupes)=0
 
virtual void AddSingleSpringFromSelection (LagModData *lmd, int flag, BOOL addDupes)=0
 
virtual void fnAddSpring (int a, int b, int flag, BOOL addDupes)=0
 
virtual void AddSpring (LagModData *lmd, int a, int b, int flag, BOOL addDupes)=0
 
virtual void fnRemoveAllSprings ()=0
 
virtual void RemoveAllSprings (LagModData *lmd)=0
 
virtual void fnAddSpringButton ()=0
 
virtual void fnRemoveSpringButton ()=0
 
virtual void fnOptionButton ()=0
 
virtual void fnSimpleSoftButton ()=0
 
virtual void fnRemoveSpring (int a)=0
 
virtual void RemoveSpring (LagModData *lmd, int a)=0
 
virtual void fnRemoveSpring (int a, int b)=0
 
virtual void RemoveSpring (LagModData *lmd, int a, int b)=0
 
virtual void fnRemoveSpringByIndex (int index)=0
 
virtual void RemoveSpringByIndex (LagModData *lmd, int index)=0
 
virtual int fnNumberSprings ()=0
 
virtual int NumberSprings (LagModData *lmd)=0
 
virtual int fnGetSpringGroup (int index)=0
 
virtual int GetSpringGroup (LagModData *lmd, int index)=0
 
virtual void fnSetSpringGroup (int index, int group)=0
 
virtual void SetSpringGroup (LagModData *lmd, int index, int group)=0
 
virtual float fnGetSpringLength (int index)=0
 
virtual float GetSpringLength (LagModData *lmd, int index)=0
 
virtual void fnSetSpringLength (int index, float dist)=0
 
virtual void SetSpringLength (LagModData *lmd, int index, float dist)=0
 
virtual int fnGetIndex (int a, int b)=0
 
virtual int GetIndex (LagModData *lmd, int a, int b)=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 ()
 

Public Attributes

BitArray tempBitArray
 

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
 

Member Function Documentation

◆ VFN_0() [1/8]

VFN_0 ( lag_paint  ,
fnPaint   
)

◆ VFN_0() [2/8]

VFN_0 ( lag_setreference  ,
fnSetReference   
)

◆ VFN_0() [3/8]

VFN_0 ( lag_reset  ,
fnReset   
)

◆ VFN_1() [1/4]

VFN_1 ( lag_addforce  ,
fnAddForce  ,
TYPE_INODE   
)

◆ VFN_1() [2/4]

VFN_1 ( lag_removeforce  ,
fnRemoveForce  ,
TYPE_INT   
)

◆ FN_0() [1/4]

◆ VFN_2() [1/7]

◆ FN_0() [2/4]

◆ FN_1() [1/3]

◆ VFN_2() [2/7]

◆ VFN_2() [3/7]

◆ FN_0() [3/4]

◆ VFN_2() [4/7]

◆ VFN_4()

VFN_4 ( lag_addspring  ,
fnAddSpring  ,
TYPE_INT  ,
TYPE_INT  ,
TYPE_INT  ,
TYPE_BOOL   
)

◆ VFN_0() [4/8]

◆ VFN_0() [5/8]

◆ VFN_0() [6/8]

◆ VFN_0() [7/8]

VFN_0 ( lag_option_button  ,
fnOptionButton   
)

◆ VFN_0() [8/8]

◆ VFN_1() [3/4]

◆ VFN_2() [5/7]

◆ VFN_1() [4/4]

◆ FN_0() [4/4]

◆ FN_1() [2/3]

◆ VFN_2() [6/7]

◆ FN_1() [3/3]

◆ VFN_2() [7/7]

◆ FN_2()

FN_2 ( lag_getindex  ,
TYPE_INT  ,
fnGetIndex  ,
TYPE_INT  ,
TYPE_INT   
)

◆ GetDesc()

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

Implements FPInterface.

◆ fnPaint()

virtual void fnPaint ( )
pure virtual

◆ fnSetReference()

virtual void fnSetReference ( )
pure virtual

◆ fnReset()

virtual void fnReset ( )
pure virtual

◆ fnAddForce()

virtual void fnAddForce ( INode node)
pure virtual

◆ fnRemoveForce()

virtual void fnRemoveForce ( int  whichNode)
pure virtual

◆ fnNumberVertices()

virtual int fnNumberVertices ( )
pure virtual

◆ fnSelectVertices()

virtual void fnSelectVertices ( BitArray selList,
BOOL  updateViews 
)
pure virtual

◆ fnGetSelectedVertices()

virtual BitArray * fnGetSelectedVertices ( )
pure virtual

◆ fnGetVertexWeight()

virtual float fnGetVertexWeight ( int  index)
pure virtual

◆ fnSetVertexWeight()

virtual void fnSetVertexWeight ( Tab< int > *  indexList,
Tab< float > *  values 
)
pure virtual

◆ fnSetEdgeList()

virtual void fnSetEdgeList ( BitArray selList,
BOOL  updateViews 
)
pure virtual

◆ fnGetEdgeList()

virtual BitArray * fnGetEdgeList ( )
pure virtual

◆ fnAddSingleSpringFromSelection()

virtual void fnAddSingleSpringFromSelection ( int  flag,
BOOL  addDupes 
)
pure virtual

◆ AddSingleSpringFromSelection()

virtual void AddSingleSpringFromSelection ( LagModData lmd,
int  flag,
BOOL  addDupes 
)
pure virtual

◆ fnAddSpring()

virtual void fnAddSpring ( int  a,
int  b,
int  flag,
BOOL  addDupes 
)
pure virtual

◆ AddSpring()

virtual void AddSpring ( LagModData lmd,
int  a,
int  b,
int  flag,
BOOL  addDupes 
)
pure virtual

◆ fnRemoveAllSprings()

virtual void fnRemoveAllSprings ( )
pure virtual

◆ RemoveAllSprings()

virtual void RemoveAllSprings ( LagModData lmd)
pure virtual

◆ fnAddSpringButton()

virtual void fnAddSpringButton ( )
pure virtual

◆ fnRemoveSpringButton()

virtual void fnRemoveSpringButton ( )
pure virtual

◆ fnOptionButton()

virtual void fnOptionButton ( )
pure virtual

◆ fnSimpleSoftButton()

virtual void fnSimpleSoftButton ( )
pure virtual

◆ fnRemoveSpring() [1/2]

virtual void fnRemoveSpring ( int  a)
pure virtual

◆ RemoveSpring() [1/2]

virtual void RemoveSpring ( LagModData lmd,
int  a 
)
pure virtual

◆ fnRemoveSpring() [2/2]

virtual void fnRemoveSpring ( int  a,
int  b 
)
pure virtual

◆ RemoveSpring() [2/2]

virtual void RemoveSpring ( LagModData lmd,
int  a,
int  b 
)
pure virtual

◆ fnRemoveSpringByIndex()

virtual void fnRemoveSpringByIndex ( int  index)
pure virtual

◆ RemoveSpringByIndex()

virtual void RemoveSpringByIndex ( LagModData lmd,
int  index 
)
pure virtual

◆ fnNumberSprings()

virtual int fnNumberSprings ( )
pure virtual

◆ NumberSprings()

virtual int NumberSprings ( LagModData lmd)
pure virtual

◆ fnGetSpringGroup()

virtual int fnGetSpringGroup ( int  index)
pure virtual

◆ GetSpringGroup()

virtual int GetSpringGroup ( LagModData lmd,
int  index 
)
pure virtual

◆ fnSetSpringGroup()

virtual void fnSetSpringGroup ( int  index,
int  group 
)
pure virtual

◆ SetSpringGroup()

virtual void SetSpringGroup ( LagModData lmd,
int  index,
int  group 
)
pure virtual

◆ fnGetSpringLength()

virtual float fnGetSpringLength ( int  index)
pure virtual

◆ GetSpringLength()

virtual float GetSpringLength ( LagModData lmd,
int  index 
)
pure virtual

◆ fnSetSpringLength()

virtual void fnSetSpringLength ( int  index,
float  dist 
)
pure virtual

◆ SetSpringLength()

virtual void SetSpringLength ( LagModData lmd,
int  index,
float  dist 
)
pure virtual

◆ fnGetIndex()

virtual int fnGetIndex ( int  a,
int  b 
)
pure virtual

◆ GetIndex()

virtual int GetIndex ( LagModData lmd,
int  a,
int  b 
)
pure virtual

Member Data Documentation

◆ tempBitArray

BitArray tempBitArray