![]() |
VR-Forces Developer's Guide
|
The DtIndirectGeometryUpdateSystem class provides a system for updating DtIndirectGeometry objects.
This class is meant to have some methods that can be used by multiple threads. Any method that is thread safe will be marked as such.
DtIndirectGeometry object will register themselves with this updater once they are live in the scenegraph. They will self unregister upon deletion.
Register and unregister of components to this system is generally done in background threads.

Public Member Functions | |
| virtual | ~DtIndirectGeometryUpdateSystem () |
| DtIndirectGeometryUpdateSystem (const DtIndirectGeometryUpdateSystem &other)=delete | |
| DtIndirectGeometryUpdateSystem (const DtIndirectGeometryUpdateSystem &&other)=delete | |
| DtIndirectGeometryUpdateSystem & | operator= (const DtIndirectGeometryUpdateSystem &other)=delete |
| DtIndirectGeometryUpdateSystem & | operator= (const DtIndirectGeometryUpdateSystem &&other)=delete |
| virtual void | registerComponent (DtIndirectGeometry *component) |
| virtual void | unregisterComponent (const DtIndirectGeometry *component) |
| virtual void | update (const osg::FrameStamp *frameStamp) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtIndirectGeometryUpdateSystem & | instance (DtDe &de) |
| static void | registerInstance (DtDe &de, DtIndirectGeometryUpdateSystem *system) |
| static const std::string & | theClassName () |
Protected Member Functions | |
| DtIndirectGeometryUpdateSystem (DtDe &de) | |
Protected Attributes | |
| DtDe & | myDe |
| std::mutex | myComponentMutex |
| std::vector< DtIndirectGeometry * > | myComponents |
|
virtual |
|
delete |
Copy Constructor not implemented - Copy not allowed.
|
delete |
Move Constructor not implemented - Move not allowed.
|
protected |
Protected CTOR Use DtIndirectGeometryUpdateSystem::instance(DtDe&).
|
static |
Get/Create the DtIndirectGeometryUpdateSystem instance. Use DtIndirectGeometryUpdateSystem::registerInstance(...) to override the class instance.
|
static |
Register the provided instance of a DtIndirectGeometryUpdateSystem.
|
static |
Get the name used to register this class.
|
delete |
Assignment Operator not implemented - Assignment not allowed.
|
delete |
Move Assignment Operator not implemented - Move Assignment not allowed.
|
virtual |
Thread safe. Registers the given component with this system. The system does not own the component. The system will perform operations on the component while it is registered. Call from main thread only.
|
virtual |
Thread safe. Un-Registers the given component with this system. The system does not own the component. Call from main thread only.
|
virtual |
Called from the renderer in the main thread to perform an update on the components.
|
protected |
|
protected |
|
protected |