[Paraview] Filter for interactive spreadsheet?

Andy Bauer andy.bauer at kitware.com
Tue Jan 17 04:51:17 EST 2017


Hi Cornelis,

How would you like to select the single or group of values to change? Also,
how would you like to change them (e.g. the same transformation for each or
each with its own transformation)? These two questions are meant to guide
you to do what you want in ParaView.

You probably want to look at the Python Programmable Filter (
http://www.paraview.org/Wiki/Python_Programmable_Filter) for changing
individual array values. If you are working in serial you may also be able
to bring in the entities to change based on a selection. A better solution
would be to use the global ids filter, then do a selection on what you want
and finally pass that in as a secondary input to the Python Programmable
filter.

Developing your own filter is also a possibility.

cheers,
Andy

On Tue, Jan 17, 2017 at 1:38 AM, Cornelis Bockemühl <
cornelis.bockemuehl at gmail.com> wrote:

> Dear Andy,
>
> Thanks for this hint: Indeed I was not fully aware of the way how you can
> easily add new calculated columns with these two filters! What they do is
> some kind of "vector math", resulting in a new vector that is appended to
> the input data set.
>
> However my question went in the direction of directly editing single
> values, or groups of values.
>
> Example: Assume that we have a data array "Density" in some data set, then
> I want to be able to directly change the "density" value for just a few
> cells, or even better: for a selected set of data rows.
>
> Because: If such a thing does not exist yet I would consider trying to
> write it myself - but I do not insist on reinventing any wheel! And I am
> sometimes astonished how many "wheels" already exist in the ParaView
> "world"...
>
> Regards,
> Cornelis
>
> PS: Why do I never see my own posts to the paraview mailing list? Is this
> a bug or a feature or something I am doing wrong?
>
> 2017-01-17 0:57 GMT+01:00 Andy Bauer <andy.bauer at kitware.com>:
>
>> This can be done through either the calculator or python calculator
>> filter. If you're in the spreadsheet view it should switch over to the
>> calculator/python calculator output when the filter is applied.
>>
>> On Mon, Jan 16, 2017 at 5:14 PM, Cornelis Bockemühl <
>> cornelis.bockemuehl at gmail.com> wrote:
>>
>>> Has somebody already written and contributed a filter that allows some
>>> simple "spreadsheet like" user manipulation of the data?
>>>
>>> I mean something that accepts some data input, then allows user changes,
>>> and the output would be the changed data set.
>>>
>>> Regards,
>>> Cornelis
>>>
>>> --
>>> Cornelis Bockemühl
>>> Basel, Schweiz
>>>
>>> _______________________________________________
>>> 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
>>>
>>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://public.kitware.com/mailman/listinfo/paraview
>>>
>>>
>>
>
>
> --
> Cornelis Bockemühl
> Basel, Schweiz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170117/31774cbf/attachment.html>


More information about the ParaView mailing list