[Paraview] python programmable filters with no output in ParaView?

2009-01-23 Thread Pierre JUILLARD
Hi all, I would like to know if there is a way to have a python programmable flter without output in ParaView, that is to say, having an additional entry "none" when the "Output DataSet Type is requested in the ParaView python programmable filter GUI? For instance, is it possible to have a python

Re: [Paraview] python programmable filters with no output in ParaView?

2009-01-24 Thread David E DeMarle
Hmm, One thing to try is to have it output a vtkPolyData with exactly one point and VTK_VERTEX cell (to contain the point and cell associated attribute arrays respectively. The output is minimal in that case, but can be used by vtk/paraview for additional processing if needed (for example the info

Re: [Paraview] python programmable filters with no output in ParaView?

2009-01-24 Thread Berk Geveci
Actually, I think that such a filter should have an output. Probably a vtkTable that has one or a few values in it. You can then save that table to a csv file or something. Even use it as an input to another filter. Applications like OpenDX, SCIRun and AVS take this idea to the extreme and make pre

Re: [Paraview] python programmable filters with no output in ParaView?

2009-01-24 Thread Pierre JUILLARD
Thank you for your comments. Yes a cvs table is an interesting idea to store the results. I'm gonna check that. Thanks for the track! At first, I was thinking to another way to keep such kind of scalar results computed by a given filter. I indeed thought that it could be interesting to store them