![]() |
VR-Forces Developer's Guide
|
DtIndirectGeometryCallback is a data broker callback that handles feature tile load/unload callbacks to handle the rendering of these features using indirect rendering.

Public Member Functions | |
| virtual | ~DtIndirectGeometryCallback () |
| virtual void | onLayerLoaded (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) override |
| virtual void | onLayerOpened (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| virtual void | onLayerClosed (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| virtual void | processLayer (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| virtual void | onDataPreMerge (const osgEarth::Layer *layer, osg::Node *newData) override |
| virtual void | onDataLoaded (const osgEarth::Layer *layer, const osg::Node *newData) override |
| virtual void | onDataUnloaded (const osgEarth::Layer *layer, const osg::Node *oldData) override |
| virtual const std::string & | instanceClassName () const override |
| virtual void | setFeatureDataBroker (DtOsgEarthFeatureDataBroker *featureDataBroker) |
Public Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback | |
| virtual float | callbackOrder () |
| DtIndirectFadeParameters | parseFadeParametersForLayer (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
Static Public Member Functions | |
| static const std::string & | className () |
Protected Types | |
| typedef std::unordered_map < const osgEarth::Layer *, DtIndirectGeometryLayerManager * > | MapLayerToLayerManagerIndirectGeometry |
Protected Member Functions | |
| DtIndirectGeometryCallback (DtDe &de) | |
| virtual bool | checkForIndirectRenderingParameter (osgEarth::Layer *layer) |
| virtual void | processBuildingLayer (osgEarth::Buildings::BuildingLayer *buildingLayer) const |
| virtual void | processModelLayer (osgEarth::Layer *layer) const |
Static Protected Attributes | |
| static const std::string | theClassName |
Private Member Functions | |
| DtIndirectGeometryCallback ()=delete | |
| DtIndirectGeometryCallback & | operator= (const DtIndirectGeometryCallback &other)=delete |
| DtIndirectGeometryCallback (const DtIndirectGeometryCallback &other)=delete | |
Additional Inherited Members | |
Static Protected Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback | |
| static bool | isModelLayer (const osgEarth::Layer *layer) |
|
protected |
map of layers in the osg earth terrain to the layer manager for each layer
|
virtual |
DTOR.
|
protected |
CTOR.
|
privatedelete |
CTOR (unimplemented default CTOR)
|
privatedelete |
Copy Constructor Not implemented – Copy Constructor Not Allowed.
|
privatedelete |
Assignment Operator Not implemented – Assignment Not Allowed.
|
overridevirtual |
callbacks Will be called when osgEarth loads a new feature layer
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
virtual |
Will be called when osgEarth closes the layer.
Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
virtual |
Will be called when osgEarth closes the layer.
Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
virtual |
Will be called when osgEarth loads a new feature layer or opens a layer.
|
overridevirtual |
Invoked by the broker from the pager thread before new data is added to the scenegraph. called in a background loader thread.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Will be called when osgEarth loads data for a layer.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Will be called when data for a given layer is about to be deleted.
Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Get the class type for this particular instance of the Callback derived class.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
virtual |
Set the feature data broker that this callback is installed on.
|
protectedvirtual |
check the layer's config for the indirect_enabled flag and use it to determine if indirect should be used for this layer.
|
protectedvirtual |
processLayer helper method to process a building layer. Sets up the filter usage parameter for the building layer so that the callbacks needed for indirect are called.
|
protectedvirtual |
processLayer helper method to process a model layer. Sets up the filter usage parameter for the model layer so that the callbacks needed for indirect are called.
|
static |
Get the class name ("indirectGeometryManager", which is used to register with the DtOsgEarthFeatureDataBroker)
|
protected |
creator friend class so it is the only one that can create new DtIndirectGeometryCallback
|
staticprotected |
|
protected |
|
protected |
|
protected |