]> Creatis software - clitk.git/blob - tools/clitkBackProjectImageGenericFilter.h
Debug RTStruct conversion with empty struc
[clitk.git] / tools / clitkBackProjectImageGenericFilter.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 CLITKBACKPROJECTIMAGEGENERICFILTER__H
19 #define CLITKBACKPROJECTIMAGEGENERICFILTER__H
20 /**
21    =================================================
22    * @file   clitkBackProjectImageGenericFilter.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 "clitkCommon.h"
34 #include "clitkImageCommon.h"
35 #include "clitkBackProjectImageFilter.h"
36 #include "clitkBackProjectImage_ggo.h"
37
38 // itk include
39 #include "itkLightObject.h"
40
41
42 namespace clitk {
43   
44   //====================================================================
45   class BackProjectImageGenericFilter: public itk::LightObject
46   {
47   public: 
48
49     //================================================
50     typedef BackProjectImageGenericFilter        Self;
51     typedef itk::LightObject  Superclass;
52     typedef itk::SmartPointer<Self>        Pointer;
53     typedef itk::SmartPointer<const Self> ConstPointer;
54
55     //================================================
56     itkNewMacro(Self);  
57     
58     //====================================================================
59     // Set methods
60     void SetArgsInfo(const args_info_clitkBackProjectImage a)
61     {
62       m_ArgsInfo=a;
63       m_InputFileName=m_ArgsInfo.input_arg;
64       m_Verbose=m_ArgsInfo.verbose_flag;
65     }
66
67     //====================================================================
68     // Update
69     virtual void Update();
70     
71   protected:
72     const char * GetNameOfClass() const { return "BackProjectImageGenericFilter"; }
73
74     //====================================================================
75     // Constructor & Destructor
76     BackProjectImageGenericFilter();
77     ~BackProjectImageGenericFilter(){;}
78     
79     //====================================================================
80     //Protected member functions
81     template <class PixelType>  void UpdateWithPixelType();
82   
83     args_info_clitkBackProjectImage m_ArgsInfo;
84     bool m_Verbose;
85     std::string m_InputFileName;
86
87   };
88   
89 } // end namespace clitk
90 #ifndef ITK_MANUAL_INSTANTIATION
91 #include "clitkBackProjectImageGenericFilter.txx"
92 #endif
93   
94 #endif //#define CLITKBACKPROJECTIMAGEGENERICFILTER__H