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 CLITKGAMMAINDEX3DGENERICFILTER_H
19 #define CLITKGAMMAINDEX3DGENERICFILTER_H
21 -------------------------------------------------------------------
22 * @file clitkGammaIndex3DGenericFilter.h
23 * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
24 * @date 23 Feb 2008 08:37:53
27 -------------------------------------------------------------------*/
30 #include "clitkCommon.h"
31 #include "clitkImageToImageGenericFilter.h"
32 #include "clitkGammaIndex3D_ggo.h"
36 #include "itkImageIOBase.h"
37 #include "itkImageRegionIterator.h"
38 #include "itkImageRegionConstIterator.h"
40 //--------------------------------------------------------------------
43 template<class args_info_type>
44 class ITK_EXPORT GammaIndex3DGenericFilter:
45 public clitk::ImageToImageGenericFilter<GammaIndex3DGenericFilter<args_info_type> > {
50 GammaIndex3DGenericFilter ();
53 typedef GammaIndex3DGenericFilter Self;
54 typedef ImageToImageGenericFilterBase Superclass;
55 typedef itk::SmartPointer<Self> Pointer;
56 typedef itk::SmartPointer<const Self> ConstPointer;
61 //--------------------------------------------------------------------
62 void SetArgsInfo(const args_info_type & a);
65 void SetDistance (double distance) { mDistance = distance ;}
66 void SetDose (double dose) { mDose = dose ;}
69 double GetDistance () { return mDistance ;}
70 double GetDose () { return mDose ;}
72 //--------------------------------------------------------------------
73 // Main function called each time the filter is updated
74 template<class InputImageType>
75 void UpdateWithInputImageType();
78 template<unsigned int Dim> void InitializeImageType();
81 args_info_type mArgsInfo;
83 //--------------------------------------------------------------------
85 }; // end class GammaIndex3DGenericFilter
88 //--------------------------------------------------------------------
91 #ifndef ITK_MANUAL_INSTANTIATION
92 #include "clitkGammaIndex3DGenericFilter.txx"
95 #endif //#define CLITKGAMMAINDEX3DMGENERICFILTER_H