<br>Thank you for your comments.<br><br>Yes a cvs table is an interesting idea to store the results. I'm gonna check that. Thanks for the track!<br><br>At first, I was thinking to another way to keep such kind of scalar results computed by a given filter.<br>
I indeed thought that it could be interesting to store them as an attribute value in the .pvsm file of the ParaView session, something like:<br><br> <Proxy group="filters" type="" id="" servers=""> <i><= the filter that computes a scalar result...</i><br>
<Property name="Input" id="" number_of_elements=""> <i><= ...and the definition of all its inputs, and other necessary data</i><br> ...<br> </Property><br>
...<br> <Property name="Output" id="" umber_of_elements="1" <b>value="46"</b> > <i> <= ...finally, the results obtained and written in the pvsm after a batch execution or when the ParaView session is saved.</i><br>
...<br> </Property><br> </Proxy><br><br><br>But it may not be well in accordance with the logic of the pvsm file.<br><br>Thanks again for your help!<br>Cheers,<br><br><br><br>Pierre<br><br><br>
<br><div class="gmail_quote">2009/1/24 Berk Geveci <span dir="ltr"><<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Actually, I think that such a filter should have an output. Probably a<br>
vtkTable that has one or a few values in it. You can then save that<br>
table to a csv file or something. Even use it as an input to another<br>
filter. Applications like OpenDX, SCIRun and AVS take this idea to the<br>
extreme and make pretty much all parameters of pipeline modules into<br>
inputs...<br>
<font color="#888888"><br>
-berk<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Sat, Jan 24, 2009 at 9:23 AM, David E DeMarle<br>
<<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
> Hmm,<br>
><br>
> One thing to try is to have it output a vtkPolyData with exactly one<br>
> point and VTK_VERTEX cell (to contain the point and cell associated<br>
> attribute arrays respectively. The output is minimal in that case, but<br>
> can be used by vtk/paraview for additional processing if needed (for<br>
> example the information tab will display something useful). That is<br>
> what the paraview.servermanager.Fetch filter does for client side<br>
> python scripting of reduction operations.<br>
><br>
> But no output? We would have to change the cxx code for that. Please<br>
> add a feature request to the bug tracker if the above solution does<br>
> not work for your needs.<br>
><br>
> cheers,<br>
><br>
> On Fri, Jan 23, 2009 at 8:42 PM, Pierre JUILLARD<br>
> <<a href="mailto:pierre.juillard@gmail.com">pierre.juillard@gmail.com</a>> wrote:<br>
>> Hi all,<br>
>><br>
>> I would like to know if there is a way to have a python programmable flter<br>
>> without output in ParaView, that is to say, having an additional entry<br>
>> "none" when the "Output DataSet Type is requested in the ParaView python<br>
>> programmable filter GUI?<br>
>> For instance, is it possible to have a python programmable filter computing<br>
>> the whole volume of a 3D mesh (making use of vtkMassProperties for instance)<br>
>> which would thus returns a single scalar.<br>
>> Such a result could then be displayed or saved in a result file, but not new<br>
>> vtk data or grid would be generated...<br>
>><br>
>> I thank you in advance for your comments.<br>
>> Cheers,<br>
>><br>
>><br>
>> Pierre<br>
>><br>
>><br>
>> _______________________________________________<br>
>> ParaView mailing list<br>
>> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> David E DeMarle<br>
> Kitware, Inc.<br>
> R&D Engineer<br>
> 28 Corporate Drive<br>
> Clifton Park, NY 12065-8662<br>
> Phone: 518-371-3971 x109<br>
> _______________________________________________<br>
> ParaView mailing list<br>
> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
</div></div></blockquote></div><br>