[vtkusers] altering a widgets response to mouse clicks

Totte Karlsson totte at dunescientific.com
Tue Aug 11 14:27:12 EDT 2015


On 8/10/2015 7:39 PM, Cory Quammen wrote:
>
>     However, the subclassed interactors On*Button() functions are NOT
>     called as the widget is visible and clicked on. Those overloaded
>     functions are only called if clicking outside the widget.
>
>
> In that case, perhaps you need to subclass vtkBoxWidget and override 
> the same member functions. It is likely processing the mouse button 
> clicks and not passing the event on to your custom interactor. Sorry 
> for sending you down that path.
>
I believe I saw a post somewhere somebody having similar issue, with 
that solution, but now I can't seem to find it.

Thanks for the suggestion!
-tk


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150811/f7d5d4ad/attachment.html>


More information about the vtkusers mailing list