18 #ifndef itkMRCHeaderObject_h
19 #define itkMRCHeaderObject_h
20 #include "ITKIOMRCExport.h"
219 enum { MRCHEADER_MODE_UINT8 = 0,
220 MRCHEADER_MODE_IN16 = 1,
221 MRCHEADER_MODE_FLOAT = 2,
222 MRCHEADER_MODE_COMPLEX_INT16 = 3,
223 MRCHEADER_MODE_COMPLEX_FLOAT = 4,
224 MRCHEADER_MODE_UINT16 = 6,
225 MRCHEADER_MODE_RGB_BYTE = 16 };
228 enum { MRCHEADER_MAP_X = 1,
230 MRCHEADER_MAP_Z = 3 };
240 void DeepCopy(ConstPointer h);
252 bool SetHeader(
const Header *buffer);
254 const Header & GetHeader()
const;
264 bool SetExtendedHeader(
const void *buffer);
280 bool IsOriginalHeaderBigEndian()
const;
292 void swapHeader(
bool bigEndian);
295 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
301 void * m_ExtendedHeader;
305 bool m_BigEndianHeader;
Light weight base class for most itk classes.
unsigned long SizeValueType
KWIML_INT_int16_t int16_t
Control indentation during Print() invocation.
KWIML_INT_int32_t int32_t