ILagMod Class Reference

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 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...
 

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. 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 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 ( 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   
)
VFN_4 ( lag_addspring  ,
fnAddSpring  ,
TYPE_INT  ,
TYPE_INT  ,
TYPE_INT  ,
TYPE_BOOL   
)
VFN_0 ( lag_option_button  ,
fnOptionButton   
)
FN_2 ( lag_getindex  ,
TYPE_INT  ,
fnGetIndex  ,
TYPE_INT  ,
TYPE_INT   
)
FPInterfaceDesc* GetDesc ( )
virtual
Remarks
Returns a pointer to the class which contains the interface metadata.

Implements FPInterface.

virtual void fnPaint ( )
pure virtual
virtual void fnSetReference ( )
pure virtual
virtual void fnReset ( )
pure virtual
virtual void fnAddForce ( INode node)
pure virtual
virtual void fnRemoveForce ( int  whichNode)
pure virtual
virtual int fnNumberVertices ( )
pure virtual
virtual void fnSelectVertices ( BitArray selList,
BOOL  updateViews 
)
pure virtual
virtual BitArray* fnGetSelectedVertices ( )
pure virtual
virtual float fnGetVertexWeight ( int  index)
pure virtual
virtual void fnSetVertexWeight ( Tab< int > *  indexList,
Tab< float > *  values 
)
pure virtual
virtual void fnSetEdgeList ( BitArray selList,
BOOL  updateViews 
)
pure virtual
virtual BitArray* fnGetEdgeList ( )
pure virtual
virtual void fnAddSingleSpringFromSelection ( int  flag,
BOOL  addDupes 
)
pure virtual
virtual void AddSingleSpringFromSelection ( LagModData lmd,
int  flag,
BOOL  addDupes 
)
pure virtual
virtual void fnAddSpring ( int  a,
int  b,
int  flag,
BOOL  addDupes 
)
pure virtual
virtual void AddSpring ( LagModData lmd,
int  a,
int  b,
int  flag,
BOOL  addDupes 
)
pure virtual
virtual void fnRemoveAllSprings ( )
pure virtual
virtual void RemoveAllSprings ( LagModData lmd)
pure virtual
virtual void fnAddSpringButton ( )
pure virtual
virtual void fnRemoveSpringButton ( )
pure virtual
virtual void fnOptionButton ( )
pure virtual
virtual void fnSimpleSoftButton ( )
pure virtual
virtual void fnRemoveSpring ( int  a)
pure virtual
virtual void RemoveSpring ( LagModData lmd,
int  a 
)
pure virtual
virtual void fnRemoveSpring ( int  a,
int  b 
)
pure virtual
virtual void RemoveSpring ( LagModData lmd,
int  a,
int  b 
)
pure virtual
virtual void fnRemoveSpringByIndex ( int  index)
pure virtual
virtual void RemoveSpringByIndex ( LagModData lmd,
int  index 
)
pure virtual
virtual int fnNumberSprings ( )
pure virtual
virtual int NumberSprings ( LagModData lmd)
pure virtual
virtual int fnGetSpringGroup ( int  index)
pure virtual
virtual int GetSpringGroup ( LagModData lmd,
int  index 
)
pure virtual
virtual void fnSetSpringGroup ( int  index,
int  group 
)
pure virtual
virtual void SetSpringGroup ( LagModData lmd,
int  index,
int  group 
)
pure virtual
virtual float fnGetSpringLength ( int  index)
pure virtual
virtual float GetSpringLength ( LagModData lmd,
int  index 
)
pure virtual
virtual void fnSetSpringLength ( int  index,
float  dist 
)
pure virtual
virtual void SetSpringLength ( LagModData lmd,
int  index,
float  dist 
)
pure virtual
virtual int fnGetIndex ( int  a,
int  b 
)
pure virtual
virtual int GetIndex ( LagModData lmd,
int  a,
int  b 
)
pure virtual

Member Data Documentation

BitArray tempBitArray