15 #ifndef __igtlLabelMetaMessage_h 16 #define __igtlLabelMetaMessage_h 45 int SetName(
const char* name);
48 const char*
GetName() {
return this->m_Name.c_str(); };
52 int SetDeviceName(
const char* devname);
58 void SetLabel(igtlUint8 label) { this->m_Label = label; };
61 igtlUint8
GetLabel() {
return this->m_Label; };
64 void SetRGBA(igtlUint8 rgba[4]);
67 void SetRGBA(igtlUint8 r, igtlUint8 g, igtlUint8 b, igtlUint8 a);
70 void GetRGBA(igtlUint8* rgba);
73 void GetRGBA(igtlUint8& r, igtlUint8& g, igtlUint8& b, igtlUint8& a);
77 void SetSize(igtlUint16 size[3]);
80 void SetSize(igtlUint16 si, igtlUint16 sj, igtlUint16 sk);
84 void GetSize(igtlUint16* size);
87 void GetSize(igtlUint16& si, igtlUint16& sj, igtlUint16& sk);
90 int SetOwner(
const char* owner);
93 const char*
GetOwner() {
return this->m_Owner.c_str(); };
114 igtlUint16 m_Size[3];
139 virtual int PackBody() { AllocatePack();
return 1; };
164 void ClearLabelMetaElement();
167 int GetNumberOfLabelMetaElement();
179 virtual int GetBodyPackSize();
180 virtual int PackBody();
181 virtual int UnpackBody();
191 #endif // _igtlLabelMetaMessage_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.