[Paraview] [EXT] Re: Details of XML filter with lists of input arrays

Dennis Conklin dennis_conklin at goodyear.com
Tue Oct 3 13:26:36 EDT 2017


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.ayachit at kitware.com]
Sent: Tuesday, October 03, 2017 1:24 PM
To: Dennis Conklin <dennis_conklin at goodyear.com>
Cc: Paraview (paraview at paraview.org) <paraview at 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_conklin at goodyear.com<mailto:dennis_conklin at 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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171003/0187e324/attachment.html>


More information about the ParaView mailing list