Vtk/Examples/LegacyCubeG: Difference between revisions
Created page with "=Example Input Files & VisTrails Pipelines= {{LSU_HBook_header}} 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 exampl..." |
No edit summary |
||
| Line 1: | Line 1: | ||
=Example Input Files & VisTrails Pipelines= | =Example Input Files & VisTrails Pipelines= | ||
{{LSU_HBook_header}} | <!-- {{LSU_HBook_header}} --> | ||
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 [http://www.kitware.com/products/books/vtkguide.html ''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 [[ | 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 [http://www.kitware.com/products/books/vtkguide.html ''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 [[vtk/SimpleCubeTutorial#Simple_Cube_Tutorial|accompanying ''Simple Cube Tutorial'']]. A list of other example input data files [[vtk/SimpleCubeTutorial#Other_Example_Input_Files_and_VisTrails_Pipelines|is provided near the end]] of the tutorial. | ||
==Legacy Cube Example G== | ==Legacy Cube Example G== | ||
| Line 71: | Line 71: | ||
=Related Discussions= | =Related Discussions= | ||
* [[ | * [[vtk/SimpleCubeTutorial#Other_Example_Input_Files_and_VisTrails_Pipelines|Other examples]] of properly formatted input data files | ||
* [[ | * [[vtk/SimpleCubeTutorial#Simple_Cube_Tutorial|Simple Cube Tutorial]] | ||
** [[ | ** [[vtk/SimpleCubeTutorial/CubeDetails#Cube_Definition_Details|Specifying Points (Vertices) and Polygons]] of a cube | ||
** [[ | ** [[vtk/ColorLookupTablea#Color_Lookup_Tables|Defining Color Lookup Tables]] | ||
Latest revision as of 18:49, 9 July 2024
Example Input Files & VisTrails Pipelines[edit]
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[edit]
# 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[edit]
- Other examples of properly formatted input data files
- Simple Cube Tutorial

