![]() |
VR-Forces 5.0.1 Developer's Guide
|
This is the base Terrain Feature class which all specific feature types extend. This feature has a pointer to it's specification. However it does not own its specification. The specification is owned by the specification manager. This allows features with the same specification to share the specification.

Public Member Functions | |
| virtual | ~DtFeature () |
| DtElementID | elementId () const |
| virtual std::string | generateDisplayName () const =0 |
| DFAD::FeatureID | featureID () const |
| const DtFaccCode & | faccCode () const |
| unsigned int | sourceID () const |
| DFAD::SurfaceMaterialCode | soilType () |
| DtFeatureVisualizer * | findFeatureVisualizer () |
| void | setFeatureVisualizer (DtFeatureVisualizer *vis) |
Protected Member Functions | |
| DtFeature (DtElementID id, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0) | |
Protected Attributes | |
| const DtElementID | myElementId |
| DFAD::FeatureID | myFeatureID |
| unsigned int | mySourceId |
| DtFaccCode | myFeatureCode |
| DFAD::SurfaceMaterialCode | mySoilType |
| float | myWidth |
| float | myLength |
| float | myHeight |
| float | myOrientation |
| DtFeatureVisualizer * | myFeatureVisualizer |
Friends | |
| class | DtFeatureSet |
| class | DtFaccManager |
|
virtual |
DTOR.
|
protected |
CTOR is protected as features can only be created using the DtFeatureSet class.
| DtElementID makVrv::DtFeature::elementId | ( | ) | const |
Get the element id of the feature. The element id is the unique id VR-Vantage assigns for this object.
|
pure virtual |
Generate a display name for this feature.
Implemented in makVrv::DtEdgeFeature, makVrv::DtPointFeature, and makVrv::DtArealFeature.
| DFAD::FeatureID makVrv::DtFeature::featureID | ( | ) | const |
Get the feature id of the feature.
| const DtFaccCode& makVrv::DtFeature::faccCode | ( | ) | const |
Get the feature code of the feature.
| DFAD::SurfaceMaterialCode makVrv::DtFeature::soilType | ( | ) |
Get the soil type of the feature.
| DtFeatureVisualizer* makVrv::DtFeature::findFeatureVisualizer | ( | ) |
Attempt to get the feature visualizer for the feature.
| void makVrv::DtFeature::setFeatureVisualizer | ( | DtFeatureVisualizer * | vis | ) |
Sets the feature visualizer for the feature.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |