18 #ifndef __itkReflectImageFilter_h
19 #define __itkReflectImageFilter_h
20 #if !defined( ITK_LEGACY_REMOVE )
37 template<
typename TInputImage,
typename TOutputImage >
38 class 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;
94 void GenerateData(
void);
97 ReflectImageFilter(
const Self &);
98 void operator=(
const Self &);
100 unsigned int m_Direction;
104 #ifndef ITK_MANUAL_INSTANTIATION
105 #include "itkReflectImageFilter.hxx"
108 #endif //#if !defined( ITK_LEGACY_REMOVE )
#define itkConceptMacro(name, concept)