[Insight-developers] RE: Abort call and Pipeline Update:
Miller, James V (Research)
millerjv@crd.ge.com
Tue, 8 Apr 2003 11:02:48 -0400
Luis,
How is the abort being set? When the user hits cancel, is
AbortGenerateDataOn() being called on a single filter (the
current executing filter) or is it being called on every filter
in the pipeline?
Jim
> -----Original Message-----
> From: Luis Ibanez [mailto:luis.ibanez@kitware.com]
> Sent: Tuesday, April 08, 2003 10:46 AM
> To: Miller, James V (Research)
> Cc: Insight Developers List
> Subject: Abort call and Pipeline Update:
>
>
>
> Hi Jim,
>
> The logic for managing Abort calls is being added
> to filters. However we are facing some difficulties
> regarding the way the pipeline itself reacts to
> the Abort calls in a filter.
>
>
> Let's say that we have three filters in a linear
> pipeline
>
>
> A ----> B ----> C
>
>
> By calling the AbortGenerateData() flag
> in the three filters this only seems to
> restart them, instead of stopping their
> execution. In other words, it seems that
> the pipeline keeps trying to rerun the
> aborted filter.
>
> ---
>
> An example of "Cancel" button was added to the
> InsightApplication/GaussianFilter, both in the
> 2D and 3D versions (it is helpful to follow
> the behavior of the pipeline).
>
> Is there an additional method that has to be
> called when aborting the process of one filter
> in the pipeline ?
>
>
> Thanks for any hint
>
>
> Luis
>
>