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 clitkNVectorImageTo4DImageGenericFilter_h
19 #define clitkNVectorImageTo4DImageGenericFilter_h
21 /* =================================================
22 * @file clitkNVectorImageTo4DImageGenericFilter.h
28 ===================================================*/
33 #include "clitkCommon.h"
34 #include "clitkImageCommon.h"
35 #include "clitkNVectorImageTo4DImage_ggo.h"
38 #include "itkLightObject.h"
44 class ITK_EXPORT NVectorImageTo4DImageGenericFilter : public itk::LightObject
47 //----------------------------------------
49 //----------------------------------------
50 typedef NVectorImageTo4DImageGenericFilter Self;
51 typedef itk::LightObject Superclass;
52 typedef itk::SmartPointer<Self> Pointer;
53 typedef itk::SmartPointer<const Self> ConstPointer;
55 // Method for creation through the object factory
58 // Run-time type information (and related methods)
59 itkTypeMacro( NVectorImageTo4DImageGenericFilter, LightObject );
62 //----------------------------------------
64 //----------------------------------------
67 //----------------------------------------
69 //----------------------------------------
70 void SetArgsInfo(const args_info_clitkNVectorImageTo4DImage & a)
73 m_Verbose=m_ArgsInfo.verbose_flag;
74 m_InputFileName=m_ArgsInfo.input_arg;
78 //----------------------------------------
80 //----------------------------------------
85 //----------------------------------------
86 // Constructor & Destructor
87 //----------------------------------------
88 NVectorImageTo4DImageGenericFilter();
89 ~NVectorImageTo4DImageGenericFilter() {};
92 //----------------------------------------
94 //----------------------------------------
95 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType, unsigned int Components);
96 template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
99 //----------------------------------------
101 //----------------------------------------
102 args_info_clitkNVectorImageTo4DImage m_ArgsInfo;
104 std::string m_InputFileName;
109 } // end namespace clitk
111 #ifndef ITK_MANUAL_INSTANTIATION
112 #include "clitkNVectorImageTo4DImageGenericFilter.txx"
115 #endif // #define clitkNVectorImageTo4DImageGenericFilter_h