[Paraview] Export Slice result as Image file

2017-04-27 Thread Rodrigo Pelorosso
Hello! I have a volume with a slice filter applied. I would like to export the resulting slice surface as an image file. Is there any native way to do this? Failing to find any I've been trying to read the slice data using a programmable python filter, but as I´m new to Paraview I'm having a hard

Re: [Paraview] paraview web architecture

2016-08-30 Thread Rodrigo Pelorosso
Sadly, I feel there should be A LOT more documentation regarding ParaviewWeb. What I found useful to learn how to interact with the Paraview server using python is the Tracer feature of paraview. It can show what python commands the interface triggers. I've found that there are some commands that

[Paraview] vtkImageReader2Factory.CreateImageReader2 returning null

2016-07-29 Thread Rodrigo Pelorosso
Hello! I'm trying to read a jpeg file using python to use in a plane as a texture, I have this: from paraview.vtk.vtkIOImage import vtkImageReader2Factory reader = vtkImageReader2Factory.CreateImageReader2("/home/silencer/example.jpg") This doesn't display any errors when executi

Re: [Paraview] pvpython and vtk classes and functions to create objects

2016-07-29 Thread Rodrigo Pelorosso
texturePlane.SetInputConnection(reader.GetOutputPort()) > > .... > > return 0 > > On Sun, Jun 5, 2016 at 7:45 PM, Rodrigo Pelorosso > wrote: > > Hi! > > > > Is there a way to use python VTK functions and classes in paraview? I'm > > using paraview

[Paraview] pvpython and vtk classes and functions to create objects

2016-06-05 Thread Rodrigo Pelorosso
Hi! Is there a way to use python VTK functions and classes in paraview? I'm using paraview through paraviewweb and I've created an RPC that I can call from the client to run paraview python code: @exportRpc("my.test.rpc") def myTestRPCFunction(self): return 0 I would like to create,