1 #ifndef clitkInvertVFGenericFilter_h
2 #define clitkInvertVFGenericFilter_h
4 /* =================================================
5 * @file clitkInvertVFGenericFilter.h
11 ===================================================*/
16 #include "clitkCommon.h"
17 #include "clitkInvertVF_ggo.h"
18 #include "clitkInvertVFFilter.h"
21 #include "itkLightObject.h"
22 #include "itkInverseDeformationFieldImageFilter.h"
27 template<class args_info_type>
28 class ITK_EXPORT InvertVFGenericFilter : public itk::LightObject
31 //----------------------------------------
33 //----------------------------------------
34 typedef InvertVFGenericFilter Self;
35 typedef itk::LightObject Superclass;
36 typedef itk::SmartPointer<Self> Pointer;
37 typedef itk::SmartPointer<const Self> ConstPointer;
39 // Method for creation through the object factory
42 // Run-time type information (and related methods)
43 itkTypeMacro( InvertVFGenericFilter, LightObject );
46 //----------------------------------------
48 //----------------------------------------
51 //----------------------------------------
53 //----------------------------------------
54 void SetArgsInfo(const args_info_type & a)
57 m_Verbose=m_ArgsInfo.verbose_flag;
58 m_InputFileName=m_ArgsInfo.input_arg;
62 //----------------------------------------
64 //----------------------------------------
69 //----------------------------------------
70 // Constructor & Destructor
71 //----------------------------------------
72 InvertVFGenericFilter();
73 ~InvertVFGenericFilter() {};
76 //----------------------------------------
78 //----------------------------------------
79 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType);
80 template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
83 //----------------------------------------
85 //----------------------------------------
86 args_info_type m_ArgsInfo;
88 std::string m_InputFileName;
93 } // end namespace clitk
95 #ifndef ITK_MANUAL_INSTANTIATION
96 #include "clitkInvertVFGenericFilter.txx"
99 #endif // #define clitkInvertVFGenericFilter_h