Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
Classes | Macros | Functions
igtl_query.h File Reference
#include "igtl_win32header.h"
#include "igtl_util.h"
#include "igtl_types.h"
Include dependency graph for igtl_query.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  igtl_query_header
 

Macros

#define IGTL_QUERY_DATE_TYPE_SIZE   32
 
#define IGTL_QUERY_HEADER_SIZE   38
 

Functions

void igtl_export igtl_query_convert_byte_order (igtl_query_header *header)
 
igtl_uint64 igtl_export igtl_query_get_crc (igtl_query_header *header, void *query)
 

Macro Definition Documentation

◆ IGTL_QUERY_DATE_TYPE_SIZE

#define IGTL_QUERY_DATE_TYPE_SIZE   32

Definition at line 24 of file igtl_query.h.

◆ IGTL_QUERY_HEADER_SIZE

#define IGTL_QUERY_HEADER_SIZE   38

Definition at line 23 of file igtl_query.h.

Function Documentation

◆ igtl_query_convert_byte_order()

void igtl_export igtl_query_convert_byte_order ( igtl_query_header header)

Converts endian-ness from host byte order to network byte order, or vice versa. NOTE: It is developer's responsibility to have the command body with BOM (byte order mark) or in big endian order.

◆ igtl_query_get_crc()

igtl_uint64 igtl_export igtl_query_get_crc ( igtl_query_header header,
void *  query 
)

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


Generated for OpenIGTLink by Doxygen 1.9.8 written by Dimitri van Heesch, © 1997-2012