[Insight-users] Stop filter from working

Karthik Krishnan karthik.krishnan at kitware.com
Wed Mar 21 11:09:49 EST 2007


On 3/21/07, Markus Mehrwald <mehrwald at ira.uka.de> wrote:
>
> Hi @ all,
>
> how can I stop filter from running. I tried
> filter->AbortGenerateDataOn() but this leads to an exception because a
> pointer used in the filter gets invalid.


Yes this is the right way to abort a filter. Not many filters support
aborting. You will have to look at the source code of the filter to see if
they do. Please let us know the offending filter. A minimal example would
help.

The abort functionality is not well tested, so it is possible that there is
some uncleaned resource.

Thanks
--
karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070321/c9f39c02/attachment.html


More information about the Insight-users mailing list