Solve error: 'class vtkImageActor' has no member named 'SetInput'

 

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.

posted @ 2015-11-11 06:56  Grandyang  阅读(1537)  评论(0编辑  收藏  举报
Fork me on GitHub