[Insight-developers] RE: Abort call and Pipeline Update:

Luis Ibanez luis.ibanez@kitware.com
Tue, 08 Apr 2003 11:38:03 -0400


Jim,

In the example of the GaussianFilter app in
InsightApplications I'm calling

    AbortGenerateDataOn()

on all the filters in the pipeline.

   Luis


-----------------------------
Miller, James V (Research) wrote:
> 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
>>
>>
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>