[Paraview] background information for Scenario1_p1 files?
I've asked students in an introductory course on visualization to explore the sample files distributed with ParaView. One of them was intrigued by the Scenario1_p1 files. It looks to me like they come from a simulation of porous media flow, but I don't have as much information about the attributes as I'd like and web searches haven't turned up much so far. Can anyone provide background information about this data set? A reference to the original source of the simulation would be especially appreciated. Thanks, Bob Olsen ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Starting ParaViewWeb from a web application
Hi Pawel, if you run java -jar JettySessionManager-Server-1.0.jar with no argument you should see what the configuration file should be. I guess, you may need to provide a valid pw.factory.proxy.adapter as well as a valid path for the creation of a file for pw.factory.proxy.adapter.file. It is true, that those options should not be mandatory. Seb On Tue, Oct 15, 2013 at 7:09 PM, Pawel Kwiecien nor...@gmail.com wrote: Hi Seb, thank you for your previous answer. So I'm trying to follow the steps from http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/jetty_session_manager However, I'm having problems with a jetty configuration file, namely: 1) # Process command: pipeline_manager.py | pipeline# == pw.pipeline.cmd=./bin/pvpython ../src/Web/Python/pipeline_manager.py --data-dir /Data --port PORT pw.pipeline.cmd.run.dir=/.../paraview-build/ pw.pipeline.cmd.map=PORT:getPort In the latest src there's no pipeline_manager.py. I've seen that it was renamed to pv_web_visualizer.py, but I only have it in build folder (not in src), so these lines look in my case: # ==# Process command: web_visualizer# == pw.visualizer.cmd=./bin/pvpython ./lib/site-packages/paraview/web/pv_web_visualizer.py --data-dir /Data --port PORT pw.visualizer.cmd.run.dir=/.../paraview-build/ pw.visualizer.cmd.map=PORT:getPort Is that right? 2) When I start jetty session manager with a command: java -jar JettySessionManager-Server-1.0.jar config.properties I get the following output: Starting ParaViewWeb multi-user front-end Configuration: PATH/config.properties WebContent: PATH/build/www Port: 9000 === Oct 15, 2013 8:49:05 PM com.kitware.paraviewweb.util.Config getProxyConnectionAdapter INFO: No class defined for ProxyConnectionAdapter 2013-10-15 20:49:05.914:INFO:oejs.Server:jetty-8.y.z-SNAPSHOT 2013-10-15 20:49:06.296:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:9000 I'm getting a message: No class defined for ProxyConnectionAdapter cause I have left blank two lines in the config file (pw.factory.proxy.adapter= and pw.factory.proxy.adapter.file=). Even when I specify pw.factory.proxy.adapter = com.kitware.paraviewweb.external.JsonFileProxyConnectionAdapter, I still get same message. So how should pw.factory.proxy.adapter and pw.factory.proxy.adapter.file be specified? Thank you in advance! Pawel On 4 October 2013 19:45, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Hi Pawel, yes it is possible, one way to do that is to use a Session Manager like the following one. But you can build your own if need be. Seb http://www.paraview.org/ParaView3/Doc/Nightly/www/js-doc/index.html#!/guide/jetty_session_manager On Thu, Oct 3, 2013 at 8:53 AM, Pawel Kwiecien nor...@gmail.com wrote: Hi all, I'm exploring ParaViewWeb included in ParaView 4.0. As described in the documentation (http://www.paraview.org/Wiki/ParaViewWeb), I can run it locally like that ./bin/pvpython lib/site-packages/paraview/web/pv_web_visualizer.py --content www --port 8080 --data-dir $PARAVIEW_DATA My question would be: how to embed ParaViewWeb in my web application? Is it possible to start pvpython dynamically? As an example, user clicks a button and a ParaView visualization should be loaded. Thank you very much in advance for your help. All the best, Pawel ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
[Paraview] Programmable Filter Help
Hello I'm trying to put together a Programmable filter that will add arrays of deformed and undeformed coordinates and undeformed angles to my PointData in 4.0.1 From all the examples online, I think either of these examples should work but neither does. Any hints First, I am copying arrays in the PF, so I should be able to manipulate either input or output, but neither works It is also a composite (Exodus dataset) First version - error is can't find output.Points import math def process_block(block): displ=block.PointData['DISPL'] # Coords of Points are locked into individual Point structures # Assume Displacements applied (Points are deformed) numPts=output.GetNumberOfPoints() # for i in range(numPts): # #x_coords[i], y_coords[i], z_coords[i] = output.GetPoint(i) x_coords=output.Points[:,0] y_coords=output.Points[:,1] z_coords=output.Points[:,2] x_undef=x_coords-displ[:,0] y_undef=y_coords-displ[:,1] z_undef=z_coords-displ[:,2] # Undeformed scalar Coordinates block.PointData.append(x_undef,X_undef) block.PointData.append(y_undef,Y_undef) block.PointData.append(z_undef,Z_undef) # Deformed scalar Coordinates block.PointData.append(x_coords,X_def) block.PointData.append(y_coords,Y_def) block.PointData.append(z_coords,Z_def) # Calc angles (no atan2 in vtk) Angles_undef=math.atan2(z_undef,x_undef) block.PointData.append(Angles_undef,Angle_undef) for block in output: process_block(block) For second version I comment out x_coords=output.Points[;0] and use # for i in range(numPts): # #x_coords[i], y_coords[i], z_coords[i] = output.GetPoint(i) This error is can't find output.GetPoint Both of these are used in examples online of Programmable Filter, so what am I missing? I have substituted input for output above and no change. Also, output.GetNumberOfPoints works, so why doesn't output.GetPoints work? Also, I don't understand what object I should examine to find all the member functions within Input and Output within the Programmable Filter Thanks ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
Re: [Paraview] Paraview Webgl Scene
Yes you got it. It is exactly that, providing all the objects needed with all the time steps and just then a list of scene graph for each time step. Then just switching from one scene to another. Seb On Wed, Oct 16, 2013 at 3:57 AM, Paul Graham meteorp...@gmail.com wrote: Hi Seb, Thanks for your reply. I have to say the Webgl scene export is excellent, even as simple as it is at the present time. I hope it will be developed further. Unfortunately I cannot see the axes in the exported Webgl scene, though they appear in Paraview. I am still interested in animating the scene and have been delving into the code. As far as I can tell, at least simplistically, I would have to update the 'objects' array at regular intervals to get a basic animation. My plan is to take the relevant base64 scene files and somehow incorporate them into an animation (hopefully!). Cheers, Paul On 16 October 2013 14:38, Sebastien Jourdain sebastien.jourd...@kitware.com wrote: Hi Paul, the WebGL exporter is very limited and just export basic geometry but the exported scene should reflect what you were seeing in ParaView with no animation or possible customization of the generated scene. The axes should be present though if they were while exporting. Seb On Sun, Oct 13, 2013 at 6:45 AM, Paul Graham meteorp...@gmail.comwrote: Hi Everyone, In creating and exporting a Paraview scene to Webgl, I have been unable to: i) Set opacity ii) Show axes iii) Zoom iv) Animate Does anyone know if these features are available in Paraview's Webgl feature at the present time (Oct 14, 2013) or have I overlooked something that would enable them? Thanks, Paul ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview