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

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)
 

Macro Definition Documentation

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

Function Documentation

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


Generated at Sat Aug 22 2015 03:53:41 for OpenIGTLink by doxygen 1.8.9.1 written by Dimitri van Heesch, © 1997-2012