ParaViewWeb misc JavaScript script: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 2: Line 2:
[[ParaViewWeb]]
[[ParaViewWeb]]
----
----
=== PWService testing ===
On the web page [http://localhost:8080/PWService/test/index.jsp] execute the following script
  var serverURL = 'http://localhost:8080/PWService';
  var paraview = new Paraview(serverURL);
  var paraview.createSession('testing','basic-test');
  paraview.Sphere();


=== PWApp using manta renderering ===
=== PWApp using manta renderering ===

Revision as of 17:32, 27 May 2010

ParaViewWeb


PWService testing

On the web page [1] execute the following script

 var serverURL = 'http://localhost:8080/PWService';
 var paraview = new Paraview(serverURL);
 var paraview.createSession('testing','basic-test');
 paraview.Sphere();

PWApp using manta renderering

For wireframe representation use solid color and rise the line width

 paraview.GetDisplayProperties({proxy: pipeline.dataset}).setLineWidth(200)
 paraview.GetDisplayProperties({proxy: pipeline.iso}).setLineWidth(200)
 paraview.GetDisplayProperties({proxy: pipeline.slice}).setLineWidth(200)
 paraview.GetDisplayProperties({proxy: pipeline.clip}).setLineWidth(200)
 paraview.GetDisplayProperties({proxy: pipeline.stream}).setLineWidth(200)