Editing
Vtk/Examples/LegacyBUstructuredPoints
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=Example Input Files & VisTrails Pipelines= <!-- {{LSU_HBook_header}} --> 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) [http://www.bu.edu/tech/files/2010/10/VTK-Fall-2010.ppt 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 [[vtk/SimpleCubeTutorial#Other_Example_Input_Files_and_VisTrails_Pipelines|is provided near the end of our accompanying ''Simple Cube Tutorial'']]. ==Legacy STRUCTURED_POINTS Example== <div align="left"> <pre> # 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 </pre> </div> <div align="center"> <table border="2" align="center"> <tr> <td align="center" rowspan="2"> [[Image:BUstructuredPointsPipeline.png|right|thumb|500px|Structured Points]] </td> <td align="center"> [[Image:ScreenshotPoints.png|right|thumb|200px|Point Data Image]] </td> </tr> <tr> <td align="center"> [[Image:ScreenshotCells.png|right|thumb|200px|Cell Data Image]] </td> </tr> </table> </div> =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]] * [http://www.bu.edu/tech/files/2010/10/VTK-Fall-2010.ppt Robert Putnam's (Boston University) powerpoint tutorial] -- includes a ''Structured_Points'' example, written in Simple Legacy Format
Summary:
Please note that all contributions to JETohlineWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JETohlineWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Tiled Menu
Table of Contents
Old (VisTrails) Cover
Appendices
Variables & Parameters
Key Equations
Special Functions
Permissions
Formats
References
lsuPhys
Ramblings
Uploaded Images
Originals
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information