SoTVizAltimeterSpeedometer Class Reference
[TerrainViz]

TerrainViz Class for displaying motion information. More...

#include <TerrainViz/viewer/SoTVizAltimeterSpeedometer.h>

Inheritance diagram for SoTVizAltimeterSpeedometer:
SoTVizNavigationToolBase

List of all members.

Public Types

enum  predefinedTerrainAltimeterSpeedometer { TERRAINALTISPEED_DEFAULT }

Public Member Functions

 SoTVizAltimeterSpeedometer ()
virtual ~SoTVizAltimeterSpeedometer ()
virtual void loadFile (const char *fileName)
virtual void loadPredefined (predefinedTerrainAltimeterSpeedometer tool)
virtual void notifyElevation (float newRelativeElevation, float newGroundElevation, SoTVizCameraManager::lengthUnits newLengthUnit)
virtual void notifySpeed (float newSpeed, SoTVizViewer::speedUnits newSpeedUnit)

Detailed Description

TerrainViz Class for displaying motion information.

This class is used to display the camera height, terrain height, and speed in SoTVizViewer.

The altimeter speedometer model is loaded from an .iv file using the loadFile method.

SEE ALSO

SoTVizNavigationToolBase, SoTVizNavigationTool, SoTVizViewer

Deprecated:

Deprecated since Open Inventor 9500
No longer supported.

Member Enumeration Documentation

Enumerator:
TERRAINALTISPEED_DEFAULT 

Default altimeter/speedometer.


Constructor & Destructor Documentation

SoTVizAltimeterSpeedometer::SoTVizAltimeterSpeedometer (  ) 

Constructor.

virtual SoTVizAltimeterSpeedometer::~SoTVizAltimeterSpeedometer (  )  [virtual]

Destructor.


Member Function Documentation

virtual void SoTVizAltimeterSpeedometer::loadFile ( const char *  fileName  )  [virtual]

Loads the .iv file representing the tool.

The model must have at least three SoText3 nodes with the names RelativeElevation, GroundElevation, and Speed. These nodes are used to display the camera height, terrain height, and speed respectively. The default altimeter speedometer .iv file is provided in the $OIVHOME/data/TerrainViz/viewer directory.

Implements SoTVizNavigationToolBase.

virtual void SoTVizAltimeterSpeedometer::loadPredefined ( predefinedTerrainAltimeterSpeedometer  tool  )  [virtual]

Loads a predefined tool.

virtual void SoTVizAltimeterSpeedometer::notifyElevation ( float  newRelativeElevation,
float  newGroundElevation,
SoTVizCameraManager::lengthUnits  newLengthUnit 
) [virtual]

This method is called by SoTVizViewer to notify the tool about new relative elevation, ground elevation, and length unit values.

Reimplemented from SoTVizNavigationToolBase.

virtual void SoTVizAltimeterSpeedometer::notifySpeed ( float  newSpeed,
SoTVizViewer::speedUnits  newSpeedUnit 
) [virtual]

This method is called by SoTVizViewer to notify the tool about new camera speed and speed unit values.

Reimplemented from SoTVizNavigationToolBase.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/