VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends
makVrv::DtPointFeature Class Reference

The point feature is a feature that describes a single location. More...

Inheritance diagram for makVrv::DtPointFeature:
Inheritance graph
[legend]

Public Member Functions

virtual std::string generateDisplayName () const
 Generate a display name for this feature. More...
 
const DtVectorlocation () const
 Get the location, the location will be in local coordinate system of the feature layer the feature set is a member of. More...
 
void setLocation (const DtVector &location)
 Set the location of the point feature. More...
 
const DtVectordimensions () const
 Get the dimensions of the point feature. More...
 
void setDimensions (const DtVector &dimensions)
 Set the dimensions of the point feature. More...
 
double rotation () const
 Gets the rotation around Up in radians. More...
 
void setRotation (double angleRad)
 Sets the rotation around Up in radians. More...
 
- Public Member Functions inherited from makVrv::DtFeature
virtual ~DtFeature ()
 DTOR. More...
 
DtElementID elementId () const
 Get the element id of the feature. More...
 
DFAD::FeatureID featureID () const
 Get the feature id of the feature. More...
 
const DtFaccCodefaccCode () const
 Get the feature code of the feature. More...
 
unsigned int sourceID () const
 Get the feature source id. More...
 
DFAD::SurfaceMaterialCode soilType ()
 Get the soil type of the feature. More...
 
DtFeatureVisualizerfindFeatureVisualizer ()
 Attempt to get the feature visualizer for the feature. More...
 
void setFeatureVisualizer (DtFeatureVisualizer *vis)
 Sets the feature visualizer for the feature. More...
 

Public Attributes

boost::signalslib::signal
< void(DtVector &)> 
signal_locationChanged
 Signal that the location changed. More...
 

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. More...
 
virtual ~DtPointFeature ()
 DTOR is protected, use the DtFeatureSet interface for destroying features. More...
 
- 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. More...
 

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
 
DtFeatureVisualizermyFeatureVisualizer
 

Friends

class DtFeatureSet
 

Detailed Description

The point feature is a feature that describes a single location.

Typically an object at that location.

Constructor & Destructor Documentation

makVrv::DtPointFeature::DtPointFeature ( DtElementID  elementId,
DFAD::FeatureID  featureID,
const DtFaccCode feautureCode,
unsigned int  sourceId = 0 
)
protected

CTOR is protected, use the DtFeatureSet interface for creating features.

virtual makVrv::DtPointFeature::~DtPointFeature ( )
protectedvirtual

DTOR is protected, use the DtFeatureSet interface for destroying features.

Member Function Documentation

virtual std::string makVrv::DtPointFeature::generateDisplayName ( ) const
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.

Friends And Related Function Documentation

friend class DtFeatureSet
friend

Member Data Documentation

boost::signalslib::signal<void (DtVector&)> makVrv::DtPointFeature::signal_locationChanged

Signal that the location changed.

DtVector makVrv::DtPointFeature::myLocation
protected
DtVector makVrv::DtPointFeature::myDimensions
protected
double makVrv::DtPointFeature::myRotation
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)