18 #ifndef itkMRCHeaderObject_h
19 #define itkMRCHeaderObject_h
20 #include "ITKIOMRCExport.h"
221 enum { MRCHEADER_MODE_UINT8 = 0,
222 MRCHEADER_MODE_IN16 = 1,
223 MRCHEADER_MODE_FLOAT = 2,
224 MRCHEADER_MODE_COMPLEX_INT16 = 3,
225 MRCHEADER_MODE_COMPLEX_FLOAT = 4,
226 MRCHEADER_MODE_UINT16 = 6,
227 MRCHEADER_MODE_RGB_BYTE = 16 };
230 enum { MRCHEADER_MAP_X = 1,
232 MRCHEADER_MAP_Z = 3 };
242 void DeepCopy(ConstPointer h);
254 bool SetHeader(
const Header *buffer);
256 const Header & GetHeader()
const;
266 bool SetExtendedHeader(
const void *buffer);
282 bool IsOriginalHeaderBigEndian()
const;
294 void swapHeader(
bool bigEndian);
297 void PrintSelf(std::ostream & os,
Indent indent)
const override;
301 void * m_ExtendedHeader{
nullptr};
Light weight base class for most itk classes.
unsigned long SizeValueType
Control indentation during Print() invocation.