[vtkusers] Find out which qVtkWidget the mouse is over

David Doria daviddoria at gmail.com
Thu May 30 07:44:57 EDT 2013


On Wed, May 29, 2013 at 10:05 AM, tao sun <colddiesun at gmail.com> wrote:
> OK, you mean I can get Information from casted interactor object? Can you
> point out what's member of the interactor that is to indicate which qwidget
> it belongs to?
> Thanks a lot.

There is no built-in way to do it, but if you are using a subclass of
the interactor style, you can add a pointer to whatever you want,
including the QVTKWidget that it belongs to.

David



More information about the vtkusers mailing list