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 ITK_DISALLOW_COPY_AND_ASSIGN(MRCImageIO);
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.
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