18 #ifndef __itkMetaImageIO_h
19 #define __itkMetaImageIO_h
24 #include "metaObject.h"
25 #include "metaImage.h"
58 virtual bool SupportsDimension(
unsigned long)
67 virtual bool CanReadFile(
const char *);
70 virtual void ReadImageInformation();
73 virtual void Read(
void *buffer);
75 MetaImage * GetMetaImagePointer(
void);
81 virtual bool CanWriteFile(
const char *);
84 virtual void WriteImageInformation();
88 virtual void Write(
const void *buffer);
93 virtual void SetDataFileName(
const char *filename);
97 virtual void SetDoublePrecision(
unsigned int precision)
99 m_MetaImage.SetDoublePrecision(precision);
107 GenerateStreamableReadRegionFromRequestedRegion(
const ImageIORegion & requested)
const;
110 GetActualNumberOfSplitsForWriting(
unsigned int numberOfRequestedSplits,
115 GetSplitRegionForWriting(
unsigned int ithPiece,
116 unsigned int numberOfActualSplits,
123 virtual bool CanStreamRead()
125 if ( m_MetaImage.CompressedData() )
138 virtual bool CanStreamWrite()
140 if ( this->GetUseCompression() )
151 itkSetMacro(SubSamplingFactor,
unsigned int);
152 itkGetConstMacro(SubSamplingFactor,
unsigned int);
158 void PrintSelf(std::ostream & os,
Indent indent)
const;
165 void operator=(
const Self &);
171 #endif // __itkMetaImageIO_h