17 #ifndef __igtlImageMetaMessage_h
18 #define __igtlImageMetaMessage_h
46 int SetName(
const char* name);
47 const char*
GetName() {
return this->m_Name.c_str(); };
49 int SetDeviceName(
const char* devname);
52 int SetModality(
const char* modality);
53 const char*
GetModality() {
return this->m_Modality.c_str(); };
55 int SetPatientName(
const char* patname);
58 int SetPatientID(
const char* patid);
64 void SetSize(igtlUint16 size[3]);
65 void SetSize(igtlUint16 sx, igtlUint16 sy, igtlUint16 sz);
66 void GetSize(igtlUint16* size);
67 void GetSize(igtlUint16& sx, igtlUint16& sy, igtlUint16& sz);
69 void SetScalarType(igtlUint8 type);
70 igtlUint8 GetScalarType();
106 virtual int PackBody() { AllocatePack();
return 1; };
124 void ClearImageMetaElement();
126 int GetNumberOfImageMetaElement();
136 virtual int GetBodyPackSize();
137 virtual int PackBody();
138 virtual int UnpackBody();
147 #endif // _igtlImageMetaMessage_h