vtkInteractor question..
Ken Martin
ken.martin at kitware.com
Thu Jul 29 10:15:29 EDT 1999
Just a note. The current interactors will be replaced with interactor
styles in the near future which should allow you to do what you want
in a cleaner, more portable way. I'll probably check them in, in the
next week, currently it has been implemented and I'm getting the last
bugs out of the trackball modes. Thanks to John Biddiscombe for
working with me on this and the feedback from others that helped
define this.
- Ken
>Subclassing the Interactor is the way to go. The super class has two virtual functions: Enable() and
>Disable() which are called to insert and remove the appropriate callback function. In you subclass
>of the interactor, all you need to do is override Enable() and Disable() such they insert/remove your
>specific callback function.
>Also, if I would like to redefine the keyboard or mouse bindings of the interactor, is subclassing
>the vtkXRenderWindowInteractor and overriding the XRenderWindowInteractorCallback function
>the way to go?
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list