Difference between revisions of "OpenIGTLink/ProtocolV2/Type/NDArray"
From NAMIC Wiki
Line 33: | Line 33: | ||
| align="left" | | | align="left" | | ||
Specified in TYPE<br/> | Specified in TYPE<br/> | ||
− | TYPE[SIZE[0]][SIZE[1 | + | TYPE[SIZE[0]][SIZE[1]]....[[SIZE[DIM-1]]] |
| align="left" | Array data. (This field is not always in network byte order.) | | align="left" | Array data. (This field is not always in network byte order.) | ||
|- | |- |
Revision as of 06:21, 14 July 2010
Home < OpenIGTLink < ProtocolV2 < Type < NDArrayContents
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) |
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