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

From NAMIC Wiki
Jump to: navigation, search
(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:…')
 
Line 6: Line 6:
  
 
=Message Types=
 
=Message Types=
==NDARRAY==
+
==POLYDATA==
  
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
Line 14: Line 14:
 
| align="left style="background:#e0e0e0;" | Description
 
| align="left style="background:#e0e0e0;" | Description
 
|-
 
|-
| align="left" | TYPE
 
| align="left" | UINT8
 
| align="left" |
 
Bit 0-1: bit (0=8bit, 1=16bit, 2=32bit, 3=64bit)<br/>
 
Bit 2: sign (0=unsigned, 1=signed, ignored if values are float) <br/>
 
Bit 3: integer or float (0=integer, 1=float) <br/>
 
Bit 4: Data Byte Order
 
 
|-
 
|-
| align="left" | DIM
 
| align="left" | UINT8
 
| align="left" | Dimension of array
 
 
|-
 
|-
| align="left" | SIZE
 
| align="left" | UINT16[DIM]
 
| align="left" | Size of array
 
 
|-
 
|-
| align="left" | DATA
 
| align="left" | TYPE[SIZE[0]][SIZE[1]]....[[SIZE[DIM-1]]]
 
| align="left" | Array data. (This field is not always in network byte order.)
 
 
|-
 
|-
 
|}
 
|}
  
==GET_NDARRAY==
+
==GET_POLYDATA==
  
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
Line 47: Line 31:
  
  
==STT_NDARRAY==
+
==STT_POLYDATA==
  
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
Line 57: Line 41:
 
|}
 
|}
  
==STP_NDARRAY==
+
==STP_POLYDATA==
  
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
Line 67: Line 51:
 
|}
 
|}
  
==RTS_NDARRAY==
+
==RTS_POLYDATA==
  
 
=Implementations=
 
=Implementations=

Revision as of 05:58, 17 November 2010

Home < OpenIGTLink < ProtocolV2 < Type < PolyData

<< Version 2 Draft Page

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

POLYDATA

Data Type Description

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