![]() |
VR-Forces 4.10 Class Documentation
|
DtOsgEarthFeatureDataBroker::Callback that is fired when a new feature data 'tile' pages in. More...

Public Member Functions | |
| virtual void | onLayerLoaded (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) override |
| called when an osgEarth layer is loaded. More... | |
| virtual void | onDataPreMerge (const osgEarth::Layer *layer, osg::Node *data) override |
| Invoked by the broker from the pager thread before new data is added to the scenegraph. More... | |
| virtual void | onDataLoaded (const osgEarth::Layer *layer, const osg::Node *data) override |
| This is run after the data has been added to the scene graph and runs in the main thread. More... | |
| virtual float | callbackOrder () override |
| used to specify an order that the callbacks should run. More... | |
| virtual const std::string & | instanceClassName () const override |
| Get the class type for this particular instance of the Callback derived class. More... | |
Public Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback | |
| virtual void | onLayerOpened (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| Called when an osgEarth layer is opened. More... | |
| virtual void | onLayerClosed (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| Called when an osgEarth layer is closed. More... | |
| virtual void | onDataUnloaded (const osgEarth::Layer *layer, const osg::Node *oldData) |
| DtIndirectFadeParameters | parseFadeParametersForLayer (const osgEarth::MapNode *mapNode, osgEarth::Layer *layer) |
| get the fade parameters for a particular layer. More... | |
Static Public Member Functions | |
| static const std::string & | className () |
| Get the class name (used to register with the DtOsgEarthFeatureDataBroker. More... | |
Protected Member Functions | |
| virtual | ~DtOsgEarthStreamedFeatureCallback () |
| DTOR. More... | |
| DtOsgEarthStreamedFeatureCallback (DtDe &de, DtOsgEarthStreamedFeatureManager &featureMgr) | |
Protected Attributes | |
| friend | DtOsgEarthStreamedFeatureCallbackCreator |
| creator friend class so it is the only one that can create new DtOsgEarthStreamedFeatureCallback More... | |
| DtOsgEarthStreamedFeatureManager & | myFeatureManager |
| DtDe & | myDe |
Static Protected Attributes | |
| static const std::string | theClassName |
Private Member Functions | |
| DtOsgEarthStreamedFeatureCallback (const DtOsgEarthStreamedFeatureCallback &other)=delete | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtOsgEarthStreamedFeatureCallback & | operator= (const DtOsgEarthStreamedFeatureCallback &other)=delete |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Additional Inherited Members | |
Static Protected Member Functions inherited from makVrv::DtOsgEarthFeatureDataBroker::Callback | |
| static bool | isModelLayer (const osgEarth::Layer *layer) |
| check a layer to see if it is a model layer More... | |
DtOsgEarthFeatureDataBroker::Callback that is fired when a new feature data 'tile' pages in.
In uses the visitor above to find any CustomFeatureNodes. It then passes that data to the streamed feature manager, and also connects the custom node's 'being destroyed' signal to the feature manager's equivalent slot.
|
protectedvirtual |
DTOR.
|
protected |
|
privatedelete |
Copy Constructor not implemented – Copy Not Allowed.
|
privatedelete |
Assignment Operator Not implemented – Assignment Not Allowed.
|
overridevirtual |
called when an osgEarth layer is loaded.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Invoked by the broker from the pager thread before new data is added to the scenegraph.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
This is run after the data has been added to the scene graph and runs in the main thread.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
used to specify an order that the callbacks should run.
Should be 2.0; lower callbacks are run first. This needs to run after the default callbacks but before the destructible terrain call back
Reimplemented from makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
overridevirtual |
Get the class type for this particular instance of the Callback derived class.
Implements makVrv::DtOsgEarthFeatureDataBroker::Callback.
|
static |
Get the class name (used to register with the DtOsgEarthFeatureDataBroker.
|
protected |
creator friend class so it is the only one that can create new DtOsgEarthStreamedFeatureCallback
|
staticprotected |
|
protected |
|
protected |