<div dir="ltr">Amit,<div><br></div><div>Here is a snippet of sample drop down menu </div><div><br></div><div><div><IntVectorProperty command="setType" default_values="2" name="ObjectType" number_of_elements="1"></div><div> <EnumerationDomain name="enum"></div><div> <Entry text="Undefined" value="0" /></div><div> <Entry text="Type A" value="1" /></div><div> <Entry text="Type B " value="2" /></div><div> </EnumerationDomain></div><div> <Documentation>Your documentation ehre</Documentation></div><div> </IntVectorProperty></div></div><div><br></div><div>This will be reflected as a drop down list and each item is linked with some enum class. Here "setType" is the function which is being called which corresponds to different enum types from the dropdown menu.</div><div><br></div><div>Thanks,</div><div>Chiranjib</div><div><br></div><div>Is this something you are looking for?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 12, 2015 at 4:43 PM, Amit Prabhakar <span dir="ltr"><<a href="mailto:amitprabhakar05@gmail.com" target="_blank">amitprabhakar05@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br><br></div>I have been using paraview and have written really simple filters in past. However, I am lost into writing an appropriate XML for my filter. I am using this link as guide:<br><br><a href="http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays" target="_blank">http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Drop_down_list_with_values_from_input_arrays</a><br><br><br></div>However, the problem I am facing is understanding the different fields/tags of the XML file (filters.xml). For example I want to use the point data array names (a string list, I guess) as list of User input to my filter.<br><br><br></div><div>I am specially intrigued by presence of this part:<br><br><pre><span><span><RequiredProperties<span>></span></span></span>
<span><span><Property</span> <span>function</span>=<span>"ArrayList"</span> </span>
<span> <span>name</span>=<span>"CellArrayInfo"</span> <span>/></span></span>
<span><span></RequiredProperties<span>></span></span></span> <br><br></pre><pre> <br><span style="font-family:arial,helvetica,sans-serif">I am also not sure what to change in my source file, while using the <br>above XML.<br><br>Could anyone please explain this to me? Or pass any link on this topic?<br><br></span></pre><pre><span style="font-family:arial,helvetica,sans-serif">Thanks a lot in advance.<span class="HOEnZb"><font color="#888888"><br></font></span></span></pre><span class="HOEnZb"><font color="#888888"><span style="font-family:arial,helvetica,sans-serif"><br></span></font></span></div><span class="HOEnZb"><font color="#888888"><div><br><br clear="all"></div><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr">==============================<br>Amit Prabhakar <br>Singapore.<br>==============================</div></div></div></div>
</div></div></div></div></font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div>