]> Creatis software - clitk.git/blob - tools/clitkRTStructStatisticsGenericFilter.h
Remove trailing spaces and tab
[clitk.git] / tools / clitkRTStructStatisticsGenericFilter.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 CLITKRTSTRUCTSTATISTICSGENERICFILTER_H
19 #define CLITKRTSTRUCTSTATISTICSGENERICFILTER_H
20 /**
21  -------------------------------------------------------------------
22  * @file   clitkRTStructStatisticsGenericFilter.h
23  * @author Thomas Baudier <thomas.baudier@creatis.insa-lyon.fr>
24  * @date   11 Jul 2016 08:37:53
25
26  * @brief
27  -------------------------------------------------------------------*/
28
29 // clitk include
30 #include "clitkCommon.h"
31 #include "clitkImageToImageGenericFilter.h"
32 #include "clitkRTStructStatistics_ggo.h"
33
34 // itk include
35 #include "itkImage.h"
36 #include "itkImageIOBase.h"
37
38 //--------------------------------------------------------------------
39 namespace clitk {
40
41   template<class args_info_type>
42   class ITK_EXPORT RTStructStatisticsGenericFilter:
43     public clitk::ImageToImageGenericFilter<RTStructStatisticsGenericFilter<args_info_type> > {
44
45   public:
46
47     // Constructor
48     RTStructStatisticsGenericFilter ();
49
50     // Types
51     typedef RTStructStatisticsGenericFilter        Self;
52     typedef ImageToImageGenericFilterBase   Superclass;
53     typedef itk::SmartPointer<Self>         Pointer;
54     typedef itk::SmartPointer<const Self>   ConstPointer;
55
56     // New
57     itkNewMacro(Self);
58
59
60
61     //--------------------------------------------------------------------
62     void SetArgsInfo(const args_info_type & a);
63
64     //--------------------------------------------------------------------
65     // Main function called each time the filter is updated
66     template<class InputImageType>
67     void UpdateWithInputImageType();
68
69   protected:
70     template<unsigned int Dim> void InitializeImageType();
71     args_info_type mArgsInfo;
72
73   }; // end class RTStructStatisticsGenericFilter
74
75 } // end namespace
76 //--------------------------------------------------------------------
77
78
79 #ifndef ITK_MANUAL_INSTANTIATION
80 #include "clitkRTStructStatisticsGenericFilter.txx"
81 #endif
82
83 #endif //#define CLITKRTSTRUCTSTATISTICSGENERICFILTER_H
84