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.

本文转自博客园Grandyang的博客,原文链接:Solve error: 'class vtkImageActor' has no member named 'SetInput',如需转载请自行联系原博主。

相关文章
VS2005 error C2864 only static const integral data members can be initialized within a class
VS2005 error C2864 only static const integral data members can be initialized within a class
error:‘struct vm_fault‘ has no member named ‘virtual_address‘
error:‘struct vm_fault‘ has no member named ‘virtual_address‘
160 0
error:‘struct vm_fault‘ has no member named ‘virtual_address‘