OpenIGTLink/ProtocolV2/Type/PolyData
From NAMIC Wiki
Revision as of 05:57, 17 November 2010 by Tokuda (talk | contribs) (Created page with ' << Version 2 Draft Page =Summary= POLYDATA is used to transfer 3D polygon model data. The message format is designed based on the [http:…')
Home < OpenIGTLink < ProtocolV2 < Type < PolyData
Contents
Summary
POLYDATA is used to transfer 3D polygon model data. The message format is designed based on the POLY data defined in VTK file format.
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 | 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