18 #ifndef __itkMetaImageIO_h
19 #define __itkMetaImageIO_h
24 #include "metaObject.h"
25 #include "metaImage.h"
55 virtual bool SupportsDimension(
unsigned long)
64 virtual bool CanReadFile(
const char *);
67 virtual void ReadImageInformation();
70 virtual void Read(
void *buffer);
72 MetaImage * GetMetaImagePointer(
void);
78 virtual bool CanWriteFile(
const char *);
81 virtual void WriteImageInformation();
85 virtual void Write(
const void *buffer);
90 virtual void SetDataFileName(
const char *filename);
94 virtual void SetDoublePrecision(
unsigned int precision)
96 m_MetaImage.SetDoublePrecision(precision);
104 GenerateStreamableReadRegionFromRequestedRegion(
const ImageIORegion & requested)
const;
107 GetActualNumberOfSplitsForWriting(
unsigned int numberOfRequestedSplits,
112 GetSplitRegionForWriting(
unsigned int ithPiece,
113 unsigned int numberOfActualSplits,
120 virtual bool CanStreamRead()
122 if ( m_MetaImage.CompressedData() )
135 virtual bool CanStreamWrite()
137 if ( this->GetUseCompression() )
148 itkSetMacro(SubSamplingFactor,
unsigned int);
149 itkGetConstMacro(SubSamplingFactor,
unsigned int);
155 void PrintSelf(std::ostream & os,
Indent indent)
const;
162 void operator=(
const Self &);
168 #endif // __itkMetaImageIO_h