VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtDefaultPointFeatureVisualizer Class Reference

The default visualization of Point features. More...

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

List of all members.

Public Member Functions

 DtDefaultPointFeatureVisualizer (DtDe &de, DtPointFeature *feature)
virtual ~DtDefaultPointFeatureVisualizer ()
virtual void visualize (int modelSet)
 Visualize the point for a given model set.
virtual std::vector< DtUniqueIDfindSceneObjectIds () const
 Check to see if this point feature has a scene object id.
virtual void setColor (const float rgba[4])
 Set the color of the point feature.
virtual void setOutlineColor (const float rgba[4])
 Set the color of the point feature.
virtual void setHighlighted (bool highlighted)
 Set The visualizer to display the feature highlighted.

Protected Member Functions

void updatePosition (const DtVector &position)
 Update the position and the orientation of the object.
void create3dModels (int modelSet)
 Create the 3D models.
void create2dModels (int modelSet)
 Create the 2D models.
void updateHighlights ()

Protected Attributes

DtDemyDe
bool myHighlightedFlag
float myOutlineColor [4]
DtSignalConnectionManager myConnections
DtSceneObjectAgent * my3dAgent
DtSceneObjectAgent * my2dAgent
DtEllipsoidArcModelAgent * mySphereModel
 My 3D models.
DtAttachableCuboidModelAgent * myCubeModel
DtCylinderModelAgent * myCylinderModel
DtOverlayPolygonModelAgent * my2dOutlinePolygon
 My 2D models.
DtOverlayPolygonModelAgent * my2dFilledPolygon

Detailed Description

The default visualization of Point features.

Visualizes them as spheres, cylinders and cubes depending on their attribute values.


Constructor & Destructor Documentation


Member Function Documentation

virtual void makVrv::DtDefaultPointFeatureVisualizer::visualize ( int  modelSet) [virtual]

Visualize the point for a given model set.

Implements makVrv::DtFeatureVisualizer.

Check to see if this point feature has a scene object id.

Implements makVrv::DtFeatureVisualizer.

virtual void makVrv::DtDefaultPointFeatureVisualizer::setColor ( const float  rgba[4]) [virtual]

Set the color of the point feature.

Implements makVrv::DtFeatureVisualizer.

virtual void makVrv::DtDefaultPointFeatureVisualizer::setOutlineColor ( const float  rgba[4]) [virtual]

Set the color of the point feature.

Implements makVrv::DtFeatureVisualizer.

virtual void makVrv::DtDefaultPointFeatureVisualizer::setHighlighted ( bool  highlighted) [virtual]

Set The visualizer to display the feature highlighted.

Implements makVrv::DtFeatureVisualizer.

void makVrv::DtDefaultPointFeatureVisualizer::updatePosition ( const DtVector position) [protected]

Update the position and the orientation of the object.

void makVrv::DtDefaultPointFeatureVisualizer::create3dModels ( int  modelSet) [protected]

Create the 3D models.

void makVrv::DtDefaultPointFeatureVisualizer::create2dModels ( int  modelSet) [protected]

Create the 2D models.


Member Data Documentation

DtSceneObjectAgent* makVrv::DtDefaultPointFeatureVisualizer::my3dAgent [protected]
DtSceneObjectAgent* makVrv::DtDefaultPointFeatureVisualizer::my2dAgent [protected]
DtEllipsoidArcModelAgent* makVrv::DtDefaultPointFeatureVisualizer::mySphereModel [protected]

My 3D models.

DtAttachableCuboidModelAgent* makVrv::DtDefaultPointFeatureVisualizer::myCubeModel [protected]
DtOverlayPolygonModelAgent* makVrv::DtDefaultPointFeatureVisualizer::my2dOutlinePolygon [protected]

My 2D models.

DtOverlayPolygonModelAgent* makVrv::DtDefaultPointFeatureVisualizer::my2dFilledPolygon [protected]

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)