Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width70%

Introduction

This chapter describes the Visualization Toolkit (VTK) data format developed by Kitware. VTK is an open source software system for 3D computer graphics, image processing and visualization. The VTK data format is the primary data structure used internally in Geocap for algorithms and visualization.

Column
width30%



On In this pagesection:

Table of Contents
maxLevel2

Datasets

Datasets are usually geometrical representations of surface and body shapes in 3D space. In additon datasets may represent velocity fields, petrophysical parameters, seismic images and virtually any kind of recorded data.

...

No Format
bgColor#eeeeee
borderWidth1

     POINT    X       Y       Z     scalars   TEMPERATURE   PRESSURE
      0      3.4    234.3   45.12     45.12      0.43         45.6
      1      5.6    290.5   55.63     55.63      0.44         45.5
      2      6.67   300.3   78.00     78.00      0.45         45.3
      ...
      ...

An attribute always has a name. They are also called field data as they are saved as field data in a vtk dataset. A similar list will be produced by Table View that is found on the right click menu for every dataset in the project.

Scalars

...


A special attribute type in Geocap is called scalars. When a structure is mapped, the colors of the map are according to the scalars. The scalar values can be the geometry itself. The map colors will then show the geometry. Otherwise the map will have colors from the scalar attribute.

...

No Format
bgColor#eeeeee
borderWidth1
         POINT  i    j    HEIGHT
        0      0    0     34.3
        1      1    0     34.4
        2      2    0     34.5
        3      0    1     34.2
        4      1    1     34.3
        5      2    1     34.6
        ...
        ...

...


2d grid to the left and 3d grid to left

Undefined values in grid
A grid may have regions that is not part of the grid surface (or cube body for 3d grids). Geocap uses a value called undef to indicate those grid nodes. They play an important part in the grid definition and layout. A Table View listing of a grid will list the undefined values as void.

...

No Format
bgColor#eeeeee
borderWidth1

      POINT  I    J    RED  GREEN  BLUE
        0    0    0    120   210    77
        1    1    0     73    56    27
        2    2    0     15   110    99
        3    0    1     84    57    51
        4    1    1     51    72    11
        5    2    1     67    11    87
        ...
        ...

An image consisting of a rectangular array of pixels is an example of raster graphics, as opposed to the vector graphics created by polydata.

Image Modified
The Amazon rainforest (NASA)