User:Tohline/vtk/Examples/LegacyCubeG

From VistrailsWiki
< User:Tohline
Revision as of 00:42, 18 April 2014 by Tohline (talk | contribs) (Legacy Format Cube, Example G)
(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   |

Legacy Cube Example G

<?xml version="1.0"?>
<VTKFile type="PolyData" version="0.1" byte_order="LittleEndian">
  <PolyData>
    <Piece NumberOfPoints="36" NumberOfPolys="25">
      <CellData Scalars="cell_scalars" Normals="cell_normals">
        <DataArray type="Float32" Name="cell_scalars" format="ascii">
          0.2 0.2 0.2 0.2 0.2
          0.2 0.4 0.6 0.4 0.2
          0.2 0.6 0.8 0.6 0.2
          0.2 0.4 0.6 0.4 0.2
          0.2 0.2 0.2 0.2 0.2
        </DataArray>
        <DataArray type="Float32" Name="cell_normals" NumberOfComponents="3" format="ascii">
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1
        </DataArray>
      </CellData>
      <PointData Scalars="colorful" Normals="magnify">
        <DataArray type="Float32" Name="colorful" format="ascii">
          0.2 0.2 0.2 0.2 0.2 0.2
          0.2 0.4 0.6 0.6 0.4 0.2
          0.2 0.6 0.8 0.8 0.6 0.2
          0.2 0.6 0.8 0.8 0.6 0.2
          0.2 0.4 0.6 0.6 0.4 0.2
          0.2 0.2 0.2 0.2 0.2 0.2
        </DataArray>
        <DataArray type="Float32" Name="magnify" NumberOfComponents="3" format="ascii">
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1  0 0 1
          0 0 1   0 0 1   0 0 1   0 0 1  0 0 1  0 0 1
        </DataArray>
      </PointData>
      <Points>
        <DataArray type="Float32" NumberOfComponents="3" format="ascii">
         0 0 0 1 0 0 2 0 0 3 0 0 4 0 0 5 0 0
         0 1 0 1 1 0 2 1 0 3 1 0 4 1 0 5 1 0
         0 2 0 1 2 0 2 2 0 3 2 0 4 2 0 5 2 0
         0 3 0 1 3 0 2 3 0 3 3 0 4 3 0 5 3 0
         0 4 0 1 4 0 2 4 0 3 4 0 4 4 0 5 4 0
         0 5 0 1 5 0 2 5 0 3 5 0 4 5 0 5 5 0
        </DataArray>
      </Points>
      <Polys>
        <DataArray type="Int32" Name="connectivity" format="ascii">
           0  1  7  6   1  2  8  7   2  3  9  8   3  4 10  9   4  5 11 10
           6  7 13 12   7  8 14 13   8  9 15 14   9 10 16 15  10 11 17 16
          12 13 19 18  13 14 20 19  14 15 21 20  15 16 22 21  16 17 23 22
          18 19 25 24  19 20 26 25  20 21 27 26  21 22 28 27  22 23 29 28
          24 25 31 30  25 26 32 31  26 27 33 32  27 28 34 33  28 29 35 34
        </DataArray>
        <DataArray type="Int32" Name="offsets" format="ascii">
          4  8 12 16 20 24 28 32 36 40
         44 48 52 56 60 64 68 72 76 80
         84 88 92 96 100
        </DataArray>
      </Polys>
    </Piece>
  </PolyData>
</VTKFile>
Pipeline03
Warp (Point Data) Image
Warp (Cell Data) Image


Related Discussions