28 #ifndef itkImageToImageFilter_h
29 #define itkImageToImageFilter_h
106 template<
typename TInputImage,
typename TOutputImage >
134 static constexpr
unsigned int InputImageDimension = TInputImage::ImageDimension;
135 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
138 using Superclass::SetInput;
141 virtual void SetInput(
unsigned int,
const TInputImage *image);
168 void PopBackInput()
override;
172 void PopFrontInput()
override;
179 itkSetMacro(CoordinateTolerance,
double);
180 itkGetConstMacro(CoordinateTolerance,
double);
188 itkSetMacro(DirectionTolerance,
double);
189 itkGetConstMacro(DirectionTolerance,
double);
216 void PrintSelf(std::ostream & os,
Indent indent)
const override;
237 void VerifyInputInformation() ITKv5_CONST override;
263 void GenerateInputRequestedRegion() override;
267 using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier<
268 Self::OutputImageDimension,
274 Self::InputImageDimension,
357 { Superclass::PushBackInput(input); }
359 { Superclass::PushFrontInput(input); }
372 #ifndef ITK_MANUAL_INSTANTIATION
373 #include "itkImageToImageFilter.hxx"
void PushFrontInput(const DataObject *input) override
Light weight base class for most itk classes.
double m_CoordinateTolerance
Secondary base class of ImageToImageFilter common between templates.
A Function object used to dispatching to a routine to copy a region (start index and size)...
double m_DirectionTolerance
Base class for all process objects that output image data.
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
~ImageToImageFilter() override
typename OutputImageType::RegionType OutputImageRegionType
static double GetGlobalDefaultCoordinateTolerance()
typename InputImageType::RegionType InputImageRegionType
static void SetGlobalDefaultDirectionTolerance(double)
Base class for filters that take an image as input and produce an image as output.
static void SetGlobalDefaultCoordinateTolerance(double)
static double GetGlobalDefaultDirectionTolerance()
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
typename InputImageType::ConstPointer InputImageConstPointer
Base class for all data objects in ITK.