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 __clitkZeroVFGenericFilter_h
19 #define __clitkZeroVFGenericFilter_h
20 #include "clitkImageCommon.h"
21 #include "clitkImageCommon.h"
24 #include "itkLightObject.h"
26 #include "itkVector.h"
32 class ITK_EXPORT ZeroVFGenericFilter : public itk::LightObject
36 typedef ZeroVFGenericFilter Self;
37 typedef itk::LightObject Superclass;
38 typedef itk::SmartPointer<Self> Pointer;
39 typedef itk::SmartPointer<const Self> ConstPointer;
41 /** Method for creation through the object factory. */
44 /** Run-time type information (and related methods) */
45 itkTypeMacro( ZeroVFGenericFilter, ImageToImageFilter );
47 //Set Methods (inline)
48 void SetInput(const std::string m){m_InputName=m;}
49 void SetOutput(const std::string m){m_OutputName=m;}
50 void SetVerbose(const bool m){m_Verbose=m;}
58 ZeroVFGenericFilter();
59 ~ZeroVFGenericFilter() {};
62 template<unsigned int Dimension> void UpdateWithDim(std::string PixelType);
63 template<unsigned int Dimension, class PixelType> void UpdateWithDimAndPixelType();
65 std::string m_InputName;
66 std::string m_OutputName;
72 } // end namespace clitk
73 #ifndef ITK_MANUAL_INSTANTIATION
74 #include "clitkZeroVFGenericFilter.txx"
77 #endif // #define __clitkZeroVFGenericFilter_h