[Insight-users] ProgressEvent and pipes ?

Karthik Krishnan karthik.krishnan at kitware.com
Mon Aug 31 01:49:03 EDT 2009


On Sun, Aug 30, 2009 at 4:16 PM, Maximilien Renard <iixamaxii at gmail.com>wrote:

> Dear ITK Users,
>
> I'm facing a problem. I was not able to figure out how to get the
> progression of multiple filters linked together via a pipe (meaning the
> input of the second filter is the output of the first :
> Filter2->SetInput(Filter1->GetOutput());
>
> I'm currently setting the observer on the last filter but it only sends the
> progressEvent when the 2nd filter starts.
>

That is the expected behaviour. Filter2 will emit a progress event only when
Filter2's is doing its job. Its not going to forward progress events that
result from updates down the pipeline. For that you should observe filter1
as well.

--
karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090831/d3b0ce13/attachment.htm>


More information about the Insight-users mailing list