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://oncora1.lyon.fnclcc.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 CLITKBOOLEANOPERATORLABELIMAGEGENERICFILTER_H
20 #define CLITKBOOLEANOPERATORLABELIMAGEGENERICFILTER_H
23 #include "clitkImageToImageGenericFilter.h"
24 #include "clitkBooleanOperatorLabelImageFilter.h"
26 //--------------------------------------------------------------------
30 template<class ArgsInfoType>
31 class ITK_EXPORT BooleanOperatorLabelImageGenericFilter:
32 public ImageToImageGenericFilter<BooleanOperatorLabelImageGenericFilter<ArgsInfoType> >
36 //--------------------------------------------------------------------
37 BooleanOperatorLabelImageGenericFilter();
39 //--------------------------------------------------------------------
40 typedef ImageToImageGenericFilter<BooleanOperatorLabelImageGenericFilter<ArgsInfoType> > Superclass;
41 typedef BooleanOperatorLabelImageGenericFilter Self;
42 typedef itk::SmartPointer<Self> Pointer;
43 typedef itk::SmartPointer<const Self> ConstPointer;
45 //--------------------------------------------------------------------
47 itkTypeMacro(BooleanOperatorLabelImageGenericFilter, LightObject);
49 //--------------------------------------------------------------------
50 // Options for the GenericFilter
51 void SetArgsInfo(const ArgsInfoType & a);
53 //--------------------------------------------------------------------
54 // Options for the Filter
55 template<class FilterType>
56 void SetOptionsFromArgsInfoToFilter(FilterType * f) ;
58 //--------------------------------------------------------------------
59 // Main function called each time the filter is updated
60 template<class ImageType>
61 void UpdateWithInputImageType();
64 template<unsigned int Dim> void InitializeImageType();
65 ArgsInfoType mArgsInfo;
68 BooleanOperatorLabelImageGenericFilter(const Self&); //purposely not implemented
69 void operator=(const Self&); //purposely not implemented
72 //--------------------------------------------------------------------
74 } // end namespace clitk
76 #ifndef ITK_MANUAL_INSTANTIATION
77 #include "clitkBooleanOperatorLabelImageGenericFilter.txx"
80 #endif // #define CLITKBOOLEANOPERATORLABELIMAGEGENERICFILTER_H