ParaViewWeb misc JavaScript script: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 5: Line 5:
=== PWService testing ===
=== PWService testing ===


On the web page [http://localhost:8080/PWService/test/index.jsp] execute the following script
On the web page http://localhost:8080/PWService/test/index.jsp execute the following script


   var serverURL = 'http://localhost:8080/PWService';
   var serverURL = 'http://localhost:8080/PWService';

Revision as of 17:32, 27 May 2010

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

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)