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 ===========================================================================**/
19 #ifndef __clitkComposeVFGenericFilter_h
20 #define __clitkComposeVFGenericFilter_h
24 #include "clitkCommon.h"
25 #include "clitkImageCommon.h"
26 #include "clitkComposeVFFilter.h"
29 #include "itkLightObject.h"
31 #include "itkVector.h"
36 class ITK_EXPORT ComposeVFGenericFilter : public itk::LightObject
40 typedef ComposeVFGenericFilter Self;
41 typedef itk::LightObject Superclass;
42 typedef itk::SmartPointer<Self> Pointer;
43 typedef itk::SmartPointer<const Self> ConstPointer;
45 /** Method for creation through the object factory. */
48 /** Run-time type information (and related methods) */
49 itkTypeMacro( ComposeVFGenericFilter, ImageToImageFilter );
51 //Set Methods (inline)
52 void SetInput1(const std::string m){m_InputName1=m;}
53 void SetInput2(const std::string m){m_InputName2=m;}
54 void SetOutput(const std::string m){m_OutputName=m;}
55 void SetVerbose(const bool m){m_Verbose=m;}
63 ComposeVFGenericFilter();
64 ~ComposeVFGenericFilter() {};
67 template<unsigned int Dimension> void UpdateWithDim(std::string PixelType);
68 template<unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
70 std::string m_InputName1;
71 std::string m_InputName2;
72 std::string m_OutputName;
78 } // end namespace clitk
79 #ifndef ITK_MANUAL_INSTANTIATION
80 #include "clitkComposeVFGenericFilter.txx"
83 #endif // #define __clitkComposeVFGenericFilter_h