LagModData Class Reference

LagModData Class Reference

#include <ilag.h>

+ Inheritance diagram for LagModData:

Public Member Functions

 LagModData ()
 
 LagModData (int i, INode *n)
 
 ~LagModData ()
 
LocalModDataClone ()
 This method is called to allow a plug-in to copy its local data. More...
 
- Public Member Functions inherited from LocalModData
virtual ~LocalModData ()
 A plug-in using local data should implement this method to free its local data. More...
 
virtual voidGetInterface (ULONG id)
 
- Public Member Functions inherited from InterfaceServer
virtual UtilExport ~InterfaceServer ()
 Destructor. More...
 
virtual UtilExport BaseInterfaceGetInterface (Interface_ID id)
 

Public Attributes

Tab< EdgeBondageedgeSprings
 
int id
 
INodeSelfNode
 
Tab< SpringClassSpringList
 
Tab< CacheClassWholeFrameCache
 
Tab< BYTE > esel
 
Tab< BYTE > wsel
 
Tab< BYTE > psel
 
Matrix3 InverseTM
 
BOOL isMesh
 
BOOL isPatch
 
BOOL addSprings
 
BOOL removeSprings
 
BOOL computeEdges
 
BOOL ignoreInteriorHandles
 
BOOL simpleSoft
 
Point3 hitPoint
 
BOOL isHit
 
TimeValue lastFrame
 
BOOL nukeRenderCache
 
Tab< Point3pointCache
 

Additional Inherited Members

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

Constructor & Destructor Documentation

LagModData ( )
inline
85  {
86  SelfNode = NULL;
87  id = -1;
88  computeEdges = TRUE;
89  isMesh = FALSE;
90  isPatch = FALSE;
91  lastFrame = 999999999;
92  nukeRenderCache = TRUE;
93  addSprings = FALSE;
94  removeSprings = FALSE;
95  simpleSoft = FALSE;
96 
97  }
BOOL simpleSoft
Definition: ilag.h:76
BOOL isPatch
Definition: ilag.h:70
TimeValue lastFrame
Definition: ilag.h:80
BOOL addSprings
Definition: ilag.h:72
#define NULL
Definition: autoptr.h:18
INode * SelfNode
Definition: ilag.h:59
BOOL computeEdges
Definition: ilag.h:74
BOOL nukeRenderCache
Definition: ilag.h:81
BOOL removeSprings
Definition: ilag.h:73
BOOL isMesh
Definition: ilag.h:69
LagModData ( int  i,
INode n 
)
inline
99  {
100  id = i;
101  SelfNode = n;
102  isMesh = FALSE;
103  isPatch = FALSE;
104  lastFrame = 999999999;
105  nukeRenderCache = TRUE;
106  computeEdges = TRUE;
107  addSprings = FALSE;
108  removeSprings = FALSE;
109  simpleSoft = FALSE;
110 
111  }
BOOL simpleSoft
Definition: ilag.h:76
BOOL isPatch
Definition: ilag.h:70
TimeValue lastFrame
Definition: ilag.h:80
BOOL addSprings
Definition: ilag.h:72
INode * SelfNode
Definition: ilag.h:59
BOOL computeEdges
Definition: ilag.h:74
BOOL nukeRenderCache
Definition: ilag.h:81
BOOL removeSprings
Definition: ilag.h:73
BOOL isMesh
Definition: ilag.h:69
~LagModData ( )
inline
113  {
114  SelfNode = NULL;
115  }
#define NULL
Definition: autoptr.h:18
INode * SelfNode
Definition: ilag.h:59

Member Function Documentation

LocalModData* Clone ( )
virtual

This method is called to allow a plug-in to copy its local data.

It is called when the system is copying a ModContext.

Returns
The plug-in should return a pointer to a new instance of its LocalModData.

Implements LocalModData.

Member Data Documentation

Tab<EdgeBondage> edgeSprings
int id
INode* SelfNode
Tab<SpringClass> SpringList
Tab<CacheClass> WholeFrameCache
Tab<BYTE> esel
Tab<BYTE> wsel
Tab<BYTE> psel
Matrix3 InverseTM
BOOL isMesh
BOOL isPatch
BOOL addSprings
BOOL removeSprings
BOOL computeEdges
BOOL ignoreInteriorHandles
BOOL simpleSoft
Point3 hitPoint
BOOL isHit
TimeValue lastFrame
BOOL nukeRenderCache
Tab<Point3> pointCache