[Paraview] python programmable filters with no output in ParaView?
Berk Geveci
berk.geveci at kitware.com
Sat Jan 24 12:37:11 EST 2009
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 pretty much all parameters of pipeline modules into
inputs...
-berk
On Sat, Jan 24, 2009 at 9:23 AM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> 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
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
More information about the ParaView
mailing list