<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>Hi<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span lang=EN-GB>I currently made my own custom object panel in PV 3.98.1 and successfully made buttons and input dialogs which are calling functions of my filter.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>Now I want to make a list widget which depends on the input of the filter, so the number of entries in the list and their name should depend on the number of point/cell based arrays in the input, but how do I get access to the filters input data?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>I currently invoke function calls over the source proxy:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>vtkSMSourceProxy</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>* <span style='color:#010001'>poSourceProxy</span> = <span style='color:#010001'>vtkSMSourceProxy</span>::<span style='color:#010001'>SafeDownCast</span>(<span style='color:blue'>this</span>-&gt;<span style='color:#010001'>proxy</span>());<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>poSourceProxy</span><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>-&gt;<span style='color:#010001'>InvokeCommand</span>(<span style='color:#A31515'>&quot;MyFunction&quot;</span>);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New"'>now i need something like<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'>vtkPolyData* poInputPolydata = vtkPolyData::SafeDownCast( poSourceProxy-&gt;GetInput() );<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB style='font-size:10.0pt;font-family:"Courier New";color:#010001'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>can anyone help me or give a hint where to look?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>thanks<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'>_________________________________________________________________</span><span lang=EN-GB 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=EN-GB style='font-size:10.0pt;font-family:"Arial","sans-serif";mso-fareast-language:JA'><o:p>&nbsp;</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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <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 &#8211; 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'>&nbsp;<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>&nbsp;</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>&nbsp;</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>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p></div></body></html>