+//--------------------------------------------------------------------
+template<class ArgsInfoType>
+template<class FilterType>
+void
+clitk::ExtractMediastinumGenericFilter<ArgsInfoType>::
+SetOptionsFromArgsInfoToFilter(FilterType * f)
+{
+ f->SetVerboseOptionFlag(mArgsInfo.verbose_flag);
+ f->SetVerboseStepFlag(mArgsInfo.verboseStep_flag);
+ f->SetWriteStepFlag(mArgsInfo.writeStep_flag);
+ f->SetAFDBFilename(mArgsInfo.afdb_arg);
+ f->SetOutputMediastinumFilename(mArgsInfo.output_arg);
+ f->SetVerboseMemoryFlag(mArgsInfo.verboseMemory_flag);
+
+ f->SetUseBones(mArgsInfo.useBones_flag);
+ f->SetIntermediateSpacing(mArgsInfo.spacing_arg);
+ f->SetFuzzyThreshold1(mArgsInfo.fuzzy1_arg);
+ f->SetFuzzyThreshold2(mArgsInfo.fuzzy2_arg);
+ f->SetFuzzyThreshold3(mArgsInfo.fuzzy3_arg);
+ f->SetUpperThreshold(mArgsInfo.upper_arg);
+ f->SetLowerThreshold(mArgsInfo.lower_arg);
+}
+//--------------------------------------------------------------------
+
+