User:Tohline/vtk/Understanding

From VistrailsWiki
Jump to navigation Jump to search

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: