vtkImageMathematics SetInputConnection issue
@sankhesh Your commit f260a426 !8603 (merged) breaks the vtk-examples that use vtkImageMathematics
, for example, look at DotProduct, in particular line 120:
imageMath->SetInputConnection(dotProductFilter->GetOutputPort());
I can get around it by changing the line to:
imageMath->SetInputConnection(0,dotProductFilter->GetOutputPort());
Although it seems a bit odd having to now specify the input port number here.
I guess what I am thinking is that now we have to manually specify the input port, is that true?
If so, will doing this affect previous versions of VTK? I am using the master to build the vtk-examples.
Thanks in advance for any advice.