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

Go to the source code of this file.

Classes

struct  igtl_sensor_header
 

Macros

#define IGTL_SENSOR_HEADER_SIZE   10
 

Functions

void igtl_export igtl_sensor_convert_byte_order (igtl_sensor_header *header, igtl_float64 *data)
 
igtl_uint64 igtl_export igtl_sensor_get_crc (igtl_sensor_header *header, igtl_float64 *data)
 
igtl_uint32 igtl_export igtl_sensor_get_data_size (igtl_sensor_header *header)
 

Macro Definition Documentation

◆ IGTL_SENSOR_HEADER_SIZE

#define IGTL_SENSOR_HEADER_SIZE   10

Definition at line 24 of file igtl_sensor.h.

Function Documentation

◆ igtl_sensor_convert_byte_order()

void igtl_export igtl_sensor_convert_byte_order ( igtl_sensor_header header,
igtl_float64 *  data 
)

This function converts endianness from host byte order to network byte order, or vice versa.

◆ igtl_sensor_get_crc()

igtl_uint64 igtl_export igtl_sensor_get_crc ( igtl_sensor_header header,
igtl_float64 *  data 
)

Calculates CRC of image data body including header and array of pixel data.

◆ igtl_sensor_get_data_size()

igtl_uint32 igtl_export igtl_sensor_get_data_size ( igtl_sensor_header header)

This function calculates size of the pixel array, which will be transferred with the specified header.


Generated at Sat Apr 15 2017 02:30:07 for OpenIGTLink by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2012