ParaViewWeb misc JavaScript script

From KitwarePublic
Jump to navigationJump to search

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)