17 #ifndef __igtlTrackingDataMessage_h
18 #define __igtlTrackingDataMessage_h
54 int SetName(
const char* name);
55 const char*
GetName() {
return this->m_Name.c_str(); };
57 int SetType(igtlUint8 type);
58 igtlUint8
GetType() {
return this->m_Type; };
60 void SetPosition(
float p[3]);
61 void GetPosition(
float p[3]);
63 void SetPosition(
float px,
float py,
float pz);
64 void GetPosition(
float* px,
float* py,
float* pz);
97 int SetCoordinateName(
const char* name);
105 virtual int GetBodyPackSize();
106 virtual int PackBody();
107 virtual int UnpackBody();
133 virtual int PackBody() { AllocatePack();
return 1; };
157 void SetStatus(igtlUint8 status){ this->m_Status = status; }
167 virtual int GetBodyPackSize();
168 virtual int PackBody();
169 virtual int UnpackBody();
188 void ClearTrackingDataElements();
190 int GetNumberOfTrackingDataElements();
201 virtual int GetBodyPackSize();
202 virtual int PackBody();
203 virtual int UnpackBody();
212 #endif // _igtlTrackingDataMessage_h