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 };
239 void DeepCopy(ConstPointer h);
251 bool SetHeader(
const Header *buffer);
253 const Header & GetHeader()
const;
263 bool SetExtendedHeader(
const void *buffer);
276 bool IsOriginalHeaderBigEndian(
void)
const;
288 void swapHeader(
bool bigEndian);
291 void PrintSelf(std::ostream & os,
Indent indent)
const;
295 void operator=(
const Self &);