Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-19 Thread Sebastien Jourdain
Ken, we should not try to use as it won't be possible to trigger it on OS X as it will be understood as a "Right click" and will bring the popup menu. But that's great to have that feature. Seb On Wed, Aug 17, 2016 at 7:38 PM, Ken Martin wrote: > left mouse does work as zoom in vtk.js FWIW -

Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-17 Thread Ken Martin
left mouse does work as zoom in vtk.js FWIW - Ken On Wed, Aug 17, 2016 at 7:32 PM, Sebastien Jourdain < sebastien.jourd...@kitware.com> wrote: > vtk.js interaction does not currently implement zooming. So the current > behavior is expected. > > What are you trying to do with vtk.js and salome? vt

Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-17 Thread Sebastien Jourdain
vtk.js interaction does not currently implement zooming. So the current behavior is expected. What are you trying to do with vtk.js and salome? vtk.js has not been released yet and is a pure JavaScript/client library. On Wed, Aug 17, 2016 at 3:18 PM, Daniel Zuidinga wrote: > shouldn't work sc

Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-17 Thread Daniel Zuidinga
shouldn't work scroll wheel in vtk.js? e.g. here https://kitware.github.io/vtk-js/examples/HttpSceneLoader.html I have to compile the whole sources? I use pv of salome meca. I hope it isn't to complicated and cpu intensive. Am 17.08.2016 um 22:32 schrieb Sebastien Jourdain: I guess ParaView is

Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-17 Thread Sebastien Jourdain
I guess ParaView is missing more code on the server side. ;-) This time, it will be in the C++. ${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx => vtkPVWebApplication::HandleInteractionEvent vs ${ParaView-src}/Web/Core/vtkPVWebApplication.cxx => vtkWebApplication::HandleInteractionEvent The

Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-17 Thread Daniel Zuidinga
I added the lines but scroll wheel does not work Look at ${pv_src}/Web/Python/paraview/web/protocols.py #ParaViewWebMouseHandler vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMouseHandler it seems the paraview one is missing: if event.has_key("scroll"): pvevent

Re: [Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-12 Thread Sebastien Jourdain
1) Yes, the client code should send the proper event to the server. But that event might not be properly handle by the ParaView backend while it is for VTK. Look at ${pv_src}/Web/Python/paraview/web/protocols.py #ParaViewWebMouseHandler vs ${pv_src}/VTK/Web/Python/vtk/web/protocols.py #vtkWebMous

[Paraview] PV Web scrollwheel for zoom, wrong legend

2016-08-12 Thread Daniel Zuidinga
Hi, I have 2 questions for paraview web (pv web visualizer). 1. Can I activate mouse wheel for zooming? 2. I have wrong values (0) at the legend when webgl is enabled. Can you give me a hint where to look at the code for a bugfix? regards Daniel ___