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 clitkLineProfileGenericFilter_h
19 #define clitkLineProfileGenericFilter_h
21 /* =================================================
22 * @file clitkLineProfileGenericFilter.h
28 ===================================================*/
30 #include "clitkImageToImageGenericFilter.h"
31 #include "clitkLineProfile_ggo.h"
37 class ITK_EXPORT LineProfileGenericFilter:
38 public ImageToImageGenericFilter<LineProfileGenericFilter>
41 //----------------------------------------
42 // Constructor & Destructor
43 //----------------------------------------
44 LineProfileGenericFilter();
45 ~LineProfileGenericFilter() {};
48 //----------------------------------------
50 //----------------------------------------
51 typedef LineProfileGenericFilter Self;
52 typedef itk::LightObject Superclass;
53 typedef itk::SmartPointer<Self> Pointer;
54 typedef itk::SmartPointer<const Self> ConstPointer;
56 // Method for creation through the object factory
59 // Run-time type information (and related methods)
60 itkTypeMacro( SetSpacingGenericFilter, LightObject );
62 //----------------------------------------
64 //----------------------------------------
65 typedef args_info_clitkLineProfile ArgsInfoType;
67 //----------------------------------------
69 //----------------------------------------
70 void SetArgsInfo(const ArgsInfoType & a)
73 m_Verbose=m_ArgsInfo.verbose_flag;
74 SetIOVerbose(m_Verbose);
75 SetInputFilename(m_ArgsInfo.input_arg);
78 //----------------------------------------
80 //----------------------------------------
81 template<class InputImageType> void UpdateWithInputImageType();
85 //----------------------------------------
87 //----------------------------------------
88 //template <unsigned int Dimension> void UpdateWithDim(std::string PixelType, unsigned int Components);
89 template<unsigned int Dim> void InitializeImageType();
91 //----------------------------------------
93 //----------------------------------------
94 args_info_clitkLineProfile m_ArgsInfo;
100 #ifndef ITK_MANUAL_INSTANTIATION
101 #include "clitkLineProfileGenericFilter.txx"
104 #endif // clitkLineProfileGenericFilter_h