Go to the source code of this file.
Classes | |
struct | igtl_point_element |
Macros | |
#define | IGTL_POINT_ELEMENT_SIZE 136 |
#define | igtl_point_get_data_n(size) ((size) / IGTL_POINT_ELEMENT_SIZE) |
#define | igtl_point_get_data_size(n) ((n) * IGTL_POINT_ELEMENT_SIZE) |
#define | IGTL_POINT_LEN_GROUP_NAME 32 |
#define | IGTL_POINT_LEN_NAME 64 |
#define | IGTL_POINT_LEN_OWNER 20 |
Functions | |
void igtl_export | igtl_point_convert_byte_order (igtl_point_element *pointlist, int nelem) |
igtl_uint64 igtl_export | igtl_point_get_crc (igtl_point_element *pointlist, int nelem) |
#define IGTL_POINT_ELEMENT_SIZE 136 |
Definition at line 22 of file igtl_point.h.
#define igtl_point_get_data_n | ( | size | ) | ((size) / IGTL_POINT_ELEMENT_SIZE) |
igtl_point_get_data_n(size) calculates the number of images in the body, based on the body size. This function may be used when a client program parses a POINT message.
Definition at line 52 of file igtl_point.h.
#define igtl_point_get_data_size | ( | n | ) | ((n) * IGTL_POINT_ELEMENT_SIZE) |
igtl_point_get_data_size(n) calculates the size of body based on the number of points. The size of body is used in the message header.
Definition at line 48 of file igtl_point.h.
#define IGTL_POINT_LEN_GROUP_NAME 32 |
Definition at line 25 of file igtl_point.h.
#define IGTL_POINT_LEN_NAME 64 |
Definition at line 24 of file igtl_point.h.
#define IGTL_POINT_LEN_OWNER 20 |
Definition at line 26 of file igtl_point.h.
void igtl_export igtl_point_convert_byte_order | ( | igtl_point_element * | pointlist, |
int | nelem | ||
) |
Converts endianness of each element in an array of igtl_igtl_point_element from host byte order to network byte order, or vice versa.
igtl_uint64 igtl_export igtl_point_get_crc | ( | igtl_point_element * | pointlist, |
int | nelem | ||
) |
Calculates CRC of point message