[Insight-users] Cancel Filter Computation

Dan Mueller dan.muel at gmail.com
Fri May 7 10:53:26 EDT 2010


Hi Vincent,

Try the following:
    processObject->AbortGenerateDataOn();

The documentation says:
  /** Set the AbortGenerateData flag for the process object. Process objects
   *  may handle premature termination of execution in different ways.  */

Translation: this only works if the filter has internal support for
early termination.

Hope this helps.

Cheers, Dan

On 7 May 2010 16:40, Vincent LEFORT <vincent.lefort at gmail.com> wrote:
> Hello, i have some filters connected together.
> I want to stop (i have a user interface) filters computation but a don't see
> any function or any way to do.
> Someone have an idea ?
> Thanks a lot.
> Vincent LEFORT
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list