VTK Scripts

From KitwarePublic
Revision as of 17:34, 13 March 2006 by Andy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page was based on Sebastien Barre's VTK Links: Scripts page.

Have you written nifty Tcl/Tk, Java or Python scripts ? Many of us have built scripts and programs that might benefit VTK users. Here are some of them, and I'm quite sure that you also have developped interesting stuff : be part of the VTK swiss-knife !


vtkGUI Visual Programming Tool for VTK

(Silvano Imboden,Stefan Svensson,Katerina Vrotsu) "The vtkGUI is a user-friendly GUI for visual programming of VTK pipelines. It includes several nice features including a pipeline editor, forms for setting properties on any object, saving/loading pipelines, and exporting pipelines to C++ code."

VTK pipeline browser

(P. Rajlich, NCSA) "I took the tree widget for Tk by R. Hipp and turned it into a VTK pipeline browser. Combined with the vtkShow script by C. Odet, it allows you to browse and modify the objects in your VTK pipeline".

[3D VTK pipeline browser] (disappeared, author should contact me)

(D. Pont) "This 3D pipeline browser is derived from the 2D pipeline browser developed by P. Rajlich, and uses vtkShow developed by C. Odet. Your VTK pipeline is visualised as a 3D tree using VTK. The browser creates its own window. Pre-defined icons are used to represent the different types of objects such as: data sources, filters, actors, and mappers. The icons are connected with tubes to represent the flow of data [...]. Objects with multiple inputs and outputs are handled. If the *animation* feature is selected the icons are highlighted with a translucent sphere and labeled in the order they execute in your pipeline. [...]."

VTK Reflector (object browser)

(R. Rivière, INRIA) "Here is VTK Reflector, a small tool using TCL and VTK reflection properties. With reflector, you can browse among VTK objects you have created, display their contents and known methods names, and apply them. "

VTK Sphere Benchmark

(R. Rivière, S. Barré, INRIA, UTC) "The VTK Sphere Benchmark is a simple platform-independent Tcl/Tk graphics performance test using VTK library. It is small with no (or little) version requirements. It is designed to get a rough idea of the capabilities and efficiency of your system by displaying a 3D object and computing an estimation of the average throughput in polygons/s. Different rendering options might be used, and automation is provided to try the same bench at varying 3D complexity. A final report may be sent to us and all results are saved to a database for further comparisons."

melati a little tool for visualization

(J. Runarko) "Melati is a script written with TclTk and the Visualization Toolkit. It is written on my old Linux box at home. It's purpose is to give the user the ability to view calculated data from Tochnog a FEA program written by Dennis Roddeman. Project is dead, archive are accessible from web.archive


(K. Eschenberg) Two programs have been created for using isosurfaces to view structured data fields. The program "iso" reads a file of time-varying structured data (TSD) then uses VTK to generate isosurfaces for each time. The results are written to a file which can then be read and displayed with the program "chap2".

VTK Mouse Picking

The default way pick a cell/point/actor under the cursor in a render window is to press the "p" key. You may prefer to pick by pressing a mouse button... a tcl example of how to change vtkInteractorStyleTrackballCamera so that when you press the left mouse button and release it without moving the mouse you will perform a pick under the cursor. --Goodwin 11:06, 17 Aug 2004 (EDT)


Python vtkPipeline browser

(P. Ramachandran) "Python modules that provide a VTK pipeline browser using Tkinter. All the objects in the pipeline can be configured".



(R. De Leo) "PerlVTK is a Perl module that allows you to call VTK functions from Perl".

VTK: [Welcome | Site Map]