Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
Classes | Macros | Functions
igtl_point.h File Reference
#include "igtl_win32header.h"
#include "igtl_util.h"
#include "igtl_types.h"
Include dependency graph for igtl_point.h:

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)
 

Macro Definition Documentation

#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.

Function Documentation

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


Generated at Wed Dec 4 2013 03:48:28 for OpenIGTLink by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2012