![]() |
VR-Forces 4.6.1 Class Documentation
|
DtDynamicFeatureBuilder implements a DtStreamedFeatureCreator for features that utilize meta files (ex. More...

Public Member Functions | |
| DtDynamicFeatureBuilder (const DtDynamicFeatureBuilder &rhs) | |
| Copy CTOR. | |
| DtDynamicFeatureBuilder & | operator= (const DtDynamicFeatureBuilder &orig) |
| Assignment Operator. | |
| virtual | ~DtDynamicFeatureBuilder () |
| virtual DTOR | |
| virtual DtUniqueID | create (DtDe &de, const std::string ®istrantName, const std::string &featureStyleName, const std::string &strFeatureName, const DtVector &vPosition, double scale, DtVector minBound, DtVector maxBound) |
| Create a feature (a DtEntityFacade for now) | |
| virtual void | createAndAddDynamicFeature (DtUniqueID elementId, const std::string &modelDefName, const std::string &buoyName, const DtVector &vPosition) |
| virtual std::string | buildModelDefinition (const std::string &markerName) |
| void | slot_featureToBeDeleted (const std::string &layerName, DtUniqueID featureId) |
Public Member Functions inherited from makVrv::DtStreamedFeatureCreator | |
| DtStreamedFeatureCreator (DtAgentManagerInterface &sceneInterface) | |
| CTOR. | |
| DtStreamedFeatureCreator (const DtStreamedFeatureCreator &orig) | |
| DtStreamedFeatureCreator & | operator= (const DtStreamedFeatureCreator &rhs) |
| Assignment operator. | |
| virtual | ~DtStreamedFeatureCreator () |
Protected Member Functions | |
| DtDynamicFeatureBuilder (DtDe &de, const std::string ®istrantName, const std::string &featureClass) | |
| CTOR. | |
Protected Attributes | |
| DtDe & | myDe |
| DtSignalConnectionManager | myConnections |
| std::string | myDynamicFeatureName |
| std::string | myFeatureClass |
| std::string | myRegistrantName |
Protected Attributes inherited from makVrv::DtStreamedFeatureCreator | |
| DtAgentManagerInterface * | mySceneInterface |
Friends | |
| class | DtDynamicFeatureBuilderCreator |
DtDynamicFeatureBuilder implements a DtStreamedFeatureCreator for features that utilize meta files (ex.
flags, windsocks). It reads configuration files found in appData/importConfig that identify which osgearth styles to process. By creating the objects in the style, nodes are identified and functions associated with those nodes that can update the node's state. The .meta file should be in the same folder as the .medf file being loaded <– true? change this
| makVrv::DtDynamicFeatureBuilder::DtDynamicFeatureBuilder | ( | const DtDynamicFeatureBuilder & | rhs | ) |
Copy CTOR.
|
virtual |
virtual DTOR
|
protected |
CTOR.
| de | is the display engine |
| registrantName | is the builder name (ex. "Dynamic Feature Layer") |
| featureClass | is the name of the list of styles to look in for the .earth file (ex. "Meta") The code registers the styles listed in importConfig/meta_layer_list.csv with instances of this type of builder object (one builder per style) |
| DtDynamicFeatureBuilder& makVrv::DtDynamicFeatureBuilder::operator= | ( | const DtDynamicFeatureBuilder & | orig | ) |
Assignment Operator.
|
virtual |
Create a feature (a DtEntityFacade for now)
| registrantName | is the name that was provided to the DtStreamedFeatureManager when the DtStreamedFeatureCreator was registered |
| styleName | is the name provided in the .osgEarth style block specified for this feature. |
| strFeatureName | is the markerName returned by osgEarth for the feature from a marker: specification |
| vPosition | is the position of the feature |
| scale | is any scale factor provided from an osgEarth marker-scale: specification |
| minBound | is the min x,y,z of the feature bound |
| maxBound | is the max x,y,z of the feature bound |
Implements makVrv::DtStreamedFeatureCreator.
|
virtual |
|
virtual |
| void makVrv::DtDynamicFeatureBuilder::slot_featureToBeDeleted | ( | const std::string & | layerName, |
| DtUniqueID | featureId | ||
| ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |