18 #ifndef __itkSliceBySliceImageFilter_h
19 #define __itkSliceBySliceImageFilter_h
72 template<
class TInputImage,
74 class TInputFilter = ImageToImageFilter<
75 Image< typename TInputImage::PixelType, ::itk::GetImageDimension< TInputImage >::ImageDimension - 1 >,
76 Image< typename TOutputImage::PixelType, ::itk::GetImageDimension< TOutputImage >::ImageDimension - 1 > >,
77 class TOutputFilter =
typename TInputFilter::Superclass,
78 class TInternalInputImage =
typename TInputFilter::InputImageType,
79 class TInternalOutputImage =
typename TOutputFilter::OutputImageType >
124 itkStaticConstMacro(ImageDimension,
unsigned int,
125 TInputImage::ImageDimension);
127 itkStaticConstMacro(InternalImageDimension,
unsigned int,
128 InternalInputImageType::ImageDimension);
130 itkSetMacro(Dimension,
unsigned int);
131 itkGetConstMacro(Dimension,
unsigned int);
137 return this->m_InputFilter;
142 return this->m_InputFilter;
145 void SetInputFilter(InputFilterType *filter);
147 itkGetObjectMacro(InputFilter, InputFilterType);
149 void SetOutputFilter(OutputFilterType *filter);
151 itkGetObjectMacro(OutputFilter, OutputFilterType);
165 void PrintSelf(std::ostream & os,
Indent indent)
const;
167 void EnlargeOutputRequestedRegion(
DataObject *itkNotUsed(output) );
171 void operator=(
const Self &);
183 #ifndef ITK_MANUAL_INSTANTIATION
184 #include "itkSliceBySliceImageFilter.hxx"