]> Creatis software - clitk.git/commitdiff
add set filter base
authordsarrut <dsarrut>
Fri, 23 Jul 2010 14:13:51 +0000 (14:13 +0000)
committerdsarrut <dsarrut>
Fri, 23 Jul 2010 14:13:51 +0000 (14:13 +0000)
segmentation/clitkExtractPatientGenericFilter.txx

index 26252deb364edbe6d1a6600837779999ce156601..f90c1c7992a0a7b900083a372251f4b6e4be2978 100644 (file)
@@ -72,6 +72,9 @@ void clitk::ExtractPatientGenericFilter<ArgsInfoType>::UpdateWithInputImageType(
   typedef clitk::ExtractPatientFilter<ImageType, OutputImageType> 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);