18 #ifndef itkMRCImageIO_h
19 #define itkMRCImageIO_h
20 #include "ITKIOMRCExport.h"
81 bool CanReadFile(
const char *)
override;
84 void ReadImageInformation()
override;
87 void Read(
void *buffer)
override;
97 bool CanWriteFile(
const char *)
override;
100 void Write(
const void *buffer)
override;
111 void PrintSelf(std::ostream & os,
Indent indent)
const override;
117 SizeType GetHeaderSize()
const override;
123 template<
typename TPixelType >
124 void UpdateHeaderWithMinMaxMean(
const TPixelType *bufferBegin);
126 void UpdateHeaderWithMinMaxMean(
const void *bufferBegin);
130 void UpdateHeaderFromImageIO();
133 void InternalReadImageInformation(std::ifstream & is);
135 virtual void WriteImageInformation(
const void *bufferBegin);
Light weight base class for most itk classes.
MRCHeaderObject::Pointer m_MRCHeader
A base class for specific ImageIO file formats which support streaming.
static const char * m_MetaDataHeaderName
An ImageIO class to read the MRC file format. The MRC file format frequently has the extension "...
void WriteImageInformation() override
Control indentation during Print() invocation.
Base class for most ITK classes.