Go to the source code of this file.
Classes | |
struct | igtl_position |
Macros | |
#define | IGTL_POSITION_MESSAGE_DEFAULT_SIZE 28 |
#define | IGTL_POSITION_MESSAGE_POSITON_ONLY_SIZE 12 /* size w/o quaternion */ |
#define | IGTL_POSITION_MESSAGE_WITH_QUATERNION3_SIZE 24 /* size 3-element quaternion */ |
Functions | |
igtl_uint64 igtl_export | igtl_position_get_crc (igtl_position *pos) |
void igtl_export | igtl_position_convert_byte_order (igtl_position *pos) |
void igtl_export | igtl_position_convert_byte_order_position_only (igtl_position *pos) |
void igtl_export | igtl_position_convert_byte_order_quaternion3 (igtl_position *pos) |
#define IGTL_POSITION_MESSAGE_DEFAULT_SIZE 28 |
Definition at line 22 of file igtl_position.h.
#define IGTL_POSITION_MESSAGE_POSITON_ONLY_SIZE 12 /* size w/o quaternion */ |
NOTE: the size varies if orientation is omitted
Definition at line 24 of file igtl_position.h.
#define IGTL_POSITION_MESSAGE_WITH_QUATERNION3_SIZE 24 /* size 3-element quaternion */ |
Definition at line 25 of file igtl_position.h.
void igtl_export igtl_position_convert_byte_order | ( | igtl_position * | pos | ) |
Converts endianness of each member variable in igtl_status_header from host byte order to network byte order, or vice versa.
void igtl_export igtl_position_convert_byte_order_position_only | ( | igtl_position * | pos | ) |
Converts endianness of each member variable in igtl_status_header from host byte order to network byte order, or vice versa.
void igtl_export igtl_position_convert_byte_order_quaternion3 | ( | igtl_position * | 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_position_get_crc | ( | igtl_position * | pos | ) |
Calculates CRC of position message