VisTrails Home

User:Tohline/vtk/Examples/LegacyBUstructuredPoints

From VisTrailsWiki

Jump to: navigation, 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 an example input data file that has been developed based on the structured-points illustration that I found in a tutorial powerpoint presentation posted (circa 2010) by Robert Putnam on a Boston University website; see especially slides 22-25. The file illustrates VTK's Simple Legacy Format and the STRUCTURED_POINTS dataset format. To aid in implementation, we present the full ascii dataset, two resulting rendered images, and a screen shot of the VisTrails pipeline that was used to generate the image. Note that the image captioned "Point Data" was generated, by default, while the image captioned "Cell Data" was generated after activating the SetScalarModeToUseCellData method within the vtkDataSetMapper module. A list of other example input data files is provided near the end of our accompanying Simple Cube Tutorial.

Legacy STRUCTURED_POINTS Example

# 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


Structured Points
Point Data Image
Cell Data Image

Related Discussions

Personal tools