![]() |
VR-Forces 4.1 Class Documentation
|
The point feature is a feature that describes a single location. More...

Public Member Functions | |
| virtual std::string | generateDisplayName () const |
| Generate a display name for this feature. | |
| const DtVector & | location () const |
| Get the location, the location will be in local coordinate system of the feature layer the feature set is a member of. | |
| void | setLocation (const DtVector &location) |
| Set the location of the point feature. | |
| const DtVector & | dimensions () const |
| Get the dimensions of the point feature. | |
| void | setDimensions (const DtVector &dimensions) |
| Set the dimensions of the point feature. | |
| double | rotation () const |
| Gets the rotation around Up in radians. | |
| void | setRotation (double angleRad) |
| Sets the rotation around Up in radians. | |
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. | |
Public Attributes | |
| boost::signal< void(DtVector &)> | signal_locationChanged |
| Signal that the location changed. | |
Protected Member Functions | |
| DtPointFeature (DtElementID elementId, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0) | |
| CTOR is protected, use the DtFeatureSet interface for creating features. | |
| virtual | ~DtPointFeature () |
| 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 | |
| DtVector | myLocation |
| DtVector | myDimensions |
| double | myRotation |
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 point feature is a feature that describes a single location.
Typically an object at that location.
|
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.
| const DtVector& makVrv::DtPointFeature::location | ( | ) | const |
Get the location, the location will be in local coordinate system of the feature layer the feature set is a member of.
| void makVrv::DtPointFeature::setLocation | ( | const DtVector & | location | ) |
Set the location of the point feature.
| const DtVector& makVrv::DtPointFeature::dimensions | ( | ) | const |
Get the dimensions of the point feature.
x = width, y = length, z = height.
| void makVrv::DtPointFeature::setDimensions | ( | const DtVector & | dimensions | ) |
Set the dimensions of the point feature.
x = width, y = length, z = height.
| double makVrv::DtPointFeature::rotation | ( | ) | const |
Gets the rotation around Up in radians.
| void makVrv::DtPointFeature::setRotation | ( | double | angleRad | ) |
Sets the rotation around Up in radians.
|
friend |
| boost::signal<void (DtVector&)> makVrv::DtPointFeature::signal_locationChanged |
Signal that the location changed.
|
protected |
|
protected |
|
protected |