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 clitkConvertBSplineDeformableTransformToVFGenericFilter_h
19 #define clitkConvertBSplineDeformableTransformToVFGenericFilter_h
21 /* =================================================
22 * @file clitkConvertBSplineDeformableTransformToVFGenericFilter.h
28 ===================================================*/
33 #include "clitkCommon.h"
34 #include "clitkImageCommon.h"
35 #include "clitkConvertBSplineDeformableTransformToVF_ggo.h"
36 #include "clitkBSplineDeformableTransform.h"
37 #include "clitkShapedBLUTSpatioTemporalDeformableTransform.h"
38 #include "clitkTransformToDeformationFieldSource.h"
41 #include "itkLightObject.h"
42 #include "itkImageMaskSpatialObject.h"
43 #if ITK_VERSION_MAJOR >= 4
44 #include "itkTransformToDisplacementFieldSource.h"
46 #include "itkTransformToDeformationFieldSource.h"
53 class ITK_EXPORT ConvertBSplineDeformableTransformToVFGenericFilter : public itk::LightObject
56 //----------------------------------------
58 //----------------------------------------
59 typedef ConvertBSplineDeformableTransformToVFGenericFilter Self;
60 typedef itk::LightObject Superclass;
61 typedef itk::SmartPointer<Self> Pointer;
62 typedef itk::SmartPointer<const Self> ConstPointer;
64 // Method for creation through the object factory
67 // Run-time type information (and related methods)
68 itkTypeMacro( ConvertBSplineDeformableTransformToVFGenericFilter, LightObject );
71 //----------------------------------------
73 //----------------------------------------
76 //----------------------------------------
78 //----------------------------------------
79 void SetArgsInfo(const args_info_clitkConvertBSplineDeformableTransformToVF & a)
82 m_Verbose=m_ArgsInfo.verbose_flag;
83 m_InputFileName=m_ArgsInfo.input_arg;
87 //----------------------------------------
89 //----------------------------------------
94 //----------------------------------------
95 // Constructor & Destructor
96 //----------------------------------------
97 ConvertBSplineDeformableTransformToVFGenericFilter();
98 ~ConvertBSplineDeformableTransformToVFGenericFilter() {};
101 //----------------------------------------
103 //----------------------------------------
104 template <unsigned int Dimension> void UpdateWithDim(std::string PixelType, int Components);
105 // template <unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
108 //----------------------------------------
110 //----------------------------------------
111 args_info_clitkConvertBSplineDeformableTransformToVF m_ArgsInfo;
113 std::string m_InputFileName;
118 } // end namespace clitk
121 #endif // #define clitkConvertBSplineDeformableTransformToVFGenericFilter_h