All,

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.    I can envision a Custom filter where I have a Programmable filter 
which processes everything, preceded by a Pass Arrays filter  - I could bundle 
them together and expose the Pass Arrays filter to let them choose which 
variables they want, but I think the self-contained plug-in which I can add to 
the site Plugin directory and get automagically loaded at startup is a better 
way to go if I can just figure out how to do it!

Dennis

From: Dennis Conklin
Sent: Tuesday, October 03, 2017 1:27 PM
To: 'Utkarsh Ayachit' <utkarsh.ayac...@kitware.com>
Cc: Paraview (paraview@paraview.org) <paraview@paraview.org>
Subject: RE: [EXT] Re: [Paraview] Details of XML filter with lists of input 
arrays

Utkarsh,

I am adding this property on a filter, so it’s input – I want to process some 
variables and let the user choose which of his variables to process!

Thanks
Dennis

From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: Tuesday, October 03, 2017 1:24 PM
To: Dennis Conklin 
<dennis_conk...@goodyear.com<mailto:dennis_conk...@goodyear.com>>
Cc: Paraview (paraview@paraview.org<mailto:paraview@paraview.org>) 
<paraview@paraview.org<mailto:paraview@paraview.org>>
Subject: [EXT] Re: [Paraview] Details of XML filter with lists of input arrays

 WARNING - External email; exercise caution.



Dennis,

Before I answer the question, I need to know what are you adding this property 
on? Is this a filter or a reader? The difference is that for a reader, the 
information about arrays available is provided by the reader itself; while for 
filter, that information is obtained from its input.

Utkarsh

On Tue, Oct 3, 2017 at 8:17 AM, Dennis Conklin 
<dennis_conk...@goodyear.com<mailto:dennis_conk...@goodyear.com>> wrote:
All,

I’m confused about how to write an XML plugin that lets the user select input 
variables for processing.

Say I want to put up a list of  cell variables and let the user select which 
ones to process:

I see this:
https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.paraview.org%2FWiki%2FParaView%2FPlugin_HowTo%23Drop_down_list_with_values_from_input_arrays&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C233074047aa04dd5050e08d50a839b26%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=LHBX%2FpUEkCJwub%2B4fM8GwOhpy1ScZpK3YlhCarhGgI0%3D&reserved=0>
but it is not clear to me.
My questions include:


  1.  How do I get Cell variables, point variables or field variables – which 
is the example, or do we always get all 3?
  2.  Within my code, how do I know what variables have been selected by the 
user from the list?
Thanks for all for any help.

Dennis


_______________________________________________
Powered by 
www.kitware.com<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C233074047aa04dd5050e08d50a839b26%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=6Hhfmtf1URd%2BPI9lMQRGucy4NvMpdEBEq7xSsQ9RLh4%3D&reserved=0>

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C233074047aa04dd5050e08d50a839b26%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=Uw%2BxjRMF3Tr2Ggl6jd2%2BA35Q1u2EAaew3LssSzdJrF8%3D&reserved=0>

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fparaview.org%2FWiki%2FParaView&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C233074047aa04dd5050e08d50a839b26%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=66kBtB1Yksy2jDf39AjgMmzJJr9aBrvsvdd2O1J4cl4%3D&reserved=0>

Search the list archives at: 
http://markmail.org/search/?q=ParaView<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3DParaView&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C233074047aa04dd5050e08d50a839b26%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=RwlSTKL8Vdr2jBzXlJx65NExMP8ZQLCwuAK4L1CWJIM%3D&reserved=0>

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fparaview&data=01%7C01%7Cdennis_conklin%40goodyear.com%7C233074047aa04dd5050e08d50a839b26%7C939e896692854a9a9f040887efe8aae0%7C0&sdata=x7Oe6Cg27R6R5sFYo92%2FP9crIibCHvTlmHMXCowAvv0%3D&reserved=0>

_______________________________________________
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