ParaViewWeb misc JavaScript script: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
Line 9: Line 9:
   var serverURL = 'http://localhost:8080/PWService';
   var serverURL = 'http://localhost:8080/PWService';
   var paraview = new Paraview(serverURL);
   var paraview = new Paraview(serverURL);
   var paraview.createSession('testing','basic-test');
   paraview.createSession('testing','basic-test');
   paraview.Sphere();
   paraview.Sphere();



Revision as of 17:33, 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);
 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)