1 #ifndef CLITKIMAGECONVERTGENERICFILTER_H
2 #define CLITKIMAGECONVERTGENERICFILTER_H
5 ===================================================================
6 * @file clitkImageConvertGenericFilter.h
7 * @author David Sarrut <David.Sarrut@creatis.insa-lyon.fr>
8 * @date 05 May 2008 10:40:24
12 ===================================================================*/
15 #include "clitkImageToImageGenericFilter.h"
18 #include "itkCastImageFilter.h"
22 class ImageConvertGenericFilter: public clitk::ImageToImageGenericFilter {
25 // constructor - destructor
26 ImageConvertGenericFilter();
29 typedef ImageConvertGenericFilter Self;
30 typedef ImageToImageGenericFilter Superclass;
31 typedef itk::SmartPointer<Self> Pointer;
32 typedef itk::SmartPointer<const Self> ConstPointer;
38 void SetOutputPixelType(std::string p) { mOutputPixelTypeName = p; }
42 std::string mOutputPixelTypeName;
44 template<unsigned int Dim> void Update_WithDim();
45 template<unsigned int Dim, class PixelType> void Update_WithDimAndPixelType();
46 template<unsigned int Dim, class PixelType, class OutputPixelType> void Update_WithDimAndPixelTypeAndOutputType();
48 }; // end class ImageConvertGenericFilter
50 #include "clitkImageConvertGenericFilter.txx"
54 #endif /* end #define CLITKIMAGECONVERTGENERICFILTER_H */