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 clitkMatrixTransformToVFGenericFilter_h
19 #define clitkMatrixTransformToVFGenericFilter_h
21 /* =================================================
22 * @file clitkMatrixTransformToVFGenericFilter.h
28 ===================================================*/
33 #include "clitkCommon.h"
34 #include "clitkTransformUtilities.h"
35 #include "clitkMatrixTransformToVF_ggo.h"
38 #include "itkLightObject.h"
39 #if ITK_VERSION_MAJOR >= 4
40 # if ITK_VERSION_MINOR < 6
41 # include "itkTransformToDisplacementFieldSource.h"
43 # include "itkTransformToDisplacementFieldFilter.h"
46 #include "itkAffineTransform.h"
52 class ITK_EXPORT MatrixTransformToVFGenericFilter : public itk::LightObject
55 //----------------------------------------
57 //----------------------------------------
58 typedef MatrixTransformToVFGenericFilter Self;
59 typedef itk::LightObject Superclass;
60 typedef itk::SmartPointer<Self> Pointer;
61 typedef itk::SmartPointer<const Self> ConstPointer;
63 // Method for creation through the object factory
66 // Run-time type information (and related methods)
67 itkTypeMacro( MatrixTransformToVFGenericFilter, LightObject );
70 //----------------------------------------
72 //----------------------------------------
75 //----------------------------------------
77 //----------------------------------------
78 void SetArgsInfo(const args_info_clitkMatrixTransformToVF & a)
81 m_Verbose=m_ArgsInfo.verbose_flag;
85 //----------------------------------------
87 //----------------------------------------
92 //----------------------------------------
93 // Constructor & Destructor
94 //----------------------------------------
95 MatrixTransformToVFGenericFilter();
96 ~MatrixTransformToVFGenericFilter() {};
99 //----------------------------------------
101 //----------------------------------------
102 template <unsigned int Dimension> void UpdateWithDim();
103 //template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
106 //----------------------------------------
108 //----------------------------------------
109 args_info_clitkMatrixTransformToVF m_ArgsInfo;
115 } // end namespace clitk
117 #ifndef ITK_MANUAL_INSTANTIATION
118 #include "clitkMatrixTransformToVFGenericFilter.txx"
121 #endif // #define clitkMatrixTransformToVFGenericFilter_h