18 #ifndef itkImageRegionSplitterBase_h
19 #define itkImageRegionSplitterBase_h
77 template <
unsigned int VImageDimension>
79 unsigned int requestedNumber)
const
81 return this->GetNumberOfSplitsInternal( VImageDimension,
87 unsigned int requestedNumber)
const
105 template <
unsigned int VImageDimension>
107 unsigned int numberOfPieces,
110 return this->GetSplitInternal( VImageDimension,
117 unsigned int numberOfPieces,
132 virtual unsigned int GetNumberOfSplitsInternal(
unsigned int dim,
135 unsigned int requestedNumber )
const = 0;
141 virtual unsigned int GetSplitInternal(
unsigned int dim,
143 unsigned int numberOfPieces,
147 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
const IndexType & GetIndex() const
An ImageIORegion represents a structured region of data.
const IndexType & GetIndex() const
ImageRegionSplitterBase Self
signed long IndexValueType
An image region represents a structured region of data.
unsigned int GetSplit(unsigned int i, unsigned int numberOfPieces, ImageIORegion ®ion) const
unsigned long SizeValueType
unsigned int GetImageDimension() const
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 int GetNumberOfSplits(const ImageRegion< VImageDimension > ®ion, unsigned int requestedNumber) const
IndexType & GetModifiableIndex()
SmartPointer< Self > Pointer
SizeType & GetModifiableSize()
Divide an image region into several pieces.
const SizeType & GetSize() const
SmartPointer< const Self > ConstPointer
const SizeType & GetSize() const
IndexType & GetModifiableIndex()
SizeType & GetModifiableSize()
Control indentation during Print() invocation.
Base class for most ITK classes.
unsigned int GetNumberOfSplits(const ImageIORegion ®ion, unsigned int requestedNumber) const