[Paraview] multiple inputs for python calculator filter

Andy Bauer andy.bauer at kitware.com
Mon Sep 12 11:01:55 EDT 2011


I think this is a good idea and would be a useful example.  I'm not sure how
difficult it is to create an account to modify that page but if you want to
put together an example I'll make sure it gets added to the wiki.

Andy

On Mon, Sep 12, 2011 at 12:11 AM, Brandon, Mark <mark.brandon at yale.edu>wrote:

> I have been experimenting with the python calculator in Paraview 3.10.1,
> using the examples at the wiki page
> http://www.vtk.org/Wiki/ParaView/Users_Guide/Python_Calculator.
> In particular, I was trying to figure out how to calculate the difference
> between two 3D point arrays. The sections on Accessing Data and Comparing
> Multiple Datasets seem to provide all that is needed to do this task.
> However, I found the instructions there to be incomplete. It took me
> several hours to figure out that one has to highlight in the pipeline those
> multiple inputs you want to use before selecting the PythonCalculator
> filter.
> In other words, the variables inputs[0], inputs[1], etc refer to the first
> of the highlighted pipeline entries, the second entry, etc.
> It would be really helpful if the wiki included a full worked example, with
> this information as well.
> Best,
> Mark
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110912/febef76e/attachment.htm>


More information about the ParaView mailing list