From: dsarrut Date: Fri, 23 Jul 2010 14:13:51 +0000 (+0000) Subject: add set filter base X-Git-Tag: v1.2.0~486 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=50c57f15fa84d140994a8239ce84191ded47a985;p=clitk.git add set filter base --- diff --git a/segmentation/clitkExtractPatientGenericFilter.txx b/segmentation/clitkExtractPatientGenericFilter.txx index 26252de..f90c1c7 100644 --- a/segmentation/clitkExtractPatientGenericFilter.txx +++ b/segmentation/clitkExtractPatientGenericFilter.txx @@ -72,6 +72,9 @@ void clitk::ExtractPatientGenericFilter::UpdateWithInputImageType( typedef clitk::ExtractPatientFilter FilterType; typename FilterType::Pointer filter = FilterType::New(); + // Set the filter (needed for example for threaded monitoring) + this->SetFilterBase(filter); + // Set global Options filter->SetArgsInfo(mArgsInfo); filter->SetInput(input);