18 #ifndef itkSliceBySliceImageFilter_h
19 #define itkSliceBySliceImageFilter_h
73 template <
typename TInputImage,
74 typename TOutputImage,
75 typename TInputFilter =
76 ImageToImageFilter<Image<
typename TInputImage::PixelType, TInputImage::ImageDimension - 1>,
77 Image<
typename TOutputImage::PixelType, TOutputImage::ImageDimension - 1>>,
78 class TOutputFilter =
typename TInputFilter::Superclass,
79 class TInternalInputImage =
typename TInputFilter::InputImageType,
80 class TInternalOutputImage =
typename TOutputFilter::OutputImageType>
128 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
130 static constexpr
unsigned int InternalImageDimension = InternalInputImageType::ImageDimension;
133 itkGetConstMacro(
Dimension,
unsigned int);
141 return this->m_InputFilter;
144 const InputFilterType *
147 return this->m_InputFilter;
151 SetInputFilter(InputFilterType * filter);
152 itkGetModifiableObjectMacro(InputFilter, InputFilterType);
155 SetOutputFilter(OutputFilterType * filter);
156 itkGetModifiableObjectMacro(OutputFilter, OutputFilterType);
169 VerifyInputInformation() ITKv5_CONST override;
172 GenerateData() override;
175 PrintSelf(std::ostream & os,
Indent indent) const override;
178 GenerateInputRequestedRegion() override;
181 unsigned int m_Dimension;
191 #ifndef ITK_MANUAL_INSTANTIATION
192 # include "itkSliceBySliceImageFilter.hxx"