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

Public Member Functions | |
| DtLightFeatureBuilder (const DtLightFeatureBuilder &rhs) | |
| Copy CTOR. | |
| DtLightFeatureBuilder & | operator= (const DtLightFeatureBuilder &orig) |
| Assignment Operator. | |
| virtual | ~DtLightFeatureBuilder () |
| virtual DTOR | |
| 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 | |
| DtLightFeatureBuilder (DtAgentManagerInterface &sceneInterface, DtLightMarkerStringParser &parser) | |
| CTOR. | |
Protected Member Functions inherited from makVrv::DtNavigationFeatureBuilder | |
| DtNavigationFeatureBuilder (DtAgentManagerInterface &sceneInterface, DtNavigationFeatureStringParser &parser) | |
| CTOR. | |
Friends | |
| class | DtLightFeatureBuilderCreator |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtNavigationFeatureBuilder | |
| DtNavigationFeatureStringParser & | myObjectStringParser |
DtLightFeatureBuilder implements a DtStreamedFeatureCreator for lights.
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 lights, and parses the attribute/value pairs encoded into the streamed-in feature name. Its create method requests the parse using the DtLightMarkerStringParser its given, creates a DtNavigationLightController, initializes it with values retrieved by the parser and then adds it to the DtNavigationLightManager.
| makVrv::DtLightFeatureBuilder::DtLightFeatureBuilder | ( | const DtLightFeatureBuilder & | rhs | ) |
Copy CTOR.
|
virtual |
virtual DTOR
|
protected |
CTOR.
| sceneInterface | used to get an element id used to create a DtNavigationLightController |
| parser | is used to parse an encoded marker name string to retrieve light attributes from S57 |
| DtLightFeatureBuilder& makVrv::DtLightFeatureBuilder::operator= | ( | const DtLightFeatureBuilder & | 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 |