Module renderWindowInteractor
source code
A GTK area that hosts a VTK one, module developed by John Hunter.
Description
Provides a pyGtk vtkRenderWindowInteractor widget. This embeds a
vtkRenderWindow inside a GTK widget and uses the
vtkGenericRenderWindowInteractor for the event handling. This is
similar to GtkVTKRenderWindowInteractor.py.
The extensions here allow the use of gtkglext rather than gtkgl and
pygtk-2 rather than pygtk-0. It requires pygtk-2.0.0 or later.
There is a working example at the bottom.
Credits
John Hunter <jdhunter@ace.bsd.uchicago.edu> developed and
tested this code based on VTK's GtkVTKRenderWindow.py and extended it
to work with pygtk-2.0.0.
License
VTK license.