18 #ifndef itkMetaImageIO_h
19 #define itkMetaImageIO_h
20 #include "ITKIOMetaExport.h"
25 #include "metaObject.h"
26 #include "metaImage.h"
68 virtual bool CanReadFile(
const char *) ITK_OVERRIDE;
71 virtual
void ReadImageInformation() ITK_OVERRIDE;
74 virtual
void Read(
void *buffer) ITK_OVERRIDE;
76 MetaImage * GetMetaImagePointer();
82 virtual
bool CanWriteFile(const
char *) ITK_OVERRIDE;
85 virtual
void WriteImageInformation() ITK_OVERRIDE;
89 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
94 virtual
void SetDataFileName(const
char *filename);
98 virtual
void SetDoublePrecision(
unsigned int precision)
100 m_MetaImage.SetDoublePrecision(precision);
108 GenerateStreamableReadRegionFromRequestedRegion(
const ImageIORegion & requested)
const ITK_OVERRIDE;
111 GetActualNumberOfSplitsForWriting(
unsigned int numberOfRequestedSplits,
116 GetSplitRegionForWriting(
unsigned int ithPiece,
117 unsigned int numberOfActualSplits,
126 if ( m_MetaImage.CompressedData() )
141 if ( this->GetUseCompression() )
152 itkSetMacro(SubSamplingFactor,
unsigned int);
153 itkGetConstMacro(SubSamplingFactor,
unsigned int);
166 static void SetDefaultDoublePrecision(
unsigned int precision);
167 static unsigned int GetDefaultDoublePrecision();
173 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
177 MetaImage m_MetaImage;
181 unsigned int m_SubSamplingFactor;
183 static
unsigned int m_DefaultDoublePrecision;
187 #endif // itkMetaImageIO_h
Light weight base class for most itk classes.
An ImageIORegion represents a structured region of data.
Abstract superclass defines image IO interface.
Control indentation during Print() invocation.
Base class for most ITK classes.