Difference between revisions of "User:Tohline/vtk/Examples/LegacyCubeG"
Jump to navigation
Jump to search
(Legacy Format Cube, Example G) |
(Insert ascii input file along with pipeline image) |
||
Line 5: | Line 5: | ||
<div align="left"> | <div align="left"> | ||
<pre> | <pre> | ||
# vtk DataFile Version 2.0 | |||
Cube example | |||
ASCII | |||
DATASET POLYDATA | |||
POINTS 8 float | |||
0.0 0.0 0.0 | |||
1.0 0.0 0.0 | |||
1.0 1.0 0.0 | |||
0.0 1.0 0.0 | |||
0.0 0.0 1.0 | |||
1.0 0.0 1.0 | |||
1.0 1.0 1.0 | |||
0.0 1.0 1.0 | |||
POLYGONS 6 30 | |||
4 0 1 2 3 | |||
4 4 5 6 7 | |||
4 0 1 5 4 | |||
4 2 3 7 6 | |||
4 0 4 7 3 | |||
4 1 2 6 5 | |||
CELL_DATA 6 | |||
SCALARS cell_scalars float 1 | |||
LOOKUP_TABLE my_table | |||
0.14286 | |||
0.28571 | |||
0.42857 | |||
0.57143 | |||
0.71429 | |||
0.85714 | |||
NORMALS cell_normals float | |||
0 0 1 | |||
0 0 1 | |||
0 -1 0 | |||
0 1 0 | |||
-1 0 0 | |||
1 0 0 | |||
LOOKUP_TABLE my_table 8 | |||
0.0 0.0 0.0 1.0 | |||
1.0 0.0 0.0 1.0 | |||
0.0 1.0 0.0 1.0 | |||
1.0 1.0 0.0 1.0 | |||
0.0 0.0 1.0 1.0 | |||
1.0 0.0 1.0 1.0 | |||
0.0 1.0 1.0 1.0 | |||
1.0 1.0 1.0 1.0 | |||
</pre> | </pre> | ||
</div> | </div> | ||
Line 76: | Line 57: | ||
<table border="2" align="center"> | <table border="2" align="center"> | ||
<tr> | <tr> | ||
<td align="center" rowspan=" | <td align="center" rowspan="1"> | ||
[[Image: | [[Image:LegacyExampleG_pipeline.png|right|thumb|400px|Simple Cube Example G]] | ||
</td> | </td> | ||
<td align="center"> | <td align="center"> | ||
[[Image: | [[Image:Screenshot08.png|right|thumb|200px|Simple Cube (Ex. G)]] | ||
</td> | </td> | ||
</tr> | </tr> |
Revision as of 00:56, 18 April 2014
Example Input Files & VisTrails Pipelines
| Tiled Menu | Tables of Content | Banner Video | Tohline Home Page | |
Legacy Cube Example G
# vtk DataFile Version 2.0 Cube example ASCII DATASET POLYDATA POINTS 8 float 0.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0 1.0 0.0 1.0 1.0 1.0 1.0 0.0 1.0 1.0 POLYGONS 6 30 4 0 1 2 3 4 4 5 6 7 4 0 1 5 4 4 2 3 7 6 4 0 4 7 3 4 1 2 6 5 CELL_DATA 6 SCALARS cell_scalars float 1 LOOKUP_TABLE my_table 0.14286 0.28571 0.42857 0.57143 0.71429 0.85714 NORMALS cell_normals float 0 0 1 0 0 1 0 -1 0 0 1 0 -1 0 0 1 0 0 LOOKUP_TABLE my_table 8 0.0 0.0 0.0 1.0 1.0 0.0 0.0 1.0 0.0 1.0 0.0 1.0 1.0 1.0 0.0 1.0 0.0 0.0 1.0 1.0 1.0 0.0 1.0 1.0 0.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0
Related Discussions
- Understanding vtk Tools Inside VisTrails
- Cube Definition Details
- Color Lookup Tables
- Robert Putnam's (Boston University) powerpoint tutorial -- includes a Structured_Points example, written in Simple Legacy Format