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

Public Member Functions | |
| virtual DtNavigationFeatureBuilder * | clone () const =0 |
| virtual | ~DtNavigationFeatureBuilder () |
| 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)=0 |
| Create a feature (a DtEntityFacade for now) | |
| DtNavigationFeatureStringParser * | parser () |
| void | setFeatureManager (DtNavigationFeatureManager *featureManager) |
| DtNavigationFeatureManager * | featureManager () |
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. | |
| DtNavigationFeatureBuilder (const DtNavigationFeatureBuilder &rhs) | |
| Copy CTOR. | |
| DtNavigationFeatureBuilder & | operator= (const DtNavigationFeatureBuilder &orig) |
| Assignment Operator. | |
Protected Attributes | |
| DtNavigationFeatureStringParser * | myObjectStringParser |
| DtNavigationFeatureManager * | myFeatureManager |
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.
|
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 |
|
protected |
Copy CTOR.
|
pure virtual |
Implemented in makVrv::DtLightFeatureBuilder, and makVrv::DtNavMarkFeatureBuilder.
|
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::DtLightFeatureBuilder, and makVrv::DtNavMarkFeatureBuilder.
| DtNavigationFeatureStringParser* makVrv::DtNavigationFeatureBuilder::parser | ( | ) |
| void makVrv::DtNavigationFeatureBuilder::setFeatureManager | ( | DtNavigationFeatureManager * | featureManager | ) |
| DtNavigationFeatureManager* makVrv::DtNavigationFeatureBuilder::featureManager | ( | ) |
|
protected |
Assignment Operator.
|
friend |
|
protected |
|
protected |