The DtStreamedFeatureLayer is the base implementation of a layer of data which contains buoys and beacons that are part of the terrain.
More...
|
typedef
boost::unordered_multimap
< std::string, std::string > | StylesMap |
| | Type for sets of style names (layers) we listen to. More...
|
| |
The DtStreamedFeatureLayer is the base implementation of a layer of data which contains buoys and beacons that are part of the terrain.
List of Buoys and Beacons.
Type for sets of style names (layers) we listen to.
| virtual makVrv::DtStreamedFeatureLayer::~DtStreamedFeatureLayer |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtStreamedFeatureLayer::addFeature |
( |
DtProp * |
feature, |
|
|
DtUniqueID |
elementId |
|
) |
| |
|
virtual |
Add Buoy or beacon.
Ownership of the Buoy or beacon will be passed to the layer. hasNavLights flag puts the objects location/ and id onto list of objects to search through when streamed lights are attached. hasNavDaymarks and hasNavTopmarks work similarly. is passed in since it won't be available yet from the facade, and we need that exact location kept around because that is how attachable items are matched to the objects they're attached to
| virtual bool makVrv::DtStreamedFeatureLayer::destroyFeature |
( |
DtUniqueID |
elementId | ) |
|
|
virtual |
Destroys the Buoy or Beacon with the unique id.
Returns true if the object was destroyed, false otherwise.
| virtual DtProp* makVrv::DtStreamedFeatureLayer::findFeature |
( |
DtUniqueID |
elementId | ) |
|
|
virtual |
Finds a pointer to the Buoy or Beacon on the feature layer with the same identifiers as the passed in id.
Get the container of Buoys and Beacons associated with the layer.
| void makVrv::DtStreamedFeatureLayer::slot_sceneCreated |
( |
| ) |
|
|
protected |
If the IG is initialized when this is called, it will call initializeFeatureCreators.
Otherwise, it connects to the postInitialize signal, which will then call initializeFeatureCreators.
| void makVrv::DtStreamedFeatureLayer::slot_postInitialize |
( |
| ) |
|
|
protected |
slot used to wait for postInitialized signal
| virtual void makVrv::DtStreamedFeatureLayer::initializeFeatureCreators |
( |
| ) |
|
|
protectedvirtual |
Register creators with the streamed feature manager for each buoy and beacon layer of interest.
| bool makVrv::DtStreamedFeatureLayer::readStyleListFile |
( |
const std::string & |
path, |
|
|
const std::string & |
layerListFileName, |
|
|
StylesMap & |
map |
|
) |
| |
|
protected |
Read a file that specifies a list of osgEarth style names that we wish to have our registered builder called for when features are streamed in.
| DtDe& makVrv::DtStreamedFeatureLayer::myDe |
|
protected |
| std::string makVrv::DtStreamedFeatureLayer::myName |
|
protected |
| StylesMap makVrv::DtStreamedFeatureLayer::myStylesMap |
|
protected |
| boost::signalslib::connection makVrv::DtStreamedFeatureLayer::myPostInitializeConnection |
|
protected |
The documentation for this class was generated from the following file: