![]() |
VR-Forces 4.10 Class Documentation
|
node for processing textures needed for indirect geometries this alllows for textures to be uploaded to the GPU before the tile has paged in so that there are not holes/gray tiles poping in More...

Public Member Functions | |
| virtual | ~DtIndirectTextureLoaderNode () |
| Destructor - clears the list of registrars. More... | |
| void | accept (osg::NodeVisitor &nv) |
| called when the scene is traversed, only does stuff in the cull visitor called in the main thread every frame - uses mutex for thread safe access to the registrar More... | |
| virtual void | drawImplementation (osg::RenderInfo &renderInfo) const |
| called during the draw stage. More... | |
| virtual void | addIndirectRegistrarToProcess (DtIndirectGeometryRegistrar *registrar) |
| add an indirect registrar to the list of registrars to process called in a background paging thread - uses mutex for thread safe access of registrar list More... | |
| virtual void | removeIndirectRegistrarToProcess (DtIndirectGeometryRegistrar *registrar) |
| remove an indirect registrar from the list of registrars to process called in the main thread - uses mutex for thread safe access of registar list notifys the condition since the list of registrars is changing. More... | |
| virtual bool | containsIndirectRegistrarToProcess (DtIndirectGeometryRegistrar *registrar, bool blocking=true) |
| check to see if an indirect registrar is in the list of registrars to process called in a background paging thread - uses mutex for thread safe access of registar list if blocking is true then it will use a wait condition to wait for a registrar to be removed also checks after a second to see if the database pager has been stopped. More... | |
| virtual void | clearIndirectRegistrarsToProcess (bool lastCall=false) |
| clear the list of indirect registrars to process More... | |
Protected Types | |
| typedef std::set< osg::ref_ptr < DtIndirectGeometryRegistrar > > | RegistrarSet |
Protected Member Functions | |
| DtIndirectTextureLoaderNode (DtDe &de) | |
| Constructor. More... | |
Protected Attributes | |
| boost::mutex | myMutex |
| boost::condition_variable | myCondition |
| RegistrarSet | myProcessors |
| bool | myAboutToBeDestroyed |
| DtDe & | myDtDe |
Private Member Functions | |
| DtIndirectTextureLoaderNode (const DtIndirectTextureLoaderNode &other) | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtIndirectTextureLoaderNode & | operator= (const DtIndirectTextureLoaderNode &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Friends | |
| class | DtIndirectTextureLoaderNodeCreator |
| friend creator class so it is the only thing that can create DtIndirectTextureLoaderNodes More... | |
node for processing textures needed for indirect geometries this alllows for textures to be uploaded to the GPU before the tile has paged in so that there are not holes/gray tiles poping in
|
protected |
|
protected |
Constructor.
|
virtual |
Destructor - clears the list of registrars.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
| void makVrv::DtIndirectTextureLoaderNode::accept | ( | osg::NodeVisitor & | nv | ) |
called when the scene is traversed, only does stuff in the cull visitor called in the main thread every frame - uses mutex for thread safe access to the registrar
|
virtual |
called during the draw stage.
Doesn't draw anything, just uploads textures to the GPU called in the main thread every frame - uses mutex for thread safe access to the registrar notifys the condition when a registrar finishes and the list of registrars is changing.
|
virtual |
add an indirect registrar to the list of registrars to process called in a background paging thread - uses mutex for thread safe access of registrar list
|
virtual |
remove an indirect registrar from the list of registrars to process called in the main thread - uses mutex for thread safe access of registar list notifys the condition since the list of registrars is changing.
|
virtual |
check to see if an indirect registrar is in the list of registrars to process called in a background paging thread - uses mutex for thread safe access of registar list if blocking is true then it will use a wait condition to wait for a registrar to be removed also checks after a second to see if the database pager has been stopped.
|
virtual |
clear the list of indirect registrars to process
|
friend |
friend creator class so it is the only thing that can create DtIndirectTextureLoaderNodes
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
protected |