[Paraview-developers] Volume Rendering with python
Roba Binyahib
roba.binyahib at kaust.edu.sa
Sun Jul 15 04:22:08 EDT 2012
Hello
I want to change the representation to volume using python
this is my script
from paraview import servermanager
servermanager.Connect()
from paraview.simple import*
reader = servermanager.sources.XdmfReader(FileName =
"/.................../HCOOnly.xmf")
reader.UpdatePipeline()
pointData = servermanager.filters.CellDataToPointData(Input=reader)
pointData.UpdatePipeline()
view = servermanager.CreateRenderView()
Show(pointData, view)
Render(view)
I want to perform the volume representation on pointData
Hope someone can help
thanks
--
------------------------------
This message and its contents, including attachments are intended solely
for the original recipient. If you are not the intended recipient or have
received this message in error, please notify me immediately and delete
this message from your computer system. Any unauthorized use or
distribution is prohibited. Please consider the environment before printing
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20120715/80c142f7/attachment.htm>
More information about the Paraview-developers
mailing list