![]() |
VR-Forces 4.8 Class Documentation
|
class used to collect geometry coming in via buildings layer and add it to the indirect engine. More...
Public Member Functions | |
| virtual | ~DtIndirectBuildingsHandler () |
| DTOR. More... | |
| virtual void | onDataPremerge (osg::Node *data) |
| Callback for osgEarth premerge callback which is called in the background paging thread when the tile has been loaded but not yet added to the scenegraph. More... | |
| virtual void | onDataUnloaded (const osg::Node *data) |
| Callback for osgEarth unloaded callback which is called in the main render thread when a tile is being paged out. More... | |
Protected Types | |
| typedef osg::ref_ptr< const osg::Node > | NodeRefPtr |
Protected Member Functions | |
| DtIndirectBuildingsHandler (DtDe &de, const osgEarth::Layer &layer, const DtIndirectFadeParameters &fadeParameters, bool dynamicTerrainInstallerActive) | |
| CTOR. More... | |
| virtual void | processBuildingsExternalModelNodes (const osg::Node *data) |
| handle external references in the buildings layer (gs) More... | |
| virtual void | processInstancedModelNodes (const osg::Node *data) |
| handle instanced models in the buildings layer (gt) More... | |
| virtual void | processElevationsLodNodes (const osg::Node *data) |
| handle tagged geodes in the buildings layer (these are the geodes corresponding to procedural geo corresponding to the elevations in the buildings layer) More... | |
| const osg::Node * | preloadModelAndRunDynamicTerrainParser (const std::string &modelName) |
| loads the model and stores a reference pointer to it in the modelName to modelNode map. More... | |
Protected Attributes | |
| DtDe & | myDe |
| const osgEarth::Layer & | myLayer |
| DtCellToGeoSpecificIndirectGeoMap * | myCellToBuildingsGSIndirectGeoMap |
| external models go here geospecific More... | |
| DtCellToGeoTypicalIndirectGeoMap * | myCellToGTIndirectGeoMap |
| instanced models go here geotypical, share models More... | |
| DtIndirectModelsContainer * | myGTModelsContainer |
| DtCellToGeoSpecificIndirectGeoMap * | myCellToTaggedGeodesGeoSpecificIndirectGeoMap |
| Procedural stuff that ends up as geodes. Is also geospecific in the sense that each. More... | |
| DtIndirectFadeParameters | myFadeParameters |
| boost::mutex | myProcessedNodeMapMutex |
| boost::condition_variable | myProcessedNodeMapCondition |
| std::map< std::string, NodeRefPtr > | myProcessedNodeMap |
| std::map< std::string, bool > | myIsProcessingNodeMap |
| DtModelSemanticsMapper & | myModelSematicsMapper |
| bool | myDynamicTerrainInstallerActive |
Private Member Functions | |
| DtIndirectBuildingsHandler (const DtIndirectBuildingsHandler &other) | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtIndirectBuildingsHandler & | operator= (const DtIndirectBuildingsHandler &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Friends | |
| class | DtIndirectBuildingsHandlerCreator |
| creator friend class so it is the only one that can create new DtIndirectBuildingsHandler More... | |
class used to collect geometry coming in via buildings layer and add it to the indirect engine.
will process: -external references (gs) -instanced references (gt) -procedural geometry (gt) -procedural geometry (gt) -instanced roofs (gt) Handles callbacks from a buildings layer premerge callback to add the data to the indirect engine
|
protected |
|
virtual |
DTOR.
|
protected |
CTOR.
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
Callback for osgEarth premerge callback which is called in the background paging thread when the tile has been loaded but not yet added to the scenegraph.
|
virtual |
Callback for osgEarth unloaded callback which is called in the main render thread when a tile is being paged out.
|
protectedvirtual |
handle external references in the buildings layer (gs)
|
protectedvirtual |
handle instanced models in the buildings layer (gt)
|
protectedvirtual |
handle tagged geodes in the buildings layer (these are the geodes corresponding to procedural geo corresponding to the elevations in the buildings layer)
|
protected |
loads the model and stores a reference pointer to it in the modelName to modelNode map.
also waits for other threads to finish if they are loading the same model. Returns a raw point to the model but it is saved in the member variable map so it will not be deleted in the rest of the premerge processing.
|
friend |
creator friend class so it is the only one that can create new DtIndirectBuildingsHandler
|
protected |
|
protected |
|
protected |
external models go here geospecific
|
protected |
instanced models go here geotypical, share models
|
protected |
|
protected |
Procedural stuff that ends up as geodes. Is also geospecific in the sense that each.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |