...
It is useful to think of data attributes as "columns", where each row corresponds to the points to which it is associated. The following listing shows temperature and pressure distributed as separate values for a set of points.
Code Block | ||
---|---|---|
| ||
{anchor:example file} POINT X Y Z TEMPERATURE PRESSURE 0 3.4 234.3 45.12 0.43 45.6 1 5.6 290.5 55.63 0.44 45.5 2 6.67 300.3 78.00 0.45 45.3 ... ... |
An attribute always has a name, and are sometimes called field data.
VTK Data types
Polydata
A dataset of type polydata may contain any cell type except 3D cells. Triangles are often stitched together to form triangle strips that are suitable for displaying irregular surfaces. In practice, most polydatasets in Geocap contain only one cell type.
Polydata has a so-called explicit point representation. This means that each point's coordinate values are contained in the dataset. Since poly data points have no inherent structure and thus may appear anywhere in space, we need to store their actual coordinate values in order to infer their position. A common way of representing data is column format. The X, Y, Z coordinates are displayed in separate columns along with any additional data like in the #example file.
Grid
Images