[Paraview] Paraview Web view along X,Y or Z
Sebastien Jourdain
sebastien.jourdain at kitware.com
Sat May 14 10:09:49 EDT 2011
Hi Raj,
if you create a 2D view instead of a 3D one, you'll get exactly what you
want.
But, since it's a hidden API from the JavaScript, you'll need to make a
python plugin to enable that API
You need to call: paraview.simple._create_view("2DRenderView")
them, you just need to play with some display properties.
DataRepresentation5 = GetDisplayProperties(Wavelet1)
DataRepresentation5.SliceMode = 'XY Plane'
DataRepresentation5.Slice = 10
You can look in the wiki some sample code that was used for the manta
plugin.
Seb
On Fri, May 13, 2011 at 5:31 PM, Rajvikram Singh <rajvikrams at yahoo.com>wrote:
> Hi
> I would like to provide the ParaviewWeb session users to be able to view
> their data along the major axes at any point. I looked at the view
> properties and there were member functions for setCameraViewUp() and
> setCameraPosition() but I was not able to orient the camera correctly. Am I
> missing any other function .. maybe for the camera itself ?
>
> Thanks
> Raj
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110514/8f04259f/attachment.htm>
More information about the ParaView
mailing list