18 #ifndef itkMetaImageIO_h
19 #define itkMetaImageIO_h
20 #include "ITKIOMetaExport.h"
26 #include "metaObject.h"
27 #include "metaImage.h"
71 bool CanReadFile(
const char *)
override;
74 void ReadImageInformation()
override;
77 void Read(
void *buffer)
override;
79 MetaImage * GetMetaImagePointer();
85 bool CanWriteFile(
const char *)
override;
88 void WriteImageInformation()
override;
92 void Write(
const void *buffer)
override;
97 virtual void SetDataFileName(
const char *filename);
103 m_MetaImage.SetDoublePrecision(precision);
111 GenerateStreamableReadRegionFromRequestedRegion(
const ImageIORegion & requested)
const override;
114 GetActualNumberOfSplitsForWriting(
unsigned int numberOfRequestedSplits,
119 GetSplitRegionForWriting(
unsigned int ithPiece,
120 unsigned int numberOfActualSplits,
129 if ( m_MetaImage.CompressedData() )
144 if ( this->GetUseCompression() )
155 itkSetMacro(SubSamplingFactor,
unsigned int);
156 itkGetConstMacro(SubSamplingFactor,
unsigned int);
169 static void SetDefaultDoublePrecision(
unsigned int precision);
170 static unsigned int GetDefaultDoublePrecision();
176 void PrintSelf(std::ostream & os,
Indent indent)
const override;
190 #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.
#define itkGetGlobalDeclarationMacro(Type, VarName)
Control indentation during Print() invocation.
Base class for most ITK classes.