18 #ifndef __itkReflectImageFilter_h
19 #define __itkReflectImageFilter_h
20 #if !defined( ITK_LEGACY_REMOVE )
37 template<
class TInputImage,
class TOutputImage >
38 class ITK_EXPORT ReflectImageFilter:
public ImageToImageFilter< TInputImage, TOutputImage >
42 typedef ReflectImageFilter Self;
43 typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass;
44 typedef SmartPointer< Self > Pointer;
45 typedef SmartPointer< const Self > ConstPointer;
51 itkTypeMacro(ReflectImageFilter, ImageToImageFilter);
54 typedef TInputImage InputImageType;
55 typedef typename InputImageType::Pointer InputImagePointer;
56 typedef typename InputImageType::RegionType InputImageRegionType;
57 typedef typename InputImageType::PixelType InputImagePixelType;
59 typedef TOutputImage OutputImageType;
60 typedef typename OutputImageType::Pointer OutputImagePointer;
61 typedef typename OutputImageType::RegionType OutputImageRegionType;
62 typedef typename OutputImageType::PixelType OutputImagePixelType;
65 itkGetConstMacro(Direction,
unsigned int);
66 itkSetMacro(Direction,
unsigned int);
70 itkStaticConstMacro(InputImageDimension,
unsigned int,
71 TInputImage::ImageDimension);
72 itkStaticConstMacro(OutputImageDimension,
unsigned int,
73 TOutputImage::ImageDimension);
76 #ifdef ITK_USE_CONCEPT_CHECKING
79 ( Concept::SameDimension< InputImageDimension, OutputImageDimension > ) );
81 ( Concept::Convertible< InputImagePixelType, OutputImagePixelType > ) );
88 virtual ~ReflectImageFilter() {}
89 void PrintSelf(std::ostream & os, Indent indent)
const;
95 void GenerateData(
void);
98 ReflectImageFilter(
const Self &);
99 void operator=(
const Self &);
101 unsigned int m_Direction;
105 #ifndef ITK_MANUAL_INSTANTIATION
106 #include "itkReflectImageFilter.hxx"
109 #endif //#if !defined( ITK_LEGACY_REMOVE )