[Paraview] python programmable filters with no output in ParaView?
David E DeMarle
dave.demarle at kitware.com
Sat Jan 24 09:23:18 EST 2009
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 information tab will display something useful). That is
what the paraview.servermanager.Fetch filter does for client side
python scripting of reduction operations.
But no output? We would have to change the cxx code for that. Please
add a feature request to the bug tracker if the above solution does
not work for your needs.
cheers,
On Fri, Jan 23, 2009 at 8:42 PM, Pierre JUILLARD
<pierre.juillard at gmail.com> wrote:
> 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 programmable filter computing
> the whole volume of a 3D mesh (making use of vtkMassProperties for instance)
> which would thus returns a single scalar.
> Such a result could then be displayed or saved in a result file, but not new
> vtk data or grid would be generated...
>
> I thank you in advance for your comments.
> Cheers,
>
>
> Pierre
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
--
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109
More information about the ParaView
mailing list