![]() |
VR-Forces 4.6.1 Class Documentation
|
DtOsgEarthStreamedFeatureManager is an osgEarth-specific implemenation of a DtStreamedFeatureManager. More...

Public Member Functions | |
| virtual | ~DtOsgEarthStreamedFeatureManager () |
| DTOR. | |
Public Member Functions inherited from makVrv::DtStreamedFeatureManager | |
| virtual | ~DtStreamedFeatureManager () |
| DTOR. | |
| virtual void | addStreamedFeatureCreator (const std::string ®istrantName, const std::string &styleName, DtStreamedFeatureCreator *creator) |
| Register a creator to be called when features are streamed in. | |
Protected Member Functions | |
| virtual void | onDataLoaded (const osgEarth::Map *map, const osgEarth::ModelLayer *layer, const osg::Node *data) |
| DtOsgEarthStreamedFeatureManager (DtDe &de) | |
| DtOsgEarthStreamedFeatureManager () | |
| virtual void | slot_terrainPatchCreated (DtTerrainPatchObject &patch) |
| Find out when the terrain patch is ready to accept DtOsgEarthFeatureDataBroker callbacks. | |
| virtual void | processNewFeatures (const osgEarth::Features::CustomFeatureNode *featureNode) |
| When a callback on the DtOsgEarthFeatureDataBroker is fired, it looks for CustomFeatureNodes attached to nodes in the tile's scenegrph. | |
| virtual void | slot_customFeatureNodeToBeDeleted (const osgEarth::Features::CustomFeatureNode *node) |
| The DtOsgEarthFeatureDataBroker callback connects the DtCustomFeatureNode's signal_aboutToBeDeleted to the our slot_customFeatureNodeToBeDeleted slot. | |
Protected Member Functions inherited from makVrv::DtStreamedFeatureManager | |
| DtStreamedFeatureManager (DtDe &de) | |
| CTOR - protected; only created by the DtStreamedFeatureManagerCreator class. | |
| DtStreamedFeatureManager () | |
| Unimplemented default CTOR. | |
Protected Attributes | |
| DtKeyedSignalConnectionManager < const osgEarth::Features::CustomFeatureNode * > | myKeyedConnections |
Protected Attributes inherited from makVrv::DtStreamedFeatureManager | |
| DtDe & | myDe |
| FeatureClassCreatorMap | myFeatureClassCreators |
Friends | |
| class | DtOsgEarthStreamedFeatureCallback |
| Friended with feature callback to allow it to call our processing methods. | |
| class | DtOsgEarthStreamedFeatureManagerCreator |
| Friended with creator so that it can use our constructor. | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtStreamedFeatureManager | |
| boost::signal< void(const std::string ®istrantName, DtUniqueID featurId)> | signal_featureAboutToBeDeleted |
| Signal raised when a feature has streamed out (of page cache) | |
Protected Types inherited from makVrv::DtStreamedFeatureManager | |
| typedef std::pair< std::string, DtStreamedFeatureCreator * > | CreatorElement |
| typedef boost::unordered_multimap < std::string, CreatorElement > | FeatureClassCreatorMap |
| typedef std::pair < FeatureClassCreatorMap::iterator, FeatureClassCreatorMap::iterator > | RangeIterFeatureClassToCreator |
| typedef std::pair < FeatureClassCreatorMap::const_iterator, FeatureClassCreatorMap::const_iterator > | ConstRangeIterFeatureClassToCreator |
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
|
virtual |
DTOR.
|
protected |
|
protected |
|
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
|
protectedvirtual |
The DtOsgEarthFeatureDataBroker callback connects the DtCustomFeatureNode's signal_aboutToBeDeleted to the our slot_customFeatureNodeToBeDeleted slot.
|
protectedvirtual |
|
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
|
friend |
Friended with feature callback to allow it to call our processing methods.
|
friend |
Friended with creator so that it can use our constructor.
|
protected |