HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SIM_GuideStatic Class Reference

#include <SIM_GuideStatic.h>

+ Inheritance diagram for SIM_GuideStatic:

Public Member Functions

 SIM_GuideStatic (const SIM_Data *owner, bool displayonly)
 Constructor which takes a const SIM_Data as our owner. More...
 
virtual ~SIM_GuideStatic ()
 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_MicroNodeguideMicroNode ()
 
const DEP_MicroNodeguideMicroNode () const
 

Protected Member Functions

virtual GU_ConstDetailHandle getGuideGeometrySubclass (const SIM_RootData &root, UT_DMatrix4 &xform, const SIM_Time &t)
 
virtual void clearSubclass ()
 Override this function to clear any data create by this class. More...
 
- Protected Member Functions inherited from SIM_Guide
const SIM_DatagetOwner () const
 Returns our owner data. More...
 
const SIM_TimegetSimulationTime () 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...
 
virtual int64 getMemorySizeSubclass () const
 

Detailed Description

This SIM_Guide subclass has one piece of geometry for all data of a given type. The geometry is built in the normal way the first time we are asked for geometry for each data type. The transform is recalculated for each request.

Definition at line 20 of file SIM_GuideStatic.h.

Constructor & Destructor Documentation

SIM_GuideStatic::SIM_GuideStatic ( const SIM_Data owner,
bool  displayonly 
)
explicit

Constructor which takes a const SIM_Data as our owner.

virtual SIM_GuideStatic::~SIM_GuideStatic ( )
virtual

Destructor for this class.

Member Function Documentation

virtual void SIM_GuideStatic::clearSubclass ( )
protectedvirtual

Override this function to clear any data create by this class.

Reimplemented from SIM_Guide.

virtual GU_ConstDetailHandle SIM_GuideStatic::getGuideGeometrySubclass ( const SIM_RootData root,
UT_DMatrix4 xform,
const SIM_Time t 
)
protectedvirtual

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.


The documentation for this class was generated from the following file: