Replacement of SetInput() with SetInputData() and SetInputConnection()
someFilter->SetInput(someReader->GetOutput()); // Outdated // Replace to the following: someFilter->SetInputConnection(someReader->GetOutputPort()); someFilter->SetInputData(aDataObject);
For details, please see here.
本文转自博客园Grandyang的博客,原文链接:Solve error: 'class vtkImageActor' has no member named 'SetInput',如需转载请自行联系原博主。