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',如需转载请自行联系原博主。

相关文章
Unknown custom element: <add-employee> - did you register the component correctly? For red cursive c
原因: 1.组件名没写对(导入和注册不对应) 2.components少写了个s 3.组件命名最好是驼峰命名 4.导入时语法错误 5.代码中有两个components,后一个的值把前一个覆盖了 6.组件直接循环套用了
104 0
Error:Elements in iteration expect to have ‘v-bind:key‘ directives
Error:Elements in iteration expect to have ‘v-bind:key‘ directives
|
前端开发 安全
| ERROR: [2] bootstrap checks failed. You must address the points described in the following [2] lin
| ERROR: [2] bootstrap checks failed. You must address the points described in the following [2] lin
822 0
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
|
Linux
ERROR: 2 matches found based on name: network product-server_default is ambiguous
ERROR: 2 matches found based on name: network product-server_default is ambiguous
170 0
|
关系型数据库 MySQL C++
Error:E0415 no suitable constructor exists to convert from “int“ to “Rational“
Error:E0415 no suitable constructor exists to convert from “int“ to “Rational“
189 0
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179)
446 0
error: ‘nullptr’ was not declared in this scope
error: ‘nullptr’ was not declared in this scope
242 0