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