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!
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to