Home < OpenIGTLink < ProtocolV2 < Type < PolyData << Version 2 Draft Page
Summary
POLYDATA is used to transfer 3D polygonal data. The message format is designed based on the POLY DATA format defined in VTK file format and equivalent to VTK's vtkPolyData class.
Message Types
POLYDATA
Data
|
Type
|
Description
|
NPOINTS
|
uint32
|
Number of points
|
PTYPE
|
uint16
|
Data type (see image)
|
POINTS
|
PTYPE * NPOINTS * 3
|
Coordinates of points
|
GET_POLYDATA
STT_POLYDATA
STP_POLYDATA
RTS_POLYDATA
Implementations
The NDARRAY message type is implemented in the following source code.
Contributors
Junichi Tokuda, Yuichiro Hayashi