18 #ifndef __itkMRCHeaderObject_h
19 #define __itkMRCHeaderObject_h
218 enum { MRCHEADER_MODE_UINT8 = 0,
219 MRCHEADER_MODE_IN16 = 1,
220 MRCHEADER_MODE_FLOAT = 2,
221 MRCHEADER_MODE_COMPLEX_INT16 = 3,
222 MRCHEADER_MODE_COMPLEX_FLOAT = 4,
223 MRCHEADER_MODE_UINT16 = 6,
224 MRCHEADER_MODE_RGB_BYTE = 16 };
227 enum { MRCHEADER_MAP_X = 1,
229 MRCHEADER_MAP_Z = 3 };
238 void DeepCopy(ConstPointer h);
250 bool SetHeader(
const Header *buffer);
252 const Header & GetHeader()
const;
262 bool SetExtendedHeader(
const void *buffer);
275 bool IsOriginalHeaderBigEndian(
void)
const;
286 void swapHeader(
bool bigEndian);
289 void PrintSelf(std::ostream & os,
Indent indent)
const;
293 void operator=(
const Self &);