18 #ifndef itkSliceBySliceImageFilter_h
19 #define itkSliceBySliceImageFilter_h
73 template<
typename TInputImage,
74 typename TOutputImage,
75 typename TInputFilter = ImageToImageFilter<
76 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 >
127 itkStaticConstMacro(ImageDimension,
unsigned int,
128 TInputImage::ImageDimension);
130 itkStaticConstMacro(InternalImageDimension,
unsigned int,
131 InternalInputImageType::ImageDimension);
134 itkGetConstMacro(
Dimension,
unsigned int);
140 return this->m_InputFilter;
145 return this->m_InputFilter;
148 void SetInputFilter(InputFilterType *filter);
149 itkGetModifiableObjectMacro(InputFilter, InputFilterType);
151 void SetOutputFilter(OutputFilterType *filter);
152 itkGetModifiableObjectMacro(OutputFilter, OutputFilterType);
164 void VerifyInputInformation() ITK_OVERRIDE;
166 void GenerateData() ITK_OVERRIDE;
168 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
170 virtual
void GenerateInputRequestedRegion() ITK_OVERRIDE;
175 unsigned int m_Dimension;
185 #ifndef ITK_MANUAL_INSTANTIATION
186 #include "itkSliceBySliceImageFilter.hxx"
TInputImage::PixelType PixelType
InternalOutputImageType::PixelType InternalOutputPixelType
TInternalInputImage InternalInputImageType
TOutputFilter OutputFilterType
signed long IndexValueType
Apply a filter or a pipeline slice by slice on an image.
InternalInputImageType::RegionType InternalRegionType
TInputImage::SizeType SizeType
Base class for all process objects that output image data.
TInputFilter InputFilterType
~SliceBySliceImageFilter() override
TInputImage::RegionType RegionType
Superclass::InputImagePointer InputImagePointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage InputImageType
InternalInputImageType::IndexType InternalIndexType
ImageBaseType::PointType PointType
TOutputImage::PixelType OutputPixelType
TOutputImage OutputImageType
const unsigned int Dimension
SliceBySliceImageFilter Self
SmartPointer< Self > Pointer
TInternalOutputImage InternalOutputImageType
const InputFilterType * GetFilter() const
InternalInputImageType::SpacingType InternalSpacingType
InputFilterType * GetFilter()
InternalInputImageType::OffsetType InternalOffsetType
Base class for filters that take an image as input and produce an image as output.
TInputImage::OffsetType OffsetType
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
TInputImage::IndexType IndexType
InternalInputImageType::SizeType InternalSizeType
InternalInputImageType::PointType InternalPointType
SmartPointer< const Self > ConstPointer
InternalInputImageType::PixelType InternalInputPixelType
ImageBaseType::IndexType IndexType