DtOsgEarthStreamedFeatureManager is an osgEarth-specific implemenation of a DtStreamedFeatureManager.
More...
Detailed Description
DtOsgEarthStreamedFeatureManager is an osgEarth-specific implemenation of a DtStreamedFeatureManager.
The manager uses a DtOsgEarthFeatureDataBroker to detect when tiles page in, and looks for CustomFeatureNodes in the sceneGraph of that tile. When found, those feature requests are processed using any registered creators
Constructor & Destructor Documentation
| virtual makVrv::DtOsgEarthStreamedFeatureManager::~DtOsgEarthStreamedFeatureManager |
( |
| ) |
|
|
virtual |
| makVrv::DtOsgEarthStreamedFeatureManager::DtOsgEarthStreamedFeatureManager |
( |
DtDe & |
de | ) |
|
|
protected |
| makVrv::DtOsgEarthStreamedFeatureManager::DtOsgEarthStreamedFeatureManager |
( |
| ) |
|
|
protected |
Member Function Documentation
| virtual void makVrv::DtOsgEarthStreamedFeatureManager::processNewFeatures |
( |
osgEarth::Features::CustomFeatureNode * |
featureNode | ) |
|
|
protectedvirtual |
When a callback on the DtOsgEarthFeatureDataBroker is fired, it looks for CustomFeatureNodes attached to nodes in the tile's scenegrph.
These get passed onto processNewFeatures() which calls any registered creators for the features contained within
| virtual void makVrv::DtOsgEarthStreamedFeatureManager::slot_customFeatureNodeToBeDeleted |
( |
osgEarth::Features::CustomFeatureNode * |
node | ) |
|
|
protectedvirtual |
The DtOsgEarthFeatureDataBroker callback connects the DtCustomFeatureNode's signal_aboutToBeDeleted to the our slot_customFeatureNodeToBeDeleted slot.
| virtual void makVrv::DtOsgEarthStreamedFeatureManager::onDataLoaded |
( |
osgEarth::Map * |
map, |
|
|
osgEarth::ModelLayer * |
layer, |
|
|
osg::Node * |
data |
|
) |
| |
|
protectedvirtual |
| virtual void makVrv::DtOsgEarthStreamedFeatureManager::slot_terrainPatchCreated |
( |
DtTerrainPatchObject & |
patch | ) |
|
|
protectedvirtual |
Find out when the terrain patch is ready to accept DtOsgEarthFeatureDataBroker callbacks.
When this signal fires, the manager looks up a terrain patch and installs an osgEarth data broker callback on osgEarth patches
Friends And Related Function Documentation
| friend class DtOsgEarthStreamedFeatureCallback |
|
friend |
Friended with feature callback to allow it to call our processing methods.
Friended with creator so that it can use our constructor.
Member Data Documentation
The documentation for this class was generated from the following file: