21 #ifndef otbStreamingManager_h
22 #define otbStreamingManager_h
26 #include "itkDataObject.h"
27 #include "itkImageRegionSplitterBase.h"
52 template <
class TImage>
66 typedef typename RegionType::SizeType
SizeType;
67 typedef typename ImageType::InternalPixelType
PixelType;
76 itkStaticConstMacro(ImageDimension,
unsigned int, ImageType::ImageDimension);
87 virtual unsigned int GetNumberOfSplits();
101 virtual unsigned int EstimateOptimalNumberOfDivisions(itk::DataObject* input,
const RegionType& region,
MemoryPrintType availableRAMInMB,
double bias = 1.0);
128 #ifndef OTB_MANUAL_INSTANTIATION
std::uint64_t MemoryPrintType
This class handles the streaming process used in the writers implementation.
void operator=(const StreamingManager &)=delete
unsigned int m_ComputedNumberOfSplits
RegionType::IndexType IndexType
StreamingManager(const StreamingManager &)=delete
AbstractSplitterType::Pointer AbstractSplitterPointerType
AbstractSplitterPointerType m_Splitter
otb::PipelineMemoryPrintCalculator::MemoryPrintType MemoryPrintType
ImageType::InternalPixelType PixelType
itk::SmartPointer< const Self > ConstPointer
itk::LightObject Superclass
virtual void PrepareStreaming(itk::DataObject *input, const RegionType ®ion)=0
RegionType::SizeType SizeType
itk::ImageRegionSplitterBase AbstractSplitterType
MemoryPrintType m_DefaultRAM
ImageType::RegionType RegionType
ImageType::Pointer ImagePointerType
itk::SmartPointer< Self > Pointer
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.