Difference between revisions of "OpenIGTLink/ProtocolV2/Type/NDArray"

From NAMIC Wiki
Jump to: navigation, search
Line 70: Line 70:
  
 
=Implementations=
 
=Implementations=
The KINEMAT message type is implemented in the following source code.
+
The NDARRAY message type is implemented in the following source code.
 
<!--
 
<!--
 
*[http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlTrackingDataMessage.h igtlTrackingDataMessage.h]
 
*[http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlTrackingDataMessage.h igtlTrackingDataMessage.h]

Revision as of 06:12, 14 July 2010

Home < OpenIGTLink < ProtocolV2 < Type < NDArray

<< Version 2 Draft Page

Summary

NDARRAY is a data type, which is designed to transfer N-dimensional numerical array.


Message Types

NDARRAY

Data Type Description
TYPE UINT8

Bit 0-1: bit (0=8bit, 1=16bit, 2=32bit, 3=64bit)
Bit 2: sign (0=unsigned, 1=signed, ignored if values are float)
Bit 3: integer or float (0=integer, 1=float)
Bit 4: Data Byte Order

DIM UINT8 Dimension of array
SIZE UINT16[DIM] Size of array
DATA Specified in TYPE Array data. (This field is not always in network byte order.)

GET_NDARRAY

Data Type Description


STT_NDARRAY

Data Type Description

STP_NDARRAY

Data Type Description

RTS_NDARRAY

Implementations

The NDARRAY message type is implemented in the following source code.

Contributors

Junichi Tokuda, Yuichiro Hayashi

Comments