Difference between revisions of "User:Tohline/vtk/Understanding"

From VistrailsWiki
Jump to navigation Jump to search
(→‎Understanding vtk Tools: Lead in to simple cylinder)
Line 2: Line 2:
==Basic Concepts==
==Basic Concepts==
[[Image:VTK_TextbookCover.jpg|right|thumb|link=http://www.kitware.com/products/books/vtkguide.html|100px|VTK User's Guide]]I advise that a new user begin by playing with the Vistrails module that renders a simple cylinder.  It can be found under the VisTrails ''examples'' folder as:  <font face="courier" color="maroon">&#8230;/examples/vtk_examples/Rendering/Cylinder.vt</font>.  Note that the suffix (or file type) ".vt" indicates that the file is a VisTrails (vt) python module; VisTrails modules, in turn, heavily refer to routines that are available through the open source Visualization Toolkit (vtk) library.  This is a good example to begin with because it is highlighted in Chapter 4 of the [http://www.kitware.com/products/books/vtkguide.html ''VTK User's Guide,'' authored and published by Kitware, Inc.]
[[Image:VTK_TextbookCover.jpg|right|thumb|link=http://www.kitware.com/products/books/vtkguide.html|100px|VTK User's Guide]]I advise that a new user begin by playing with the Vistrails module that renders a simple cylinder.  It can be found under the VisTrails ''examples'' folder as:  <font face="courier" color="maroon">&#8230;/examples/vtk_examples/Rendering/Cylinder.vt</font>.  Note that the suffix (or file type) ".vt" indicates that the file is a VisTrails (vt) python module; VisTrails modules, in turn, heavily refer to routines that are available through the open source Visualization Toolkit (vtk) library.  This is a good example to begin with because it is highlighted in Chapter 4 of the [http://www.kitware.com/products/books/vtkguide.html ''VTK User's Guide,'' authored and published by Kitware, Inc.]
The right-hand panel of Figure 1 shows the workflow ''pipeline'' that will appear in the VisTrails builder window when the "Cylinder.vt" module is opened and the "Pipeline" menu button is clicked.  Then, clicking on the "vtkCamera" box within the pipeline will generate the information shown inside the "methods" sub-window.  (Actually, before taking the screenshot shown here, the "methods" sub-window was enlarged a bit to reveal additional details.)




Line 17: Line 19:
   </td>
   </td>
   <td align="center" colspan="1">
   <td align="center" colspan="1">
[[Image:CylinderWorkflow01.jpg|400px|center]]
[[Image:CylinderWorkflow01.jpg|400px|center|This workflow ''pipeline'' appears in the VisTrails builder window when the "Cylinder.vt" module is opened.]]
   </td>
   </td>
</tr>
</tr>

Revision as of 00:47, 18 January 2014

Understanding vtk Tools Inside VisTrails

Basic Concepts

VTK User's Guide

I advise that a new user begin by playing with the Vistrails module that renders a simple cylinder. It can be found under the VisTrails examples folder as: …/examples/vtk_examples/Rendering/Cylinder.vt. Note that the suffix (or file type) ".vt" indicates that the file is a VisTrails (vt) python module; VisTrails modules, in turn, heavily refer to routines that are available through the open source Visualization Toolkit (vtk) library. This is a good example to begin with because it is highlighted in Chapter 4 of the VTK User's Guide, authored and published by Kitware, Inc.

The right-hand panel of Figure 1 shows the workflow pipeline that will appear in the VisTrails builder window when the "Cylinder.vt" module is opened and the "Pipeline" menu button is clicked. Then, clicking on the "vtkCamera" box within the pipeline will generate the information shown inside the "methods" sub-window. (Actually, before taking the screenshot shown here, the "methods" sub-window was enlarged a bit to reveal additional details.)


Figure 1: A Simple Cylinder

VTK Fig4.1.jpg
This workflow pipeline appears in the VisTrails builder window when the "Cylinder.vt" module is opened.

Caption: To be written.

Web References

Here are some potentially relevant web pages: