https://www.vistrails.org//index.php?title=User:Tohline/vtk/Examples/LegacyBUstructuredPoints&feed=atom&action=history
User:Tohline/vtk/Examples/LegacyBUstructuredPoints - Revision history
2024-03-29T14:14:23Z
Revision history for this page on the wiki
MediaWiki 1.36.2
https://www.vistrails.org//index.php?title=User:Tohline/vtk/Examples/LegacyBUstructuredPoints&diff=7401&oldid=prev
Tohline at 17:18, 18 April 2014
2014-04-18T17:18:11Z
<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 17:18, 18 April 2014</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l2">Line 2:</td>
<td colspan="2" class="diff-lineno">Line 2:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{LSU_HBook_header}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{LSU_HBook_header}}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This is <del style="font-weight: bold; text-decoration: none;">one </del>example <del style="font-weight: bold; text-decoration: none;">of an </del>input data file that <del style="font-weight: bold; text-decoration: none;">we have successfully used to generate </del>a <del style="font-weight: bold; text-decoration: none;">useful interactive rendering within VisTrails</del>. The file illustrates VTK's ''Simple Legacy Format'' and the <del style="font-weight: bold; text-decoration: none;">POLYDATA </del>dataset format. To aid in implementation, we present the full ascii dataset, <del style="font-weight: bold; text-decoration: none;">the </del>resulting rendered <del style="font-weight: bold; text-decoration: none;">image</del>, and a screen shot of the VisTrails pipeline that was used to generate the image. <del style="font-weight: bold; text-decoration: none;">This example (G) is very similar to </del>the "<del style="font-weight: bold; text-decoration: none;">Cube example</del>" <del style="font-weight: bold; text-decoration: none;">that is provided in &sect;15.3 of </del>the <del style="font-weight: bold; text-decoration: none;">[http://www.kitware.com/products/books/vtkguide.html </del>''<del style="font-weight: bold; text-decoration: none;">VTK User</del>'<del style="font-weight: bold; text-decoration: none;">s Guide,</del>'' <del style="font-weight: bold; text-decoration: none;">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 [[User:Tohline/vtk/SimpleCubeTutorial#Simple_Cube_Tutorial|accompanying </del>''<del style="font-weight: bold; text-decoration: none;">Simple Cube Tutorial</del>''<del style="font-weight: bold; text-decoration: none;">]]</del>. <del style="font-weight: bold; text-decoration: none;"> </del>A list of other example input data files [[User:Tohline/vtk/SimpleCubeTutorial#Other_Example_Input_Files_and_VisTrails_Pipelines|is provided near the end]] <del style="font-weight: bold; text-decoration: none;">of the tutorial</del>.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This is <ins style="font-weight: bold; text-decoration: none;">an </ins>example input data file that <ins style="font-weight: bold; text-decoration: none;">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 </ins>a <ins style="font-weight: bold; text-decoration: none;">Boston University website]; see especially slides 22-25</ins>. The file illustrates VTK's ''Simple Legacy Format'' and the <ins style="font-weight: bold; text-decoration: none;">STRUCTURED_POINTS </ins>dataset format. To aid in implementation, we present the full ascii dataset, <ins style="font-weight: bold; text-decoration: none;">two </ins>resulting rendered <ins style="font-weight: bold; text-decoration: none;">images</ins>, and a screen shot of the VisTrails pipeline that was used to generate the image. <ins style="font-weight: bold; text-decoration: none;">Note that the image captioned "Point Data" was generated, by default, while </ins>the <ins style="font-weight: bold; text-decoration: none;">image captioned </ins>"<ins style="font-weight: bold; text-decoration: none;">Cell Data</ins>" <ins style="font-weight: bold; text-decoration: none;">was generated after activating </ins>the ''<ins style="font-weight: bold; text-decoration: none;">SetScalarModeToUseCellData'</ins>' <ins style="font-weight: bold; text-decoration: none;">method within the </ins>'''<ins style="font-weight: bold; text-decoration: none;">vtkDataSetMapper</ins>''' <ins style="font-weight: bold; text-decoration: none;">module</ins>. <ins style="font-weight: bold; text-decoration: none;"> </ins>A list of other example input data files [[User:Tohline/vtk/SimpleCubeTutorial#Other_Example_Input_Files_and_VisTrails_Pipelines|is provided near the end <ins style="font-weight: bold; text-decoration: none;">of our accompanying ''Simple Cube Tutorial''</ins>]].</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>==Legacy <del style="font-weight: bold; text-decoration: none;">Cube </del>Example <del style="font-weight: bold; text-decoration: none;">G</del>==</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==Legacy <ins style="font-weight: bold; text-decoration: none;">STRUCTURED_POINTS </ins>Example==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div align="left"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><div align="left"></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l38">Line 38:</td>
<td colspan="2" class="diff-lineno">Line 38:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tr></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tr></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <td align="center" rowspan="2"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <td align="center" rowspan="2"></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Image:<del style="font-weight: bold; text-decoration: none;">WarpScalarPipeline</del>.png|right|thumb|500px|<del style="font-weight: bold; text-decoration: none;">Pipeline03</del>]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Image:<ins style="font-weight: bold; text-decoration: none;">BUstructuredPointsPipeline</ins>.png|right|thumb|500px|<ins style="font-weight: bold; text-decoration: none;">Structured Points</ins>]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </td></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </td></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <td align="center"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <td align="center"></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Image:<del style="font-weight: bold; text-decoration: none;">WarpScalarImage</del>.png|right|thumb|200px|<del style="font-weight: bold; text-decoration: none;">Warp (</del>Point Data<del style="font-weight: bold; text-decoration: none;">) </del>Image]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Image:<ins style="font-weight: bold; text-decoration: none;">ScreenshotPoints</ins>.png|right|thumb|200px|Point Data Image]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </td></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </td></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></tr></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></tr></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tr></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><tr></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <td align="center"></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> <td align="center"></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Image:<del style="font-weight: bold; text-decoration: none;">WarpScalarCellDataImage</del>.png|right|thumb|200px|<del style="font-weight: bold; text-decoration: none;">Warp (</del>Cell Data<del style="font-weight: bold; text-decoration: none;">) </del>Image]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Image:<ins style="font-weight: bold; text-decoration: none;">ScreenshotCells</ins>.png|right|thumb|200px|Cell Data Image]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </td></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> </td></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></tr></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></tr></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l57">Line 57:</td>
<td colspan="2" class="diff-lineno">Line 57:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** [[User:Tohline/vtk/SimpleCubeTutorial/CubeDetails#Cube_Definition_Details|Specifying Points (Vertices) and Polygons]] of a cube</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** [[User:Tohline/vtk/SimpleCubeTutorial/CubeDetails#Cube_Definition_Details|Specifying Points (Vertices) and Polygons]] of a cube</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** [[User:Tohline/vtk/ColorLookupTablea#Color_Lookup_Tables|Defining Color Lookup Tables]]</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>** [[User:Tohline/vtk/ColorLookupTablea#Color_Lookup_Tables|Defining Color Lookup Tables]]</div></td></tr>
<tr><td colspan="2"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* [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</ins></div></td></tr>
</table>
Tohline
https://www.vistrails.org//index.php?title=User:Tohline/vtk/Examples/LegacyBUstructuredPoints&diff=7396&oldid=prev
Tohline: Begin description of Boston University example of Structured Points
2014-04-18T16:45:46Z
<p>Begin description of Boston University example of Structured Points</p>
<p><b>New page</b></p><div>=Example Input Files &amp; VisTrails Pipelines=<br />
{{LSU_HBook_header}}<br />
<br />
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 &sect;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 [[User:Tohline/vtk/SimpleCubeTutorial#Simple_Cube_Tutorial|accompanying ''Simple Cube Tutorial'']]. A list of other example input data files [[User:Tohline/vtk/SimpleCubeTutorial#Other_Example_Input_Files_and_VisTrails_Pipelines|is provided near the end]] of the tutorial.<br />
<br />
==Legacy Cube Example G==<br />
<br />
<div align="left"><br />
<pre><br />
# vtk DataFile Version 1.0<br />
Boston University example<br />
ASCII<br />
DATASET STRUCTURED_POINTS<br />
DIMENSIONS 3 4 5<br />
ORIGIN 0 0 0<br />
SPACING 1 1 2<br />
CELL_DATA 24<br />
SCALARS temp-cell float<br />
LOOKUP_TABLE default<br />
0 0 1 1 0 0<br />
0 0 1 1 0 0<br />
0 0 1 1 0 0<br />
0 0 1 1 0 0<br />
POINT_DATA 60<br />
SCALARS temp-point float<br />
LOOKUP_TABLE default<br />
0 0 0 1 1 1 1 1 1 0 0 0<br />
0 0 0 1 1 1 1 1 1 0 0 0<br />
0 0 0 1 1 1 1 1 1 0 0 0<br />
0 0 0 1 1 1 1 1 1 0 0 0<br />
0 0 0 1 1 1 1 1 1 0 0 0<br />
</pre><br />
</div><br />
<br />
<br />
<div align="center"><br />
<table border="2" align="center"><br />
<tr><br />
<td align="center" rowspan="2"><br />
[[Image:WarpScalarPipeline.png|right|thumb|500px|Pipeline03]]<br />
</td><br />
<td align="center"><br />
[[Image:WarpScalarImage.png|right|thumb|200px|Warp (Point Data) Image]]<br />
</td><br />
</tr><br />
<tr><br />
<td align="center"><br />
[[Image:WarpScalarCellDataImage.png|right|thumb|200px|Warp (Cell Data) Image]]<br />
</td><br />
</tr><br />
</table><br />
</div><br />
<br />
=Related Discussions=<br />
* [[User:Tohline/vtk/SimpleCubeTutorial#Other_Example_Input_Files_and_VisTrails_Pipelines|Other examples]] of properly formatted input data files<br />
* [[User:Tohline/vtk/SimpleCubeTutorial#Simple_Cube_Tutorial|Simple Cube Tutorial]]<br />
** [[User:Tohline/vtk/SimpleCubeTutorial/CubeDetails#Cube_Definition_Details|Specifying Points (Vertices) and Polygons]] of a cube<br />
** [[User:Tohline/vtk/ColorLookupTablea#Color_Lookup_Tables|Defining Color Lookup Tables]]</div>
Tohline