22 #ifndef otbImageRegionAdaptativeSplitter_h
23 #define otbImageRegionAdaptativeSplitter_h
25 #include "itkRegion.h"
26 #include "itkImageRegionSplitter.h"
29 #include "itkFastMutexLock.h"
64 template <
unsigned int VImageDimension>
70 typedef itk::ImageRegionSplitter<VImageDimension>
Superclass;
81 itkStaticConstMacro(ImageDimension,
unsigned int, VImageDimension);
86 return VImageDimension;
106 itkGetConstReferenceMacro(TileHint,
SizeType);
112 itkGetConstReferenceMacro(ImageRegion,
RegionType);
115 itkSetMacro(RequestedNumberOfSplits,
unsigned int);
118 itkGetConstReferenceMacro(RequestedNumberOfSplits,
unsigned int);
125 unsigned int GetNumberOfSplits(
const RegionType& region,
unsigned int requestedNumber)
override;
130 RegionType GetSplit(
unsigned int i,
unsigned int numberOfPieces,
const RegionType& region)
override;
136 Superclass::Modified();
139 m_IsUpToDate =
false;
150 void PrintSelf(std::ostream& os, itk::Indent indent)
const override;
155 void EstimateSplitMap();
181 #ifndef OTB_MANUAL_INSTANTIATION