|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkImageRegionSplitterBase_h
19 #define itkImageRegionSplitterBase_h
78 template <
unsigned int VImageDimension>
82 return this->GetNumberOfSplitsInternal(
83 VImageDimension, region.
GetIndex().m_InternalArray, region.
GetSize().m_InternalArray, requestedNumber);
88 return this->GetNumberOfSplitsInternal(
102 template <
unsigned int VImageDimension>
106 return this->GetSplitInternal(VImageDimension,
115 return this->GetSplitInternal(
125 GetNumberOfSplitsInternal(
unsigned int dim,
128 unsigned int requestedNumber)
const = 0;
135 GetSplitInternal(
unsigned int dim,
137 unsigned int numberOfPieces,
142 PrintSelf(std::ostream & os,
Indent indent)
const override;
IndexType & GetModifiableIndex()
SizeType & GetModifiableSize()
const IndexType & GetIndex() const
An image region represents a structured region of data.
unsigned int GetNumberOfSplits(const ImageIORegion ®ion, unsigned int requestedNumber) const
const SizeType & GetSize() const
Control indentation during Print() invocation.
An ImageIORegion represents a structured region of data.
unsigned int GetNumberOfSplits(const ImageRegion< VImageDimension > ®ion, unsigned int requestedNumber) const
unsigned int GetSplit(unsigned int i, unsigned int numberOfPieces, ImageIORegion ®ion) const
IndexType & GetModifiableIndex()
const IndexType & GetIndex() const
Divide an image region into several pieces.
unsigned int GetImageDimension() const
const SizeType & GetSize() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Base class for most ITK classes.
SizeType & GetModifiableSize()
unsigned int GetSplit(unsigned int i, unsigned int numberOfPieces, ImageRegion< VImageDimension > ®ion) const
Get a region definition that represents the ith piece a specified region.
unsigned long SizeValueType