User:Tohline/vtk/Examples/LegacyBUstructuredPoints

From VistrailsWiki
< User:Tohline
Revision as of 16:45, 18 April 2014 by Tohline (talk | contribs) (Begin description of Boston University example of Structured Points)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Example Input Files & VisTrails Pipelines

Whitworth's (1981) Isothermal Free-Energy Surface
|   Tiled Menu   |   Tables of Content   |  Banner Video   |  Tohline Home Page   |

This is one example of an input data file that we have successfully used to generate a useful interactive rendering within VisTrails. The file illustrates VTK's Simple Legacy Format and the POLYDATA dataset format. To aid in implementation, we present the full ascii dataset, the resulting rendered image, and a screen shot of the VisTrails pipeline that was used to generate the image. This example (G) is very similar to the "Cube example" that is provided in §15.3 of the VTK User's Guide, authored and published by Kitware, Inc. (see especially pp. 331-332) and is one of many "simple cube" examples that have been discussed in detail in our accompanying Simple Cube Tutorial. A list of other example input data files is provided near the end of the tutorial.

Legacy Cube Example G

# vtk DataFile Version 1.0
Boston University example
ASCII
DATASET STRUCTURED_POINTS
DIMENSIONS 3 4 5
ORIGIN 0 0 0
SPACING 1 1 2
CELL_DATA 24
SCALARS temp-cell float
LOOKUP_TABLE default
0 0 1 1 0 0
0 0 1 1 0 0
0 0 1 1 0 0
0 0 1 1 0 0
POINT_DATA 60
SCALARS temp-point float
LOOKUP_TABLE default
0 0 0 1 1 1 1 1 1 0 0 0
0 0 0 1 1 1 1 1 1 0 0 0
0 0 0 1 1 1 1 1 1 0 0 0
0 0 0 1 1 1 1 1 1 0 0 0
0 0 0 1 1 1 1 1 1 0 0 0


Pipeline03
Warp (Point Data) Image
Warp (Cell Data) Image

Related Discussions