18#ifndef itkStreamingImageIOBase_h
19#define itkStreamingImageIOBase_h
20#include "ITKIOImageBaseExport.h"
An ImageIORegion represents a structured region of data.
Control indentation during Print() invocation.
Implements transparent reference counting.
virtual bool StreamReadBufferAsBinary(std::istream &file, void *_buffer)
Reads the set IORegion from os into buffer.
void PrintSelf(std::ostream &os, Indent indent) const override
virtual bool WriteBufferAsBinary(std::ostream &os, const void *buffer, SizeType num)
Reimplemented from super class to get around 2GB read/write limitation.
virtual bool StreamWriteBufferAsBinary(std::ostream &file, const void *_buffer)
Writes the set IORegion from buffer into os.
unsigned int GetActualNumberOfSplitsForWriting(unsigned int numberOfRequestedSplits, const ImageIORegion &pasteRegion, const ImageIORegion &largestPossibleRegion) override
SmartPointer< Self > Pointer
bool CanStreamRead() override
StreamingImageIOBase Self
virtual bool ReadBufferAsBinary(std::istream &is, void *buffer, SizeType num)
Reimplemented from superclass to get around 2GB read/write limitation.
ImageIORegion GenerateStreamableReadRegionFromRequestedRegion(const ImageIORegion &requestedRegion) const override
virtual bool RequestedToStream() const
Returns true if GetIORegion() is not the same size as the largest region give by GetNumberOfDimension...
virtual SizeType GetDataPosition() const
Returns the byte offset into the file where the data is located.
virtual SizeType GetHeaderSize() const =0
Returns the size of the header in the file.
bool CanStreamWrite() override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....