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.

上一篇:centos7安装mysql


下一篇:安装python3.7 + pytorch1.7.1 + torchvision0.8.2 + torchaudio0.7.2 + cudatoolkit110 + torchio0.18.17