22 #ifndef otbImageRegionNonUniformMultidimensionalSplitter_h
23 #define otbImageRegionNonUniformMultidimensionalSplitter_h
25 #include "itkRegion.h"
26 #include "itkObjectFactory.h"
29 #include "itkImageRegionSplitter.h"
65 template <
unsigned int VImageDimension>
71 typedef itk::ImageRegionSplitter<VImageDimension>
Superclass;
82 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
99 unsigned int GetNumberOfSplits(
const RegionType& region,
unsigned int requestedNumber)
override;
104 RegionType GetSplit(
unsigned int i,
unsigned int numberOfPieces,
const RegionType& region)
override;
113 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
117 void operator=(
const Self&) =
delete;
123 #define ITK_TEMPLATE_ImageRegionNonUniformMultidimensionalSplitter(_, EXPORT, x, y) \
126 _(1(class EXPORT ImageRegionNonUniformMultidimensionalSplitter<ITK_TEMPLATE_1 x>)) \
127 namespace Templates \
129 typedef ImageRegionNonUniformMultidimensionalSplitter<ITK_TEMPLATE_1 x> ImageRegionNonUniformMultidimensionalSplitter##y; \
133 #if ITK_TEMPLATE_EXPLICIT
134 #include "Templates/otbImageRegionNonUniformMultidimensionalSplitter+-.h"
137 #ifndef ITK_MANUAL_INSTANTIATION