15 #ifndef __igtlImageMetaMessage_h
16 #define __igtlImageMetaMessage_h
46 int SetName(
const char* name);
49 const char*
GetName() {
return this->m_Name.c_str(); };
53 int SetDeviceName(
const char* devname);
60 int SetModality(
const char* modality);
63 const char*
GetModality() {
return this->m_Modality.c_str(); };
66 int SetPatientName(
const char* patname);
72 int SetPatientID(
const char* patid);
85 void SetSize(igtlUint16 size[3]);
88 void SetSize(igtlUint16 si, igtlUint16 sj, igtlUint16 sk);
92 void GetSize(igtlUint16* size);
95 void GetSize(igtlUint16& si, igtlUint16& sj, igtlUint16& sk);
98 void SetScalarType(igtlUint8 type);
101 igtlUint8 GetScalarType();
128 igtlUint16 m_Size[3];
153 virtual int PackBody() { AllocatePack();
return 1; };
181 void ClearImageMetaElement();
184 int GetNumberOfImageMetaElement();
196 virtual int GetBodyPackSize();
197 virtual int PackBody();
198 virtual int UnpackBody();
208 #endif // _igtlImageMetaMessage_h
#define igtlTypeMacro(thisClass, superclass)
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...
Base class for most igtl classes.