52template <
typename TInputImage>
114 itkSetMacro(CoordinateTolerance,
double);
115 itkGetConstMacro(CoordinateTolerance,
double);
123 itkSetMacro(DirectionTolerance,
double);
124 itkGetConstMacro(DirectionTolerance,
double);
180 itkSetMacro(NumberOfStreamDivisions,
unsigned int);
184 itkGetConstMacro(NumberOfStreamDivisions,
unsigned int);
210#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()
ImageRegionSplitterBase SplitterType
virtual const InputImageType * GetInput(unsigned int idx) const
DataObject::Pointer DataObjectPointer
SmartPointer< const Self > ConstPointer
virtual void SetInput(const InputImageType *input)
static double GetGlobalDefaultDirectionTolerance()
void Update() override
Bring this filter up-to-date.
SmartPointer< Self > Pointer
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.
unsigned int GetNumberOfInputRequestedRegions() override
Return the actual number of regions to request upstream.
~ImageSink() override=default
StreamingProcessObject Superclass
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
SplitterType::Pointer RegionSplitterPointer
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
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....