[Insight-users] Cancel Filter Computation

Vincent LEFORT vincent.lefort at gmail.com
Mon May 10 09:32:18 EDT 2010


Hi,

It seems to be ok on my filter.

Thanks.

On Fri, May 7, 2010 at 16:53, Dan Mueller <dan.muel at gmail.com> wrote:

> 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100510/d7863e7a/attachment.htm>


More information about the Insight-users mailing list