]> Creatis software - clitk.git/blob - tools/clitkConeBeamProjectImageGenericFilter.h
GateAsciiImageIO is now cross-platform using itksys::RegularExpression
[clitk.git] / tools / clitkConeBeamProjectImageGenericFilter.h
1 /*=========================================================================
2   Program:   vv                     http://www.creatis.insa-lyon.fr/rio/vv
3
4   Authors belong to: 
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
8
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.
12
13   It is distributed under dual licence
14
15   - BSD        See included LICENSE.txt file
16   - CeCILL-B   http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
18 #ifndef CLITKCONEBEAMPROJECTIMAGEGENERICFILTER__H
19 #define CLITKCONEBEAMPROJECTIMAGEGENERICFILTER__H
20 /**
21    =================================================
22    * @file   clitkConeBeamProjectImageGenericFilter.h
23    * @author Jef Vandemeulebroucke <jef@creatis.insa-lyon.fr>
24    * @date   30 April 2008
25    * 
26    * @brief Project a 3D image using a ConeBeam geometry
27    * 
28    =================================================*/
29
30 // clitk include
31 #include "clitkIO.h"
32 #include "clitkImageCommon.h"
33 #include "clitkImageCommon.h"
34 #include "clitkConeBeamProjectImageFilter.h"
35 #include "clitkConeBeamProjectImage_ggo.h"
36
37 // itk include
38 #include "itkLightObject.h"
39
40
41 namespace clitk {
42   
43   //====================================================================
44   class ConeBeamProjectImageGenericFilter: public itk::LightObject
45   {
46   public: 
47
48     //Typedefs ITK================================================
49     typedef ConeBeamProjectImageGenericFilter        Self;
50     typedef itk::LightObject  Superclass;
51     typedef itk::SmartPointer<Self>        Pointer;
52     typedef itk::SmartPointer<const Self> ConstPointer;
53
54     //ITK Method for object creation================================================
55     itkNewMacro(Self);  
56     
57     
58     //====================================================================
59     // Set methods
60     void SetArgsInfo(const args_info_clitkConeBeamProjectImage a)
61     {
62       m_ArgsInfo=a;
63       m_InputFileName=m_ArgsInfo.input_arg;
64       m_Verbose=m_ArgsInfo.verbose_flag;
65     }
66     
67
68     //====================================================================
69     // Update
70     virtual void Update();
71     
72   protected:
73     const char * GetNameOfClass() const { return "ConeBeamProjectImageGenericFilter"; }
74   
75     //====================================================================
76     // Constructor & Destructor
77     ConeBeamProjectImageGenericFilter();
78     ~ConeBeamProjectImageGenericFilter(){;}
79
80     //====================================================================
81     //Protected member functions
82     template <class PixelType> void UpdateWithPixelType();
83   
84     bool m_Verbose;
85     std::string m_InputFileName;
86     args_info_clitkConeBeamProjectImage m_ArgsInfo;
87
88   };
89   
90 } // end namespace clitk
91   
92 #endif //#define CLITKCONEBEAMPROJECTIMAGEGENERICFILTER__H