18 #ifndef itkMRCImageIO_h
19 #define itkMRCImageIO_h
20 #include "ITKIOMRCExport.h"
79 virtual bool CanReadFile(
const char *) ITK_OVERRIDE;
82 virtual
void ReadImageInformation() ITK_OVERRIDE;
85 virtual
void Read(
void *buffer) ITK_OVERRIDE;
95 virtual
bool CanWriteFile(const
char *) ITK_OVERRIDE;
98 virtual
void Write(const
void *buffer) ITK_OVERRIDE;
104 static const
char *m_MetaDataHeaderName;
109 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
115 virtual
SizeType GetHeaderSize(
void) const ITK_OVERRIDE;
119 MRCImageIO(const
Self &);
120 void operator=(const Self &);
124 template< typename TPixelType >
125 void UpdateHeaderWithMinMaxMean(const TPixelType *bufferBegin);
127 void UpdateHeaderWithMinMaxMean(const
void *bufferBegin);
131 void UpdateHeaderFromImageIO();
134 void InternalReadImageInformation(std::ifstream & is);
136 virtual
void WriteImageInformation(const
void *bufferBegin);
Light weight base class for most itk classes.
A base class for specific ImageIO file formats which support streaming.
StreamingImageIOBase Superclass
SmartPointer< Self > Pointer
An ImageIO class to read the MRC file format. The MRC file format frequently has the extension "...
Control indentation during Print() invocation.
virtual void WriteImageInformation(void) override