A Gtk VTK interface

Download source code: vtkgtk-0.1.4.tar.gz | ChangeLog


vtkgtk is an interface for using the vtk library within a gtk widget. The source archive contains an implementation of the vtkGtkRenderWindowInteractor class that implements the vtkRenderWindowInteractor interface under gtk. The class creates a GtkDrawingArea widget in which the vtk is set to render its output. This drawing area may be accessed through the get_drawing_area and may then be packed as any widget.

The code has currently been tested under vtk-4.2 running under Linux.

Example code

See the source example creating-sphere-and-cube.cxx for an example of how to use. (The animation above shows some continous snapshots of interacting with the program).


Send your comments to: Dov Grobgeld - 2007-10-01 - Hosted at SourceForge.net Logo