sub-classing RenderWindowInteractor in python?
David Gobbi
dgobbi at irus.rri.on.ca
Mon May 8 10:23:02 EDT 2000
Hi Maurizio,
The two options for developing a custom mouse interactions in
Python are the vtkInteractorStyleUser (if none of the other
InteractorStyles suite your needs) or, if you are using Tkinter,
the vtkTkRenderWidget in vtk/python/vtkRenderWidget.py.
There is also a vtk widget in the wxPython distribution at
http://www.alldunn.com, but it only worked under Windows the
last time I checked.
- David
--
David Gobbi, MSc dgobbi at irus.rri.on.ca
Advanced Imaging Research Group
Robarts Research Institute, University of Western Ontario
On Mon, 8 May 2000, Maurizio Turatti wrote:
>
>
> I self-answer to my question. I only recently installed VTK 3.1, so I didn't
> noticed that now there is the vtkInteractorStyle family of classes, it should
> resolve my problem without the needing of sub-classing.
>
>
> --------------------------------------------------------------------
> This is the private VTK discussion list. Please keep messages on-topic.
> Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at public.kitware.com>. For help, send message body containing
> "info vtkusers" to the same address.
> --------------------------------------------------------------------
>
--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------
More information about the vtkusers
mailing list