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 clitkImageToVectorImageGenericFilter_h
19 #define clitkImageToVectorImageGenericFilter_h
21 /* =================================================
22 * @file clitkImageToVectorImageGenericFilter.h
28 ===================================================*/
33 #include "clitkCommon.h"
34 #include "clitkImageCommon.h"
35 #include "clitkImageToVectorImage_ggo.h"
38 #include "itkLightObject.h"
39 #include "itkCompose3DVectorImageFilter.h"
45 class ITK_EXPORT ImageToVectorImageGenericFilter : public itk::LightObject
48 //----------------------------------------
50 //----------------------------------------
51 typedef ImageToVectorImageGenericFilter 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( ImageToVectorImageGenericFilter, LightObject );
63 //----------------------------------------
65 //----------------------------------------
68 //----------------------------------------
70 //----------------------------------------
71 void SetArgsInfo(const args_info_clitkImageToVectorImage & a)
74 m_Verbose=m_ArgsInfo.verbose_flag;
75 m_InputFileName=m_ArgsInfo.inputs[0];
79 //----------------------------------------
81 //----------------------------------------
86 //----------------------------------------
87 // Constructor & Destructor
88 //----------------------------------------
89 ImageToVectorImageGenericFilter();
90 ~ImageToVectorImageGenericFilter() {};
93 //----------------------------------------
95 //----------------------------------------
96 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType);
97 template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
100 //----------------------------------------
102 //----------------------------------------
103 args_info_clitkImageToVectorImage m_ArgsInfo;
105 std::string m_InputFileName;
110 } // end namespace clitk
112 #ifndef ITK_MANUAL_INSTANTIATION
113 #include "clitkImageToVectorImageGenericFilter.txx"
116 #endif // #define clitkImageToVectorImageGenericFilter_h