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

From NAMIC Wiki
Jump to: navigation, search
Line 13: Line 13:
 
| align="left style="background:#e0e0e0;" | Description
 
| align="left style="background:#e0e0e0;" | Description
 
|-
 
|-
 +
| align="left" | NPOINTS
 +
| align="left" | uint32
 +
| align="left" | Number of points
 
|-
 
|-
 +
| align="left" | PTYPE
 +
| align="left" | uint16
 +
| align="left" | Data type (see image)
 +
|-
 +
| align="left" | POINTS
 +
| align="left" | PTYPE * NPOINTS * 3
 +
| align="left" | Coordinates of points
 +
|-
 +
 +
 
|-
 
|-
 
|-
 
|-

Revision as of 06:05, 17 November 2010

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

Data Type Description


STT_POLYDATA

Data Type Description

STP_POLYDATA

Data Type Description

RTS_POLYDATA

Implementations

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

Contributors

Junichi Tokuda, Yuichiro Hayashi

Comments