17 #ifndef __igtlLabelMetaMessage_h
18 #define __igtlLabelMetaMessage_h
46 int SetName(
const char* name);
47 const char*
GetName() {
return this->m_Name.c_str(); };
49 int SetDeviceName(
const char* devname);
52 void SetLabel(igtlUint8 label) { this->m_Label = label; };
53 igtlUint8
GetLabel() {
return this->m_Label; };
55 void SetRGBA(igtlUint8 rgba[4]);
56 void SetRGBA(igtlUint8 r, igtlUint8 g, igtlUint8 b, igtlUint8 a);
57 void GetRGBA(igtlUint8* rgba);
58 void GetRGBA(igtlUint8& r, igtlUint8& g, igtlUint8& b, igtlUint8& a);
60 void SetSize(igtlUint16 size[3]);
61 void SetSize(igtlUint16 sx, igtlUint16 sy, igtlUint16 sz);
62 void GetSize(igtlUint16* size);
63 void GetSize(igtlUint16& sx, igtlUint16& sy, igtlUint16& sz);
65 int SetOwner(
const char* owner);
66 const char*
GetOwner() {
return this->m_Owner.c_str(); };
100 virtual int PackBody() { AllocatePack();
return 1; };
118 void ClearLabelMetaElement();
120 int GetNumberOfLabelMetaElement();
130 virtual int GetBodyPackSize();
131 virtual int PackBody();
132 virtual int UnpackBody();
141 #endif // _igtlLabelMetaMessage_h