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

Public Member Functions | |
| virtual | ~DtIndirectGeometryCallback () |
| DTOR. More... | |
| virtual void | onLayerLoaded (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| callbacks Will be called when osgEarth loads a new feature layer More... | |
| virtual void | onDataPreMerge (const osgEarth::Map *map, const osgEarth::Layer *layer, osg::Node *newData) |
| Invoked by the broker from the pager thread before new data is added to the scenegraph. More... | |
| virtual void | onDataLoaded (const osgEarth::Map *map, const osgEarth::Layer *layer, const osg::Node *newData) |
| Will be called when osgEarth loads data for a layer. More... | |
| virtual void | onDataUnloaded (const osgEarth::Map *map, const osgEarth::Layer *layer, const osg::Node *oldData) |
| Will be called when data for a given layer is about to be deleted. More... | |
| virtual const std::string & | instanceClassName () const |
| Get the class type for this particular instance of the Callback derrived class. More... | |
| virtual void | setFeatureDataBroker (DtOsgEarthFeatureDataBroker *featureDataBroker) |
| Set the feature data broker that this callback is installed on. More... | |
Public Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback | |
| virtual float | callbackOrder () |
| used to specify an order that the callbacks should run. More... | |
| DtIndirectFadeParameters | parseFadeParametersForLayer (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
Static Public Member Functions | |
| static const std::string & | className () |
| Get the class name ("indirectGeometryManager", which is used to register with the DtOsgEarthFeatureDataBroker) More... | |
Protected Types | |
| typedef boost::unordered_map < const osgEarth::Layer *, DtIndirectGeometryLayerManager * > | MapLayerToLayerManagerIndirectGeometry |
| map of layers in the osg earth terrain to the layer manager for each layer More... | |
Protected Member Functions | |
| DtIndirectGeometryCallback (DtDe &de) | |
| CTOR. More... | |
| virtual bool | checkForIndirectRenderingParameter (osgEarth::Layer *layer) |
| check the layer's config for the indirect_enabled flag and use it to determine if indirect should be used for this layer. More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtOsgEarthFeatureDataBroker * | myFeatureDataBroker |
| MapLayerToLayerManagerIndirectGeometry | myMapLayerToLayerManagerIndirectGeometry |
Static Protected Attributes | |
| static const std::string | theClassName |
Private Member Functions | |
| DtIndirectGeometryCallback () | |
| CTOR (unimplemented default CTOR) More... | |
| DtIndirectGeometryCallback & | operator= (const DtIndirectGeometryCallback &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
| DtIndirectGeometryCallback (const DtIndirectGeometryCallback &other) | |
| Copy Constructor Not implemented – Copy Constructor Not Allowed. More... | |
Friends | |
| class | DtIndirectGeometryCallbackCreator |
| creator friend class so it is the only one that can create new DtIndirectGeometryCallback More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback | |
| static bool | isModelLayer (const osgEarth::Layer *layer) |
DtIndirectGeometryCallback is a data broker callback that handles feature tile load/unload callbacks to handle the rendering of these features using indirect rendering.
|
protected |
map of layers in the osg earth terrain to the layer manager for each layer
|
virtual |
DTOR.
|
protected |
CTOR.
|
private |
CTOR (unimplemented default CTOR)
|
private |
Copy Constructor Not implemented – Copy Constructor Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
callbacks Will be called when osgEarth loads a new feature layer
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
virtual |
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.
|
virtual |
Will be called when osgEarth loads data for a layer.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
virtual |
Will be called when data for a given layer is about to be deleted.
Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
virtual |
Get the class type for this particular instance of the Callback derrived 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.
|
static |
Get the class name ("indirectGeometryManager", which is used to register with the DtOsgEarthFeatureDataBroker)
|
friend |
creator friend class so it is the only one that can create new DtIndirectGeometryCallback
|
staticprotected |
|
protected |
|
protected |
|
protected |