[Paraview] problems with repeatable input to filter
Jeff Baumes
jeff.baumes at kitware.com
Fri Feb 20 12:13:21 EST 2009
> 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);
}
More information about the ParaView
mailing list