SoTVizDataPreprocessor Class Reference

TerrainViz Class used for elevation preprocessing. More...

#include <TerrainViz/nodes/SoTVizDataPreprocessor.h>

Inheritance diagram for SoTVizDataPreprocessor:

List of all members.

Public Member Functions

 SoTVizDataPreprocessor ()
virtual ~SoTVizDataPreprocessor ()
SbBool process ()
SbBool addFile (const SbString &fileName)
SbBool writeToXML (const SbString &fileName)

Detailed Description

TerrainViz Class used for elevation preprocessing.

This class allows preprocessing of multiple elevation files.

Please see SoTVizPreprocessor for datum and ellipsoid definitions and compatibility.

Supported input file formats include:

Outputs a single elevation file (.DAT) used by the SoTVizRender class. The output units can be specified by calling setOutputUnits. All input files must have the same resolution. The reference resolution is taken from the first input file. The writeToXML method exports the DAT file description to be read by SoTVizRender.





Deprecated since Open Inventor 9500
No longer supported.

Constructor & Destructor Documentation

SoTVizDataPreprocessor::SoTVizDataPreprocessor (  ) 


virtual SoTVizDataPreprocessor::~SoTVizDataPreprocessor (  )  [virtual]


Member Function Documentation

SbBool SoTVizDataPreprocessor::addFile ( const SbString fileName  ) 

Adds an elevation file to the preprocessor.

SbBool SoTVizDataPreprocessor::process (  )  [virtual]

Processes the file list and generates a .dat file named elevations.dat.

Implements SoTVizPreprocessor.

SbBool SoTVizDataPreprocessor::writeToXML ( const SbString fileName  )  [virtual]

Writes resulting elevation and textures description in a TerrainViz XML file.

Note this is a file name, not a path. The path used is the one given by setDestDirectory. Both preprocessors (textures and data) must reference the same file.

Implements SoTVizPreprocessor.

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

Open Inventor Toolkit reference manual, generated on 22 Sep 2021
Copyright © Thermo Fisher Scientific All rights reserved.