18 #ifndef itkReflectImageFilter_h
19 #define itkReflectImageFilter_h
20 #if !defined( ITK_LEGACY_REMOVE )
37 template<
typename TInputImage,
typename TOutputImage >
38 class ITK_TEMPLATE_EXPORT ReflectImageFilter:
public ImageToImageFilter< TInputImage, TOutputImage >
42 typedef ReflectImageFilter Self;
43 typedef ImageToImageFilter< TInputImage, TOutputImage > Superclass;
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 > ) );
87 virtual ~ReflectImageFilter() {}
88 void PrintSelf(std::ostream & os, Indent indent)
const ITK_OVERRIDE;
94 void GenerateData() ITK_OVERRIDE;
97 ITK_DISALLOW_COPY_AND_ASSIGN(ReflectImageFilter);
99 unsigned int m_Direction;
103 #ifndef ITK_MANUAL_INSTANTIATION
104 #include "itkReflectImageFilter.hxx"
107 #endif //#if !defined( ITK_LEGACY_REMOVE )
#define itkConceptMacro(name, concept)