<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hi<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>I want to make a filter plugin where i do not know how to set the xml file for the properties panel, may some expert can give me a hint:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>The filter has has two inputs (both vtkPolyData Objects ) with optional point based arrays. The user should optionally be able to select none ore an arbitrary amount of these arrays with an additional float value, so the member function of my filter has this signature:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <span style='color:blue'>void</span> <span style='color:#010001'>EnableAttributeArray</span>( <span style='color:blue'>const</span> <span style='color:blue'>char</span>* <span style='color:#010001'>pcArrName</span>, <span style='color:blue'>float</span> <span style='color:#010001'>fFactor</span> );<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:blue'>void</span><span style='font-size:10.0pt;font-family:"Courier New"'> <span style='color:#010001'>ClearAttributeArrays</span>();<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>It would also be nice if only those arrays would be displayed which are have same name in both inputs…<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>Currently i have made a list with array names of first input, no check for beeing in both inputs and no possibility of selection of the fFactor float value:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'><InputProperty<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> name="Target"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> command="AddInputConnection"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> clean_command="RemoveAllInputs"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <ProxyGroupDomain name="groups"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <Group name="sources"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <Group name="filters"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </ProxyGroupDomain><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <DataTypeDomain name="input_type"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <DataType value="vtkPolyData"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </DataTypeDomain><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <!--<InputArrayDomain name="input_array" attribute_type="point"/>--><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <InputArrayDomain name="input_array" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'></InputProperty><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'><InputProperty<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> name="Source"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> command="AddSourceConnection"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> clean_command="RemoveAllSources"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <ProxyGroupDomain name="groups"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <Group name="sources"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <Group name="filters"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </ProxyGroupDomain><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <DataTypeDomain name="input_type"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> <DataType value="vtkPolyData"/><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'> </DataTypeDomain><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'></InputProperty><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><StringVectorProperty clean_command="ClearAttributeArrays"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> command="EnableAttributeArray"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> label="Add array to distance measure"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> name="SelectArrays"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> default_values="0"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> number_of_elements_per_command="1"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> repeat_command="1" ><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <ArrayListDomain name="input_array"><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <RequiredProperties><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <Property function="Input"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> name="Source" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> <Property function="Input"<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> name="Target" /><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> </RequiredProperties><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> </ArrayListDomain><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB> </StringVectorProperty><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE-AT'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:12.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE-AT'>If someone could help me it would be great<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE-AT'>_________________________________________________________________</span><span style='font-size:8.5pt;color:black;mso-fareast-language:DE-AT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span lang=DE style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'><o:p> </o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><b><span lang=DE style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'>JOANNEUM RESEARCH Forschungsgesellschaft mbH</span></b><span lang=DE style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'> <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'>DIGITAL – Institute for Information and Communication Technologies</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'>Steyrergasse 17, 8010 Graz, Austria<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#4D4D4D;mso-fareast-language:JA'> <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'>phone: +43 316 876-1751<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'>fax: +43 316 8769-1751<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=DE style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'>e-mail: <a href="mailto:gerald.lodron@joanneum.at"><span style='color:blue'>gerald.lodron@joanneum.at</span></a> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'>web: <a href="http://www.joanneum.at/digital"><span style='color:blue'>www.joanneum.at/digital</span></a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Arial","sans-serif";color:black;mso-fareast-language:DE-AT'>_________________________________________________________________</span><span lang=EN-US style='font-size:8.5pt;color:black;mso-fareast-language:DE-AT'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span lang=EN-US style='mso-fareast-language:JA'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;color:gray;mso-fareast-language:JA'>This message and any attached files are confidential and intended solely for the addressee(s). Any publication, transmission or other use of the information by a person or entity other than the intended addressee(s) is prohibited. If you receive this in error please contact the sender and delete the material. The sender does not accept liability for any errors or omissions as a result of the transmission.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;color:gray;mso-fareast-language:JA'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;color:gray;mso-fareast-language:JA'>Please consider the environment before printing this page.</span><span lang=EN-US style='color:gray;mso-fareast-language:JA'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div></body></html>