HDK
|
This SIM_Guide subclass creates a separate guide geometry for each object. More...
#include <SIM_GuidePerObject.h>
Public Member Functions | |
SIM_GuidePerObject (const SIM_Data *owner) | |
Constructor which takes a const SIM_Data as our owner. More... | |
~SIM_GuidePerObject () override | |
Destructor for this class. More... | |
Public Member Functions inherited from SIM_Guide | |
SIM_Guide (const SIM_Data *owner) | |
Constructor which takes a const SIM_Data as our owner. More... | |
virtual | ~SIM_Guide () |
Destructor for this class. More... | |
GU_ConstDetailHandle | getGuideGeometry (const SIM_RootData &root, UT_DMatrix4 &xform, const SIM_Time &t) |
int64 | getMemorySize () const |
void | clear () |
void | setParmVersion (long version) |
long | getParmVersion () const |
DEP_MicroNode & | guideMicroNode () |
const DEP_MicroNode & | guideMicroNode () const |
Protected Member Functions | |
GU_ConstDetailHandle | getGuideGeometrySubclass (const SIM_RootData &root, UT_DMatrix4 &xform, const SIM_Time &t) override |
int64 | getMemorySizeSubclass () const override |
void | clearSubclass () override |
Override this function to clear any data create by this class. More... | |
Protected Member Functions inherited from SIM_Guide | |
const SIM_Data & | getOwner () const |
Returns our owner data. More... | |
const SIM_Time & | getSimulationTime () const |
Returns the current simulation time. More... | |
bool | buildGuideGeometry (const SIM_RootData &root, const GU_DetailHandle &gdh, UT_DMatrix4 *xform, const SIM_Time &t) const |
Calls SIM_Data::buildGuideGeometry() on the owner data. More... | |
This SIM_Guide subclass creates a separate guide geometry for each object.
Definition at line 20 of file SIM_GuidePerObject.h.
|
explicit |
Constructor which takes a const SIM_Data as our owner.
|
override |
Destructor for this class.
|
overrideprotectedvirtual |
Override this function to clear any data create by this class.
Reimplemented from SIM_Guide.
|
overrideprotectedvirtual |
Override this function to customize how guide geometry is created or retrieved. Implementing this function is the whole point of this class. This function may build geometry, fetch existing geometry, modify existing geometry, or whatever else it sees fit.
Reimplemented from SIM_Guide.
|
overrideprotectedvirtual |
Override this to report the amount of memory used by this object. Call the base class implementation as well and add that to the subclass-specific memory size.
Reimplemented from SIM_Guide.