6.1. Introduction

Figure 6.1. TerrainViz classes



The TerrainViz extension provides a powerful tool for GIS, geoscience, and visual simulation applications by allowing interactive rendering of large textured terrain.

Starting with Open Inventor 7.0, TerrainViz no longer requires a separate license string. The TerrainViz features are included with your base Open Inventor license.

The following classes are included:

SoTViz

  • Used to initialize and get information about the TerrainViz module.

SoTVizRender

  • Manages the elevation data and the textures.

  • Recomputes the mesh.

  • Loads and generates TerrainViz XML files.

SoTVizPreprocessor

  • Preprocesses input data (abstract class);

SoTVizDataPreprocessor

  • Preprocesses input elevation files.

  • Generate the ROI elevation file (.dat).

  • Updates the XML description file.

SoTVizTexturePreprocessor

  • Preprocesses input image file.

  • Generate the ROI quadtree of textures file (.png files).

  • Updates the XML description file.

SbTVizData

  • Stores the elevation data (abstract class).

  • Returns information about the data.

SbTVizRegularGridData

  • Stores regular grid elevation data.

  • Returns values.

SbTVizTexture

  • Stores an image file and its attributes relating to the texture quadtree.

SbTVizTextureList

  • Handles the quadtree of textures.

SbTVizColorScale

  • Manages a list of altitudes and a corresponding color list.

  • Provides color shading and color contouring.

SoTVizViewer

  • Constrained viewer customized for terrain viewing.

  • Supports multiple motion modes.

  • Includes navigation tools.

SoTVizCameraManager

SoTVizNavigationToolBase

  • Base class of SoTVizViewer navigation tools.

  • Manages position and size, and event processing.

SoTVizNavigationTools

  • Manages navigation tools.

SoTVizCompass

  • Displays a compass in SoTVizViewer.

SoTVizAltimeterSpeedometer

  • Displays the camera height, terrain height, and speed in SoTVizViewer .

SoTVizControls

SoTVizControlsMenu