[Paraview] problems with repeatable input to filter

Burlen Loring burlen.loring at kitware.com
Fri Feb 20 12:24:41 EST 2009


Jeff Baumes wrote:
>> void vtkBlahFilter::SetDataSet1Connection(vtkAlgorithmOutput* algOutput)
>> {
>>  this->SetInputConnection(0, algOutput);
>> }
>> void vtkBlahFilter::SetDataSet2Connection(vtkAlgorithmOutput* algOutput)
>> {
>>  this->SetInputConnection(0, algOutput);
>> }
>>     
>
> Burlen's code looks right, but I believe the SetDataSet2Connection
> should be like this (change 0 to 1):
>
> void vtkBlahFilter::SetDataSet2Connection(vtkAlgorithmOutput* algOutput)
>  {
>  this->SetInputConnection(1, algOutput);
> }
>   
right!


More information about the ParaView mailing list