[Paraview-developers] InputArrayToProcess explanation

Sebastien Jourdain sebastien.jourdain at kitware.com
Mon Jul 8 09:15:02 EDT 2013


type 0 => int
type 1 => double
type 2 => string

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.

Seb


On Mon, Jul 8, 2013 at 9:11 AM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:

>
> http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html#a6bea16e1329609dbccce0ff8d2367484
>
>
> On Mon, Jul 8, 2013 at 9:00 AM, shinpei <noro_shinpei at web.de> wrote:
>
>> Hi,
>>
>> I use this property in my plugin:
>>
>> <StringVectorProperty
>>   command="SetInputArrayToProcess"
>>   element_types="0 0 0 0 2"
>>   label="Coeffizients"
>>   name="CoefficientVector"
>>   number_of_elements="5">
>>     <ArrayListDomain attribute_type="Vectors"
>>       input_domain_name="input_array"
>>       name="array_list">
>>       <RequiredProperties>
>>         <Property function="Input" name="Input" />
>>       </RequiredProperties>
>>     </ArrayListDomain>
>> </StringVectorProperty>
>>
>> Can anyone explain the element_types values and their meaning?
>>
>> Thx
>>
>>
>>
>> --
>> View this message in context:
>> http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/InputArrayToProcess-explanation-tp2344.html
>> Sent from the The Unofficial ParaView Developers Forum mailing list
>> archive at Nabble.com.
>> _______________________________________________
>> Paraview-developers mailing list
>> Paraview-developers at paraview.org
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130708/c2c82409/attachment.htm>


More information about the Paraview-developers mailing list