Authors belong to:
- University of LYON http://www.universite-lyon.fr/
- - Léon Bérard cancer center http://oncora1.lyon.fnclcc.fr
+ - Léon Bérard cancer center http://www.centreleonberard.fr
- CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
This software is distributed WITHOUT ANY WARRANTY; without even
- BSD See included LICENSE.txt file
- CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
- ======================================================================-====*/
+ ===========================================================================**/
#ifndef CLITKEXTRACTAIRWAYTREEINFOSGENERICFILTER_TXX
#define CLITKEXTRACTAIRWAYTREEINFOSGENERICFILTER_TXX
//--------------------------------------------------------------------
+//--------------------------------------------------------------------
+template<class ArgsInfoType>
+template<class FilterType>
+void clitk::ExtractAirwaysTreeInfoGenericFilter<ArgsInfoType>::
+SetOptionsFromArgsInfoToFilter(FilterType * f)
+{
+ f->SetVerboseOptionFlag(mArgsInfo.verboseOption_flag);
+ f->SetVerboseStepFlag(mArgsInfo.verboseStep_flag);
+ f->SetWriteStepFlag(mArgsInfo.writeStep_flag);
+ f->SetVerboseWarningFlag(!mArgsInfo.verboseWarningOff_flag);
+ if (mArgsInfo.afdb_given)
+ f->SetAFDBFilename(mArgsInfo.afdb_arg);
+}
+//--------------------------------------------------------------------
+
+
//--------------------------------------------------------------------
// Update with the number of dimensions and the pixeltype
//--------------------------------------------------------------------
this->SetFilterBase(filter);
// Set global Options
- filter->SetArgsInfo(mArgsInfo);
filter->SetInput(input);
+ SetOptionsFromArgsInfoToFilter<FilterType>(filter);
// Go !
filter->Update();