> To be more exact, I wrote a routine here that does an area-weighted average 
> of some variables.    Now the users are asking if I can give them a list of 
> variables in the model and they can choose which ones to calculate a weighted 
> average.

There are many filters you can base this on. Here are a few examples:

1. 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L2026-2041

Here the arrays to list is determined by the "InputArrayDomain"
element defined on the InputProperty and fixed to cell data.

2. 
https://gitlab.kitware.com/paraview/paraview/blob/master/ParaViewCore/ServerManager/SMApplication/Resources/filters.xml#L13865-13881

Here the user can separately select which attribute he/she is
interested in using a separate "AttributeMode" property.

Utkarsh
_______________________________________________
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

Reply via email to