![]() |
VR-Forces 4.5 Class Documentation
|
The edge feature is a feature that describes a vector feature, typically several connected line segments. More...

Classes | |
| struct | Point |
Public Member Functions | |
| virtual std::string | generateDisplayName () const |
| Generate a display name for this feature. | |
| void | addPoint (const DtVector &position) |
| Adds a new point. | |
| void | insertPoint (unsigned int index, const DtVector &position) |
| Adds a new point at the index, if the index exceeds the number of points, the point is added to the end. | |
| void | removePoint (unsigned int index) |
| Removes a point at a given index. | |
| unsigned int | numberOfPoints () const |
| Get the number of points in the edge feature. | |
| const DtVector & | pointLocation (unsigned int index) const |
| Get the position of a point. | |
| void | setPointLocation (unsigned int index, const DtVector &pos) |
| Set the position of a point. | |
Public Member Functions inherited from makVrv::DtFeature | |
| virtual | ~DtFeature () |
| DTOR. | |
| DtElementID | elementId () const |
| Get the element id of the feature. | |
| DFAD::FeatureID | featureID () const |
| Get the feature id of the feature. | |
| const DtFaccCode & | faccCode () const |
| Get the feature code of the feature. | |
| unsigned int | sourceID () const |
| Get the feature source id. | |
| DFAD::SurfaceMaterialCode | soilType () |
| Get the soil type of the feature. | |
| DtFeatureVisualizer * | findFeatureVisualizer () |
| Attempt to get the feature visualizer for the feature. | |
| void | setFeatureVisualizer (DtFeatureVisualizer *vis) |
| Sets the feature visualizer for the feature. | |
Protected Types | |
| typedef std::vector< Point > | PointList |
Protected Member Functions | |
| DtEdgeFeature (DtElementID elementId, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0) | |
| CTOR is protected, use the DtFeatureSet interface for creating features. | |
| virtual | ~DtEdgeFeature () |
| DTOR is protected, use the DtFeatureSet interface for destroying features. | |
Protected Member Functions inherited from makVrv::DtFeature | |
| DtFeature (DtElementID id, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0) | |
| CTOR is protected as features can only be created using the DtFeatureSet class. | |
Protected Attributes | |
| PointList | myPoints |
Protected Attributes inherited from makVrv::DtFeature | |
| 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 |
The edge feature is a feature that describes a vector feature, typically several connected line segments.
|
protected |
|
protected |
CTOR is protected, use the DtFeatureSet interface for creating features.
|
protectedvirtual |
DTOR is protected, use the DtFeatureSet interface for destroying features.
|
virtual |
Generate a display name for this feature.
Implements makVrv::DtFeature.
Reimplemented in makVrv::DtArealFeature.
| void makVrv::DtEdgeFeature::addPoint | ( | const DtVector & | position | ) |
Adds a new point.
Adds a new point at the index, if the index exceeds the number of points, the point is added to the end.
| void makVrv::DtEdgeFeature::removePoint | ( | unsigned int | index | ) |
Removes a point at a given index.
| unsigned int makVrv::DtEdgeFeature::numberOfPoints | ( | ) | const |
Get the number of points in the edge feature.
Get the position of a point.
| DtInvalidInput | if the index is out of range. |
Set the position of a point.
| DtInvalidInput | if the index is out of range. |
|
friend |
|
protected |