Difference between revisions of "OpenIGTLink/ProtocolV2/Type/NDArray"
From NAMIC Wiki
Line 16: | Line 16: | ||
| align="left" | TYPE | | align="left" | TYPE | ||
| align="left" | UINT8 | | align="left" | UINT8 | ||
− | | align="left" | | + | | align="left" | Scalar type (2:int8 3:uint8 4:int16 5:uint16 6:int32 7:uint32 10:float32 11:float64) |
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| align="left" | DIM | | align="left" | DIM |
Revision as of 21:23, 17 November 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 | Scalar type (2:int8 3:uint8 4:int16 5:uint16 6:int32 7:uint32 10:float32 11:float64) |
DIM | UINT8 | Dimension of array |
SIZE | UINT16[DIM] | Size of array |
DATA | TYPE[SIZE[0]][SIZE[1]]....[[SIZE[DIM-1]]] | 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