This reference page is linked to from the following overview topics: Pipeline Overview, Sub-Object Selection in Edit Modifiers.
This class allows a modifier to store application specific data.
A reference to a pointer to an instance of this class is passed in to ModifyObject() as part of the ModContext. The value of the pointer starts out as NULL, but the modifier can set it to point at an actual instance of a derived class. When the mod app is deleted, if the pointer is not NULL, the LocalModData will be deleted - the virtual destructor allows this to work.
#include <object.h>
Public Member Functions |
|
virtual | ~LocalModData () |
A plug-in using local data should implement
this method to free its local data. |
|
virtual LocalModData * | Clone ()=0 |
This method is called to allow a plug-in to
copy its local data. |
|
virtual void * | GetInterface (ULONG id) |
virtual ~LocalModData | ( | ) | [inline, virtual] |
A plug-in using local data should implement this method to free its local data.
{}
virtual LocalModData* Clone | ( | ) | [pure 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.
Implemented in LagModData.
virtual void* GetInterface | ( | ULONG | id | ) | [inline, virtual] |
{ return NULL; } // to access sub-obj selection interfaces, JBW 2/5/99