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 ===========================================================================**/
19 #ifndef CLITKRELATIVEPOSITIONANALYZERGENERICFILTER_H
20 #define CLITKRELATIVEPOSITIONANALYZERGENERICFILTER_H
24 #include "clitkImageToImageGenericFilter.h"
25 #include "clitkRelativePositionAnalyzerFilter.h"
27 //--------------------------------------------------------------------
31 template<class ArgsInfoType>
32 class ITK_EXPORT RelativePositionAnalyzerGenericFilter:
33 public ImageToImageGenericFilter<RelativePositionAnalyzerGenericFilter<ArgsInfoType> >
36 //--------------------------------------------------------------------
37 RelativePositionAnalyzerGenericFilter();
39 //--------------------------------------------------------------------
40 typedef ImageToImageGenericFilter<RelativePositionAnalyzerGenericFilter<ArgsInfoType> > Superclass;
41 typedef RelativePositionAnalyzerGenericFilter Self;
42 typedef itk::SmartPointer<Self> Pointer;
43 typedef itk::SmartPointer<const Self> ConstPointer;
45 //--------------------------------------------------------------------
47 itkTypeMacro(RelativePositionAnalyzerGenericFilter, LightObject);
49 //--------------------------------------------------------------------
50 void SetArgsInfo(const ArgsInfoType & a);
51 template<class FilterType>
52 void SetOptionsFromArgsInfoToFilter(FilterType * f) ;
54 //--------------------------------------------------------------------
55 // Main function called each time the filter is updated
56 template<class ImageType>
57 void UpdateWithInputImageType();
60 template<unsigned int Dim> void InitializeImageType();
61 ArgsInfoType mArgsInfo;
64 RelativePositionAnalyzerGenericFilter(const Self&); //purposely not implemented
65 void operator=(const Self&); //purposely not implemented
68 //--------------------------------------------------------------------
69 } // end namespace clitk
71 #ifndef ITK_MANUAL_INSTANTIATION
72 #include "clitkRelativePositionAnalyzerGenericFilter.txx"
75 #endif // #define CLITKRELATIVEPOSITIONANALYZERGENERICFILTER_H