VR-Forces Developer's Guide
 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. Typically an object at that location.

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

Public Member Functions

virtual std::string generateDisplayName () const
 
const DtVectorlocation () const
 
void setLocation (const DtVector &location)
 
const DtVectordimensions () const
 
void setDimensions (const DtVector &dimensions)
 
double rotation () const
 
void setRotation (double angleRad)
 
- Public Member Functions inherited from makVrv::DtFeature
virtual ~DtFeature ()
 
DtElementID elementId () const
 
DFAD::FeatureID featureID () const
 
const DtFaccCodefaccCode () const
 
unsigned int sourceID () const
 
DFAD::SurfaceMaterialCode soilType ()
 
DtFeatureVisualizerfindFeatureVisualizer ()
 
void setFeatureVisualizer (DtFeatureVisualizer *vis)
 

Public Attributes

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

Protected Member Functions

 DtPointFeature (DtElementID elementId, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0)
 
virtual ~DtPointFeature ()
 
- Protected Member Functions inherited from makVrv::DtFeature
 DtFeature (DtElementID id, DFAD::FeatureID featureID, const DtFaccCode &feautureCode, unsigned int sourceId=0)
 

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
 

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 Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)