Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
File Members
Go to the documentation of this file.
15 #ifndef __igtlPositionMessage_h
16 #define __igtlPositionMessage_h
61 void SetPackType(
int t);
67 int SetPackTypeByBodySize(
int s);
70 void SetPosition(
const float* pos);
73 void SetPosition(
float x,
float y,
float z);
76 void SetQuaternion(
const float* quat);
79 void SetQuaternion(
float ox,
float oy,
float oz,
float w);
82 void GetPosition(
float* pos);
85 void GetPosition(
float* x,
float* y,
float* z);
88 void GetQuaternion(
float* quat);
91 void GetQuaternion(
float* ox,
float* oy,
float* oz,
float* w);
103 virtual int GetBodyPackSize();
104 virtual int PackBody();
105 virtual int UnpackBody();
111 igtlFloat32 m_Position[3];
114 igtlFloat32 m_Quaternion[4];
121 #endif // _igtlPositionMessage_h
int GetPackType()
Gets the type of the pack. The returned value must be either POSITION_ONLY, WITH_QUATERNION3,...
class MessageBase MessageHeader
SmartPointer< Self > Pointer
igtlInt32 m_PackType
The type of message formats (either POSITION_ONLY, WITH_QUATERNION3, or ALL).
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...
SmartPointer< const Self > ConstPointer
#define igtlTypeMacro(thisClass, superclass)
Generated for OpenIGTLink by
Doxygen
1.8.17 written by Dimitri van Heesch,
© 1997-2012