![]() |
VR-Forces 4.3 Class Documentation
|
DtNavigationFeatureBuilder implements a DtStreamedFeatureCreator for navigation features (ex. More...

Public Member Functions | |
| DtNavigationFeatureBuilder (const DtNavigationFeatureBuilder &rhs) | |
| Copy CTOR. | |
| DtNavigationFeatureBuilder & | operator= (const DtNavigationFeatureBuilder &orig) |
| Assignment Operator. | |
| virtual | ~DtNavigationFeatureBuilder () |
| virtual DTOR | |
| virtual DtUniqueID | create (DtDe &de, const std::string ®istrantName, const std::string &featureStyleName, const std::string &strFeatureName, DtVector vPosition, double scale, DtVector minBound, DtVector maxBound)=0 |
| Create a feature (a DtEntityFacade for now) | |
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 | |
| DtNavigationFeatureBuilder (DtAgentManagerInterface &sceneInterface, DtNavigationFeatureStringParser &parser) | |
| CTOR. | |
Protected Attributes | |
| DtNavigationFeatureStringParser & | myObjectStringParser |
Protected Attributes inherited from makVrv::DtStreamedFeatureCreator | |
| DtAgentManagerInterface * | mySceneInterface |
Friends | |
| class | DtNavigationFeatureBuilderCreator |
DtNavigationFeatureBuilder implements a DtStreamedFeatureCreator for navigation features (ex.
lights, daymarks). It reads configuration files found in appData/importConfig that it uses to map S57 color values to the switch values we use for navigation features, and parses the attribute/value pairs encoded into the streamed-in feature name. Its create method requests the parse using the DtObjectStringParser its given, creates a DtNavigationFeature, initializes it with values retrieved by the parser and then adds it to the DtNavigationFeatureManager.
| makVrv::DtNavigationFeatureBuilder::DtNavigationFeatureBuilder | ( | const DtNavigationFeatureBuilder & | rhs | ) |
Copy CTOR.
|
virtual |
virtual DTOR
|
protected |
CTOR.
| sceneInterface | used to get an element id used to create a DtNavigationFeature |
| parser | is used to parse an encoded marker name string to retrieve object attributes from S57 |
| DtNavigationFeatureBuilder& makVrv::DtNavigationFeatureBuilder::operator= | ( | const DtNavigationFeatureBuilder & | orig | ) |
Assignment Operator.
|
pure 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.
Implemented in makVrv::DtDaymarkFeatureBuilder, and makVrv::DtLightFeatureBuilder.
|
friend |
|
protected |