1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef clitkDecomposeAndReconstructGenericFilter_h
19 #define clitkDecomposeAndReconstructGenericFilter_h
21 /* =================================================
22 * @file clitkDecomposeAndReconstructGenericFilter.h
28 ===================================================*/
33 #include "clitkCommon.h"
34 #include "clitkImageCommon.h"
35 #include "clitkDecomposeAndReconstruct_ggo.h"
36 #include "clitkDecomposeThroughErosionImageFilter.h"
37 #include "clitkReconstructThroughDilationImageFilter.h"
38 #include "clitkDecomposeAndReconstructImageFilter.h"
41 #include "itkLightObject.h"
47 class ITK_EXPORT DecomposeAndReconstructGenericFilter : public itk::LightObject
50 //----------------------------------------
52 //----------------------------------------
53 typedef DecomposeAndReconstructGenericFilter Self;
54 typedef itk::LightObject Superclass;
55 typedef itk::SmartPointer<Self> Pointer;
56 typedef itk::SmartPointer<const Self> ConstPointer;
58 // Method for creation through the object factory
61 // Run-time type information (and related methods)
62 itkTypeMacro( DecomposeAndReconstructGenericFilter, LightObject );
65 //----------------------------------------
67 //----------------------------------------
70 //----------------------------------------
72 //----------------------------------------
73 void SetArgsInfo(const args_info_clitkDecomposeAndReconstruct & a)
76 m_Verbose=m_ArgsInfo.verbose_flag;
77 m_InputFileName=m_ArgsInfo.input_arg;
81 //----------------------------------------
83 //----------------------------------------
88 //----------------------------------------
89 // Constructor & Destructor
90 //----------------------------------------
91 DecomposeAndReconstructGenericFilter();
92 ~DecomposeAndReconstructGenericFilter() {};
95 //----------------------------------------
97 //----------------------------------------
98 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType);
99 template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
102 //----------------------------------------
104 //----------------------------------------
105 args_info_clitkDecomposeAndReconstruct m_ArgsInfo;
107 std::string m_InputFileName;
112 } // end namespace clitk
114 #ifndef ITK_MANUAL_INSTANTIATION
115 #include "clitkDecomposeAndReconstructGenericFilter.txx"
118 #endif // #define clitkDecomposeAndReconstructGenericFilter_h