<div dir="ltr"><div>Hi Dan,</div><div><br></div>In VtkWebMouseListener, it is the "view" key in the vtk event structure that indicates what view to send the event to on the server, and it does seem that there is no way to change it from -1, which indicates to send the event to the active view.  However, both the paraviewweb and vtkweb server protocols have mouse handlers which take the id of the target view as an option, so what you want to do seems to be supported on the server side at least.  But I agree with you that the VtkWebMouseListener does not seem to provide a mechanism to change that view id.  One thing we could do is have the VtkWebMouseListener take a view id as an optional 4th argument which defaults to -1, then use that in the zoom and drag listeners.<div><br></div><div>If that makes sense to you, you can put together a PR on paraviewweb, and I'll be happy to review it.  Otherwise, get in touch with me offline and we can chat about it.  Hope this helps.</div><div><br></div><div>Cheers,</div><div>Scott</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 21, 2017 at 7:21 AM, Dan Lipsa <span dir="ltr"><<a href="mailto:dan.lipsa@kitware.com" target="_blank">dan.lipsa@kitware.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">Hi all,<div>We are using VTKWeb + ParaViewWebClient in the browser. We open several VTK windows on the server and put them inside different panels (divs) in the browser.</div><div><br></div><div>Looking at VtkWebMouseListener/index.js it seems that there is no support for this configuration.</div><div><br></div><div>It seems that client has not concept of active view, so it always sends mouse events to the server, regardless of the active view on the server.<br></div><div><br></div><div>The resulting behavior is that you can move your mouse over a different panel, but the active panel moves. Am I missing something?</div><div><br></div><div>Thanks,</div><div>Dan</div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtk-<wbr>developers</a><br>
<br>
<br></blockquote></div><br></div>