sub-classing RenderWindowInteractor in python?
Maurizio Turatti
mturatti at ais.it
Mon May 8 06:01:05 EDT 2000
Hi,
As the subject says, I want to build a new class which derives from
vtkRenderWindowInteractor, to get a different behaviour, but I get this
interpreter error:
Traceback (innermost last):
File "tviewer.py", line 27, in ?
class MyInteractor(vtkRenderWindowInteractor):
TypeError: base is not a class object
So how can I change interaction without rewriting an entire class from scratch?
I hope I don't have to switch to C++
Thanks,
Maurizio
--------------------------------------------------------------------
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