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?

Re: [Paraview] Catalyst example on dynamic producer setup

2016-08-17 Thread Andy Bauer
Hi, This is possible but at this point requires custom coding the Python script to specify which fields are needed. This should be done during the RequestDataDescription() call. You can use vtkCPInputDataDescription's IsFieldNeeded() and IsFieldPointData() methods to specify what's needed in the

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:

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

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

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"):

[Paraview] Question regarding running python scripts with pvbatch on a cluster

2016-08-17 Thread 曹智选
Hi How to run a python scripts on a cluster node. I am expecting to submit my jobs with job scheduler (such as slurm) and without opening any GUI. The command that I currently using in my job submit scripts (slurm script) is: pvbatch myscripts.py But I got an error: ERROR: In

[Paraview] Catalyst example on dynamic producer setup

2016-08-17 Thread Luigi Calori
Hi everybody: we are starting instrumenting one Fortran simulation code with Paraview catalyst. We have started from the fortran full example as our grid is basically a 3d rectilinear grid that we are currently handling like imagedata. Our code has a quite high number of scalar fields ( 50 )

[Paraview] Visualizing data in vtkOverlappingAMR format

2016-08-17 Thread Shawn Qin
Hello all, Our group are trying to use Paraview to visualize output from our code (http://www.clawpack.org/). I wrote a python script to convert our output to 2D _*vtkOverlappingAMR*_ format. This format follows the template given by an example in the VTK (not Paraview) source code:

Re: [Paraview] Feasibility of and documentation on implementing a Paraview Client.

2016-08-17 Thread Luc Renambot
Hi, Can a plugin (a pvserver plugin I guess) access the rendered pixels ? A long time ago, we had to modify one of the base VTK class to access rendered pixel (a la ‘glReadPixels’) and recompile the whole thing. It would be nice to do that in a plugin... ...Luc... Luc Renambot

Re: [Paraview] [EXTERNAL] Client-server mode fails with 5.0.1

2016-08-17 Thread Paul Melis
Hi Utkarsh, On 28-06-16 16:29, Utkarsh Ayachit wrote: As soon as I set the threshold to 0 the warning about the OpenGL 3.2 context pops up (but no segfault in this case). No segfault just means that the scene didn't attempt to rendering something that needed newer OpenGL. I tried a very