22 #ifndef otbImageRegionSquareTileSplitter_h
23 #define otbImageRegionSquareTileSplitter_h
25 #include "itkRegion.h"
26 #include "itkImageRegionSplitter.h"
27 #include "itkObjectFactory.h"
74 template <
unsigned int VImageDimension>
80 typedef itk::ImageRegionSplitter<VImageDimension>
Superclass;
91 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
96 return VImageDimension;
115 unsigned int GetNumberOfSplits(
const RegionType& region,
unsigned int requestedNumber)
override;
120 RegionType GetSplit(
unsigned int i,
unsigned int numberOfPieces,
const RegionType& region)
override;
122 itkGetMacro(TileSizeAlignment,
unsigned int);
123 itkSetMacro(TileSizeAlignment,
unsigned int);
125 itkGetMacro(TileDimension,
unsigned int);
134 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
147 #ifndef OTB_MANUAL_INSTANTIATION