VR-Forces 4.0.4 Class Documentation
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]

List of all members.

Public Member Functions

virtual std::string generateDisplayName () const
 Generate a display name for this feature.
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.
void setLocation (const DtVector &location)
 Set the location of the point feature.
const DtVectordimensions () 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 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 Attributes

DtVector myLocation
DtVector myDimensions
double myRotation

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 ( ) [protected, virtual]

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.

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.

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.

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]

Reimplemented from makVrv::DtFeature.


Member Data Documentation

Signal that the location changed.


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)