[vtkusers] Interaction through python and vtkInteractorStyleUser
David Gobbi
dgobbi at irus.rri.on.ca
Fri Nov 3 17:05:21 EST 2000
Hi All,
I finally have vtkInteractorStyleUser at a point where I'm more or
less happy with it. It allows you to hook into pretty much all of
the interaction events from Tcl, Python, or C++ without having to
write a subclass of vtkInteractorStyle. It has evolved significantly
over the last few months.
An example of how to use it through python is provided in
vtk/contrib/examplesPython/SliceViewer.py. Currently there is
no tcl example (through tcl you would usually use the
vtkTkRenderWidget instead).
This example also demonstrates how to do interaction with
a vtkImageWindow (well, not quite... it draws the images in
a RenderWindow instead).
- David
--
David Gobbi, MSc dgobbi at irus.rri.on.ca
Advanced Imaging Research Group
Robarts Research Institute, University of Western Ontario
More information about the vtkusers
mailing list