VTK/Tutorials/3DDataTypes: Difference between revisions
Daviddoria (talk | contribs) No edit summary |
Daviddoria (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
* Here is a demonstration of how to use the structured data types : [[VTK/Examples/Cxx/Visualization/StructuredDataTypes|Demonstration of structured data types]] | |||
==Image Data== | ==Image Data== | ||
Points are arranged on a regular, rectangular lattice parallel to the global coordinate system. You only have to specify the origin ("bottom left corner") of the grid, and the spacing in each dimension. The grid is implicit, so you don't have to specify the coordinates of each point anywhere. You can define scalars or vectors at each point. | Points are arranged on a regular, rectangular lattice parallel to the global coordinate system. You only have to specify the origin ("bottom left corner") of the grid, and the spacing in each dimension. The grid is implicit, so you don't have to specify the coordinates of each point anywhere. You can define scalars or vectors at each point. |
Revision as of 01:18, 17 September 2010
- Here is a demonstration of how to use the structured data types : Demonstration of structured data types
Image Data
Points are arranged on a regular, rectangular lattice parallel to the global coordinate system. You only have to specify the origin ("bottom left corner") of the grid, and the spacing in each dimension. The grid is implicit, so you don't have to specify the coordinates of each point anywhere. You can define scalars or vectors at each point.
Rectilinear Grid
This is a slight extension of Image Data. The points are still aligned along the coordinate axis, but the spacing between points may vary. The point coordinates are again implicit.
Structured Grid
Regular topology and irregular geometry. That is, every point has a left, right, up, down, front, back neighbor. The points, however, do not lie on a grid! You must explicitly indicate the coordinates of each point.
This data structure is common in finite difference analysis.
Polygonal Data (PolyData)
Unstructured topology and geometry. Supports 0,1, and 2D cells. You must explicitly indicate the coordinates of each point.
Unstructured Grid
This is the most general form of data storage. Both topology and geometry are completely unstructured. Supports 0,1,2, and 3D cells. You must explicitly indicate the coordinates of each point.