![]() |
VR-Forces 4.3 Class Documentation
|
DtDaymarkFeatureBuilder implements a DtStreamedFeatureCreator for daymarks. More...

Public Member Functions | |
| DtDaymarkFeatureBuilder (const DtDaymarkFeatureBuilder &rhs) | |
| Copy CTOR. | |
| DtDaymarkFeatureBuilder & | operator= (const DtDaymarkFeatureBuilder &orig) |
| Assignment Operator. | |
| virtual | ~DtDaymarkFeatureBuilder () |
| 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) |
| Create a feature (a DtEntityFacade for now) | |
Public Member Functions inherited from makVrv::DtNavigationFeatureBuilder | |
| DtNavigationFeatureBuilder (const DtNavigationFeatureBuilder &rhs) | |
| Copy CTOR. | |
| DtNavigationFeatureBuilder & | operator= (const DtNavigationFeatureBuilder &orig) |
| Assignment Operator. | |
| virtual | ~DtNavigationFeatureBuilder () |
| virtual DTOR | |
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 | |
| DtDaymarkFeatureBuilder (DtAgentManagerInterface &sceneInterface, DtDaymarkStringParser &parser) | |
| CTOR. | |
Protected Member Functions inherited from makVrv::DtNavigationFeatureBuilder | |
| DtNavigationFeatureBuilder (DtAgentManagerInterface &sceneInterface, DtNavigationFeatureStringParser &parser) | |
| CTOR. | |
Friends | |
| class | DtDaymarkFeatureBuilderCreator |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtNavigationFeatureBuilder | |
| DtNavigationFeatureStringParser & | myObjectStringParser |
DtDaymarkFeatureBuilder implements a DtStreamedFeatureCreator for daymarks.
It reads a configuration files found in appData/importConfig that it uses to map S57 color values to the switch values we use for navigation daymarks, and parses the attribute/value pairs encoded into the streamed-in feature name. Its create method requests the parse using the DtDaymarkStringParser its given, creates a DtNavigationDaymark, initializes it with values retrieved by the parser and then adds it to the DtNavigationDaymarkManager.
| makVrv::DtDaymarkFeatureBuilder::DtDaymarkFeatureBuilder | ( | const DtDaymarkFeatureBuilder & | rhs | ) |
Copy CTOR.
|
virtual |
virtual DTOR
|
protected |
CTOR.
| sceneInterface | used to get an element id used to create a DtNavigationDaymark |
| parser | is used to parse an encoded marker name string to retrieve daymark attributes from S57 |
| DtDaymarkFeatureBuilder& makVrv::DtDaymarkFeatureBuilder::operator= | ( | const DtDaymarkFeatureBuilder & | 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::DtNavigationFeatureBuilder.
|
friend |