[vtk-developers] Multi input image-to-image filter

秦硕 qinshuo at hust.edu.cn
Tue Oct 21 00:41:18 EDT 2014

I have a question on constructing a multiply input image-to-image filter based on class: vtkSimpleImagetoImgeFilter. In the previous release of vtk, the function AddInput(), GetInput() work well, while in the vtk5.10 there are a lot of problems. One of errors in GetInput() shows that:

"ERROR: In D:\VTK5.10\VTK5.10.1\Filtering\vtkDemandDrivenPipeline.cxx, line 737

vtkStreamingDemandDrivenPipeline (019A3AB0): Input port 0 of algorithm vtkpxAverageImages(019A2AE0) has 4 connections but is not repeatable.

The source I refered to is from " http://www.vtk.org/Wiki/VTK/Examples/Developers/MultipleInputConnections " 

There are examples for Multiple Input Connections or ports in "http://www.vtk.org/Wiki/VTK/Examples/Developers". And I get some solutions using function: RequestData().

 But they never use a vtkSimpleImagetoImageFilter. Does this class abandoned?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20141021/995650c8/attachment-0002.html>

More information about the vtk-developers mailing list