HeightField Examples

The below are a few ways that HeightFields can be used to display data.

 

Display Contours on HeightField

  1. Load a .DEM or .GRD file with elevations or bathymetry by clicking the File | Import command.

  2. In the Lattice Import Options dialog, select Import as curvilinear lattice and click OK.  Voxler loads the .DEM file elevation values in the curvilinear lattice as both the Component 1 and Z values.

  3. Attach a HeightField module to the output connection pad of the module by clicking the Network | Graphics Output | HeightField command.

  4. Attach a Contours module to the output connection pad of the grid module by clicking the Network | Graphics Output | Contours command.

The contours are automatically placed at the correct position on the HeightField.

 

Display Overlay on HeightField

  1. Load a .DEM or .GRD file with elevations or bathymetry by clicking the File | Import command.

  2. In the Lattice Import Options dialog, select Import as curvilinear lattice and click OK. Voxler loads the .DEM file elevation values in the curvilinear lattice as both the Component 1 and Z values.

  3. Attach a HeightField module to the output connection pad of the module by clicking the Network | Graphics Output | HeightField command.

  4. Load an image to be displayed on the HeightField by clicking the File | Import command.

  5. Connect the output port from the image to the Input Overlay port on the HeightField. Select Connect Input Overlay.

  6. Click on the HeightField module to select it.

  7. Click on the Overlay tab in the Property Manager.

  8. Check the box next to the Show overlay option.

  9. Set the Fit and Color modulation, as needed.

The overlay and HeightField colormap are combined and displayed as a composite color.

 

Load a Uniform Lattice at the Correct Z Height

Follow the steps below to create a HeightField from a .DEM file with the HeightField scale equal to the Z axis scale.

  1. Load a .DEM or .GRD file with elevations or bathymetry by clicking the File | Import command.

  2. In the Lattice Import Options dialog, select Import as uniform lattice (default) and click OK.  Voxler loads the .DEM file elevation values in the uniform lattice as Component 1 and assigns zeros to all the Z values in the lattice.

  3. With the input data module (.DEM file) selected, write down the Component 1 Limits and the coordinate limits for X min, X max, Y min, and Y max from the Property Manager.

  4. Attach a Transform module to the input data module by clicking the Network | Computational | Transform command.

  5. Click on the Transform module to select it.

  6. Click on the Transform tab.

  7. Open the Translation section and change the Z value to the lower Component 1 Limits value recorded in step 3 above.

  8. Attach a HeightField module to the output connection pad of the Transform module by clicking the Network | Graphics Output | HeightField command.

  9.  The HeightField base location is moved from 0 to the proper minimum Z value. The Scale calculation is as follows:

scale = ( zMax - zMin) / (0.5 * sqrt ( ( xMax - xMin)^2 + ( yMax - yMin)^2 ) )

 

The resulting HeightField matches the Z axis scale.

 

See Also

Introduction to Modules

HeightField

HeightField Overlay

Legends

Connecting Modules

Tutorial: HeightField Module