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 clitkCombineImageGenericFilter_h
19 #define clitkCombineImageGenericFilter_h
21 /* =================================================
22 * @file clitkCombineImageGenericFilter.h
28 ===================================================*/
33 #include "clitkCommon.h"
34 #include "clitkImageCommon.h"
35 #include "clitkCombineImage_ggo.h"
36 #include "clitkCombineImageFilter.h"
39 #include "itkLightObject.h"
45 class ITK_EXPORT CombineImageGenericFilter : public itk::LightObject
48 //----------------------------------------
50 //----------------------------------------
51 typedef CombineImageGenericFilter Self;
52 typedef itk::LightObject Superclass;
53 typedef itk::SmartPointer<Self> Pointer;
54 typedef itk::SmartPointer<const Self> ConstPointer;
56 // Method for creation through the object factory
59 // Run-time type information (and related methods)
60 itkTypeMacro( CombineImageGenericFilter, LightObject );
63 //----------------------------------------
65 //----------------------------------------
68 //----------------------------------------
70 //----------------------------------------
71 void SetArgsInfo(const args_info_clitkCombineImage & a)
74 m_Verbose=m_ArgsInfo.verbose_flag;
75 m_InputFileName=m_ArgsInfo.input_arg;
79 //----------------------------------------
81 //----------------------------------------
86 //----------------------------------------
87 // Constructor & Destructor
88 //----------------------------------------
89 CombineImageGenericFilter();
90 ~CombineImageGenericFilter() {};
93 //----------------------------------------
95 //----------------------------------------
96 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType, int Components);
97 template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
100 //----------------------------------------
102 //----------------------------------------
103 args_info_clitkCombineImage m_ArgsInfo;
105 std::string m_InputFileName;
110 } // end namespace clitk
112 #ifndef ITK_MANUAL_INSTANTIATION
113 #include "clitkCombineImageGenericFilter.txx"
116 #endif // #define clitkCombineImageGenericFilter_h