<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Jun 17, 2016 at 6:23 AM, Elvis Stansvik <span dir="ltr"><<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div><br></div></span><div>Alright, I see. Would you mind sharing how you handle custom interactions with a VTK rendering, if you don't use the interactor styles?<br><br>Do you directly observe events on the interactor instead? Or do you simply handle the Qt events directly and then perform the appropriate manipulation of VTK objects in response to those?<br><br>I'm very interested in if you use some event forwarding code similar to that in QVTKRenderWindowInteractor, or if you are simply not bothering with feeding input events from Qt to VTK, and handling all input on the Qt side of the fence so to speak.<br></div></div></div></div></blockquote><div><br></div><div>I have a subclass of QWidget that receives the Qt events and converts them to my own events (which are similar to Qt events but also carry useful VTK information).  Those events are dispatched to my interaction bindings.  I've always done interaction in VTK this way.  Neither the vtkRenderWindowInteractor or QVTKWidget play any role.</div><div><br></div><div> - David</div></div></div></div>