ParaViewWeb PWApp: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 44: Line 44:


==Save the result==
==Save the result==
The result can be saved as a capture image of the rendering view or as a state which can be loaded later with the '''Data to load''' field of the session creation form.
* To save the capture, just click on the camera that lies in the view toolbar. Once done, a new window/tab will appear with only a png image in it which could be saved with the browser menu.
* To save the state, just click on the floppy disk icon. A dialog will appear and ask you what name you want for your state.





Revision as of 21:25, 24 June 2010

ParaViewWeb


Introduction

The PWApp application has been designed to illustrate how ParaView can be used as a backend for relatively complex 3D data processing on the Web. The Google GWT JavaScript toolkit has been used to build this application. The purpose of that application is to illustrate what can be done on the Web in term of interactivity with data processing involved. It has not been built to replace ParaView, but it should only be seen as a glimpse of what can be done with the ParaViewWeb framework.

First step

When you first connect to the PWApp, you can either

  • Create a new visualization session
  • Join a running visualization session
  • Upload on of your dataset on the server for web visualization (Only if the administrator did allow you to do so)

PWAppWelcome.jpg

Create a new visualization session

In order to create a new visualization session, you should fill the form provided on the left side of the page.

  • The session name is used to humanly identified your session in the administration backend service.
  • The data to load can either be a state or a data file stored on the server in a custom directory. This combobox get automatically populated regarding the content of those directories (Data and State).
  • The ParaView setting is used to select a given configuration that the server administrator is providing such as using directly ParaView on the web server, or making some automatic remote connection for parallel rendering or using the Manta ray tracer engine.
  • The Connect to field can be used to connect to any manually started remote pvserver. By default, their is no point to change it.

Then to finally create this remote session just click on the Create session icon. By doing that, the user should be redirected to another web page that will provide a 3D rendering view and all the control panel for applying a pre-defined set of filters and customized them.

Join a running visualization session

To join a running session, the user should fill the form with the session id that another user would have provide by looking at the information tab of a running session. The following image highlight the location of that session id.

PWAppSessionId.png

Upload a data file

Depending on the configuration file that the administrator used to deploy the service, the user might be allowed to upload any file in the data directory of the server.

The uploaded file can be rejected if they are bigger than expected or if they not follow the extension that they are supposed to have. Moreover, after a certain amount of time, they can be removed automatically after a timeout that has to be defined by the server administrator.

Once a file has successfully uploaded, it will be available in the Data to load combobox field of the session creation area.

Process your data

ParaViewWeb-widgetSmall.png

Save the result

The result can be saved as a capture image of the rendering view or as a state which can be loaded later with the Data to load field of the session creation form.

  • To save the capture, just click on the camera that lies in the view toolbar. Once done, a new window/tab will appear with only a png image in it which could be saved with the browser menu.
  • To save the state, just click on the floppy disk icon. A dialog will appear and ask you what name you want for your state.


ParaViewWeb-saveState.png

Conclusion