]> Creatis software - clitk.git/blob - tools/clitkZeroVFGenericFilter.h
removed headers
[clitk.git] / tools / clitkZeroVFGenericFilter.h
1 #ifndef __clitkZeroVFGenericFilter_h
2 #define __clitkZeroVFGenericFilter_h
3 #include "clitkImageCommon.h"
4 #include "clitkImageCommon.h"
5
6 //itk include
7 #include "itkLightObject.h"
8 #include "itkImage.h"
9 #include "itkVector.h"
10
11
12 namespace clitk
13 {
14   
15   class ITK_EXPORT ZeroVFGenericFilter : public itk::LightObject
16   
17   {
18   public:
19     typedef ZeroVFGenericFilter     Self;
20     typedef itk::LightObject     Superclass;
21     typedef itk::SmartPointer<Self>            Pointer;
22     typedef itk::SmartPointer<const Self>      ConstPointer;
23    
24     /** Method for creation through the object factory. */
25     itkNewMacro(Self);  
26
27     /** Run-time type information (and related methods) */
28     itkTypeMacro( ZeroVFGenericFilter, ImageToImageFilter );
29   
30      //Set Methods (inline)
31     void SetInput(const std::string m){m_InputName=m;}
32     void SetOutput(const std::string m){m_OutputName=m;}
33     void SetVerbose(const bool m){m_Verbose=m;}
34
35     //Update
36     void Update( );
37
38
39   protected:
40
41     ZeroVFGenericFilter();
42     ~ZeroVFGenericFilter() {};
43
44     //Templated members
45     template<unsigned int Dimension> void UpdateWithDim(std::string PixelType);
46     template<unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType(); 
47
48     std::string m_InputName;
49     std::string m_OutputName;
50     bool m_Verbose;
51   
52 };
53
54
55 } // end namespace clitk
56 #ifndef ITK_MANUAL_INSTANTIATION
57 #include "clitkZeroVFGenericFilter.txx"
58 #endif
59
60 #endif // #define __clitkZeroVFGenericFilter_h