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

Protected Member Functions | |
| DtLightFeatureBuilder (DtAgentManagerInterface &sceneInterface, DtLightMarkerStringParser *parser) | |
| CTOR. | |
Protected Member Functions inherited from makVrv::DtNavigationFeatureBuilder | |
| DtNavigationFeatureBuilder (DtAgentManagerInterface &sceneInterface, DtNavigationFeatureStringParser *parser) | |
| CTOR. | |
| DtNavigationFeatureBuilder (const DtNavigationFeatureBuilder &rhs) | |
| Copy CTOR. | |
| DtNavigationFeatureBuilder & | operator= (const DtNavigationFeatureBuilder &orig) |
| Assignment Operator. | |
Friends | |
| class | DtLightFeatureBuilderCreator |
Additional Inherited Members | |
Protected Attributes inherited from makVrv::DtNavigationFeatureBuilder | |
| DtNavigationFeatureStringParser * | myObjectStringParser |
| DtNavigationFeatureManager * | myFeatureManager |
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 |
Implements makVrv::DtNavigationFeatureBuilder.
|
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 |