Go to the source code of this file.
Classes | |
struct | igtl_qtrans |
Macros | |
#define | IGTL_QTRANS_MESSAGE_DEFAULT_SIZE 28 |
#define | IGTL_QTRANS_MESSAGE_POSITON_ONLY_SIZE 12 /* size w/o quaternion */ |
#define | IGTL_QTRANS_MESSAGE_WITH_QUATERNION3_SIZE 24 /* size 3-element quaternion */ |
Functions | |
void igtl_export | igtl_qtrans_convert_byte_order (igtl_qtrans *pos) |
igtl_uint64 igtl_export | igtl_qtrans_get_crc (igtl_qtrans *pos) |
#define IGTL_QTRANS_MESSAGE_DEFAULT_SIZE 28 |
Definition at line 22 of file igtl_qtrans.h.
#define IGTL_QTRANS_MESSAGE_POSITON_ONLY_SIZE 12 /* size w/o quaternion */ |
NOTE: the size varies if orientation is omitted
Definition at line 24 of file igtl_qtrans.h.
#define IGTL_QTRANS_MESSAGE_WITH_QUATERNION3_SIZE 24 /* size 3-element quaternion */ |
Definition at line 25 of file igtl_qtrans.h.
void igtl_export igtl_qtrans_convert_byte_order | ( | igtl_qtrans * | pos | ) |
Converts endianness of each member variable in igtl_status_header from host byte order to network byte order, or vice versa.
igtl_uint64 igtl_export igtl_qtrans_get_crc | ( | igtl_qtrans * | pos | ) |
Calculates CRC of qtrans message