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://oncora1.lyon.fnclcc.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 __clitkComposeVFGenericFilter_h
19 #define __clitkComposeVFGenericFilter_h
20 #include "clitkImageCommon.h"
21 #include "clitkImageCommon.h"
22 #include "clitkComposeVFFilter.h"
25 #include "itkLightObject.h"
27 #include "itkVector.h"
33 class ITK_EXPORT ComposeVFGenericFilter : public itk::LightObject
37 typedef ComposeVFGenericFilter Self;
38 typedef itk::LightObject Superclass;
39 typedef itk::SmartPointer<Self> Pointer;
40 typedef itk::SmartPointer<const Self> ConstPointer;
42 /** Method for creation through the object factory. */
45 /** Run-time type information (and related methods) */
46 itkTypeMacro( ComposeVFGenericFilter, ImageToImageFilter );
48 //Set Methods (inline)
49 void SetInput1(const std::string m){m_InputName1=m;}
50 void SetInput2(const std::string m){m_InputName2=m;}
51 void SetOutput(const std::string m){m_OutputName=m;}
52 void SetVerbose(const bool m){m_Verbose=m;}
60 ComposeVFGenericFilter();
61 ~ComposeVFGenericFilter() {};
64 template<unsigned int Dimension> void UpdateWithDim(std::string PixelType);
65 template<unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
67 std::string m_InputName1;
68 std::string m_InputName2;
69 std::string m_OutputName;
75 } // end namespace clitk
76 #ifndef ITK_MANUAL_INSTANTIATION
77 #include "clitkComposeVFGenericFilter.txx"
80 #endif // #define __clitkComposeVFGenericFilter_h