[vtkusers] What means "connection" in SetInputArrayToProcess ?

Aurélien Marsan aur.marsan at gmail.com
Tue Feb 1 13:38:36 EST 2011


Ok. Thanks for your answer.
And could you give me an example of these particular algorithm please ?

Le 1 février 2011 18:31, Jeff Baumes <jeff.baumes at kitware.com> a écrit :

> 2011/2/1 Aurélien Marsan <aur.marsan at gmail.com>
>
> Dear vtk users,
>>
>> Now I'm trying to use the filters of vtk more efficiently.... and to take
>> advantage of the pipeline capabilities.
>> But if I understand what idx, port, fieldassociation and fieldattribute
>> mean, I can't find any explanation about what "int connection" refers to...
>>
>> I found that it is equal to 0 in most fo cases..... but why ... ?!
>>
>
> For some algorithms, input ports are repeatable, so you can assign more
> than one input to a particular port. This means that in order to fully
> specify an input dataset (or array), you need both the input port and the
> connection index within that port. It will always be 0 except if you are
> using one of those special algorithms.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110201/9ebc2f88/attachment.htm>


More information about the vtkusers mailing list