52template <
typename TInputImage>
113 itkSetMacro(CoordinateTolerance,
double);
114 itkGetConstMacro(CoordinateTolerance,
double);
122 itkSetMacro(DirectionTolerance,
double);
123 itkGetConstMacro(DirectionTolerance,
double);
180 itkSetMacro(NumberOfStreamDivisions,
unsigned int);
184 itkGetConstMacro(NumberOfStreamDivisions,
unsigned int);
209#include "itkImageSink.hxx"
SmartPointer< Self > Pointer
Divide an image region into several pieces.
SmartPointer< Self > Pointer
virtual const InputImageType * GetInput() const
virtual void AllocateOutputs()
static double GetGlobalDefaultCoordinateTolerance()
virtual const InputImageType * GetInput(unsigned int idx) const
virtual void SetInput(const InputImageType *input)
static double GetGlobalDefaultDirectionTolerance()
void Update() override
Bring this filter up-to-date.
typename InputImageType::Pointer InputImagePointer
unsigned int m_NumberOfStreamDivisions
virtual const InputImageType * GetInput(const DataObjectIdentifierType &key) const
void StreamedGenerateData(unsigned int inputRequestedRegionNumber) override
InputImageRegionType m_CurrentInputRegion
void PrintSelf(std::ostream &os, Indent indent) const override
void VerifyInputInformation() const override
Verifies that the inputs meta-data is consistent and valid for continued execution of the pipeline,...
void UpdateLargestPossibleRegion() override
Sets the output requested region to the largest possible region and updates.
typename SplitterType::Pointer RegionSplitterPointer
unsigned int GetNumberOfInputRequestedRegions() override
Return the actual number of regions to request upstream.
~ImageSink() override=default
typename InputImageType::RegionType InputImageRegionType
double m_DirectionTolerance
void GenerateNthInputRequestedRegion(unsigned int inputRequestedRegionNumber) override
For each streamed region, propagate request to all inputs.
TInputImage InputImageType
static constexpr unsigned int InputImageDimension
void BeforeStreamedGenerateData() override
RegionSplitterPointer m_RegionSplitter
virtual void ThreadedStreamedGenerateData(const InputImageRegionType &inputRegionForChunk)=0
typename InputImageType::PixelType InputImagePixelType
double m_CoordinateTolerance
Secondary base class of ImageToImageFilter common between templates.
static double GetGlobalDefaultCoordinateTolerance()
static double GetGlobalDefaultDirectionTolerance()
static void SetGlobalDefaultDirectionTolerance(double)
static void SetGlobalDefaultCoordinateTolerance(double)
Control indentation during Print() invocation.
virtual void SetInput(const DataObjectIdentifierType &key, DataObject *input)
Protected method for setting indexed and named inputs.
DataObject::DataObjectIdentifierType DataObjectIdentifierType
Base class interface to process data on multiple requested input chunks.
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....