<div dir="ltr">type 0 => int<div style>type 1 => double </div><div style>type 2 => string</div><div style><br></div><div style>As the method contains a mix of argument types, we made the choice to encode all of them as a string and let the property know how to convert them to the correct underlying type.</div>
<div style><br></div><div style>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 9:11 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.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"><a href="http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html#a6bea16e1329609dbccce0ff8d2367484" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html#a6bea16e1329609dbccce0ff8d2367484</a><br>
</div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jul 8, 2013 at 9:00 AM, shinpei <span dir="ltr"><<a href="mailto:noro_shinpei@web.de" target="_blank">noro_shinpei@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I use this property in my plugin:<br>
<br>
<StringVectorProperty<br>
command="SetInputArrayToProcess"<br>
element_types="0 0 0 0 2"<br>
label="Coeffizients"<br>
name="CoefficientVector"<br>
number_of_elements="5"><br>
<ArrayListDomain attribute_type="Vectors"<br>
input_domain_name="input_array"<br>
name="array_list"><br>
<RequiredProperties><br>
<Property function="Input" name="Input" /><br>
</RequiredProperties><br>
</ArrayListDomain><br>
</StringVectorProperty><br>
<br>
Can anyone explain the element_types values and their meaning?<br>
<br>
Thx<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/InputArrayToProcess-explanation-tp2344.html" target="_blank">http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/InputArrayToProcess-explanation-tp2344.html</a><br>
Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org" target="_blank">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>