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.

相关文章:

  • 2021-08-01
  • 2022-12-23
  • 2022-01-29
  • 2021-06-24
  • 2022-12-23
  • 2021-12-20
  • 2021-11-02
猜你喜欢
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-08
相关资源
相似解决方案