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

From NAMIC Wiki
Jump to: navigation, search
(Created page with ' << Version 2 Draft Page =Summary= The XXXX format supports blah-blah-blah. =Message Types= ==XXXX== {| border="1" cellpadding="5" …')
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[OpenIGTLink/ProtocolV2/Proposals | &lt;&lt; Version 2 Draft Page]]
+
[[OpenIGTLink/ProtocolV2/Index | &lt;&lt; Version 2 Index Page]]
  
 
=Summary=
 
=Summary=
The XXXX format supports blah-blah-blah.
+
The POINT message type is designed to transfer information about fiducials, which are often used in surgical planning and navigation in the image-guided therapy.
  
 
=Message Types=
 
=Message Types=
==XXXX==
+
==POINT==
  
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
Line 13: Line 13:
 
| align="left style="background:#e0e0e0;" | Description
 
| align="left style="background:#e0e0e0;" | Description
 
|-
 
|-
| align="left" | V1
+
| colspan=3 align="left" |SENSOR_1
| align="left" | unsigned short
 
| align="left" | Value 1
 
 
|-
 
|-
| align="left" | V2
+
| align="left" | Name
| align="left" | 8bit unsigned int
+
| align="left" | char[64]
| align="left" | Value 2
+
| align="left" | Name or description of the point
 
|-
 
|-
| align="left" | ...
+
| align="left" | Group name
| align="left" | ...
+
| align="left" | char[32]
| align="left" | ...
+
| align="left" | Can be "Labeled Point", "Landmark", "Fiducal", ...
 
|-
 
|-
|}
+
| align="left" | R,G,B,A
 
+
| align="left" | 8 bit unsigned
 
+
| align="left" | Color in RGBA
==GET_XXXX==
+
|-
{| border="1" cellpadding="5" cellspacing="0" align="center"
+
| align="left" | X,Y,Z
 +
| align="left" | 32 bit float
 +
| align="left" | Coordinate of the point in millimeter
 +
|-
 +
| align="left" | Diameter
 +
| align="left" | 32 bit float
 +
| align="left" | Diameter of the point in millimeter. Diameter can be 0.
 
|-
 
|-
| align="left style="background:#e0e0e0;" | Data
+
| align="left" | Owner image
| align="left style="background:#e0e0e0;" | Type
+
| align="left" | char[20]
| align="left style="background:#e0e0e0;" | Description
+
| align="left" | Id of the owner image/sliceset. Points from different slicesets can be sent if slicesets are fused.
 
|-
 
|-
| align="left" | V1
+
| colspan=3 align="center" style="background:#f0f0f0;" | ...
| align="left" | unsigned short
 
| align="left" | Value 1
 
 
|-
 
|-
| align="left" | V2
+
| colspan=3 align="left" |SENSOR_N
| align="left" | 8bit unsigned int
 
| align="left" | Value 2
 
 
|-
 
|-
| align="left" | ...
+
| align="left" | Name
| align="left" | ...
+
| align="left" | char[64]
| align="left" | ...
+
| align="left" | Name or description of the point
 
|-
 
|-
|}
+
| align="left" | Group name
 
+
| align="left" | char[32]
 
+
| align="left" | Can be "Labeled Point", "Landmark", "Fiducal", ...
==STT_XXXX==
 
 
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
 
|-
 
|-
| align="left style="background:#e0e0e0;" | Data
+
| align="left" | R,G,B,A
| align="left style="background:#e0e0e0;" | Type
+
| align="left" | 8 bit unsigned
| align="left style="background:#e0e0e0;" | Description
+
| align="left" | Color in RGBA
 
|-
 
|-
| align="left" | V1
+
| align="left" | X,Y,Z
| align="left" | unsigned short
+
| align="left" | 32 bit float
| align="left" | Value 1
+
| align="left" | Coordinate of the point in millimeter.
 
|-
 
|-
| align="left" | V2
+
| align="left" | Diameter
| align="left" | 8bit unsigned int
+
| align="left" | 32 bit float
| align="left" | Value 2
+
| align="left" | Diameter of the point in millimeter. Diameter can be 0.
 
|-
 
|-
| align="left" | ...
+
| align="left" | Owner image
| align="left" | ...
+
| align="left" | char[20]
| align="left" | ...
+
| align="left" | Id of the owner image/sliceset. Points from different slicesets can be sent if slicesets are fused.
 
|-
 
|-
 
|}
 
|}
  
==STP_XXXX==
+
==GET_POINT==
 
+
GET_POINT is used to query for meta data of label data. If the DEVICE_NAME field in the header is empty, a list of all available point data is returned.
  
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
Line 80: Line 77:
 
| align="left style="background:#e0e0e0;" | Type
 
| align="left style="background:#e0e0e0;" | Type
 
| align="left style="background:#e0e0e0;" | Description
 
| align="left style="background:#e0e0e0;" | Description
|-
 
| align="left" | V1
 
| align="left" | unsigned short
 
| align="left" | Value 1
 
|-
 
| align="left" | V2
 
| align="left" | 8bit unsigned int
 
| align="left" | Value 2
 
|-
 
| align="left" | ...
 
| align="left" | ...
 
| align="left" | ...
 
 
|-
 
|-
 
|}
 
|}
 +
 +
==STT_POINT==
 +
 +
N / A
 +
 +
==STP_POINT==
 +
 +
N/A
 +
 +
 +
==RTS_POINT==
 +
 +
N/A
  
 
=Implementations=
 
=Implementations=
XXX message type is implemented in the following source code.
+
IMGMETA message type is implemented in the following source code.
*igtlXXXXMessage.h (link to the file in subversion repository, if available)
+
*[http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlPointMessage.h igtlPointMessage.h]
*igtlXXXXMessage.cxx (link to the file in subversion repository, if available)
+
*[http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlPointMessage.cxx igtlPointMessage.cxx]
  
 
=Contributors=
 
=Contributors=
You may list names of contributors in this section.
+
Alexander Schaal
  
 
=Comments=
 
=Comments=
People in the community may put comments here.
 

Latest revision as of 04:43, 30 November 2011

Home < OpenIGTLink < ProtocolV2 < Type < Point

<< Version 2 Index Page

Summary

The POINT message type is designed to transfer information about fiducials, which are often used in surgical planning and navigation in the image-guided therapy.

Message Types

POINT

Data Type Description
SENSOR_1
Name char[64] Name or description of the point
Group name char[32] Can be "Labeled Point", "Landmark", "Fiducal", ...
R,G,B,A 8 bit unsigned Color in RGBA
X,Y,Z 32 bit float Coordinate of the point in millimeter
Diameter 32 bit float Diameter of the point in millimeter. Diameter can be 0.
Owner image char[20] Id of the owner image/sliceset. Points from different slicesets can be sent if slicesets are fused.
...
SENSOR_N
Name char[64] Name or description of the point
Group name char[32] Can be "Labeled Point", "Landmark", "Fiducal", ...
R,G,B,A 8 bit unsigned Color in RGBA
X,Y,Z 32 bit float Coordinate of the point in millimeter.
Diameter 32 bit float Diameter of the point in millimeter. Diameter can be 0.
Owner image char[20] Id of the owner image/sliceset. Points from different slicesets can be sent if slicesets are fused.

GET_POINT

GET_POINT is used to query for meta data of label data. If the DEVICE_NAME field in the header is empty, a list of all available point data is returned.

Data Type Description

STT_POINT

N / A

STP_POINT

N/A


RTS_POINT

N/A

Implementations

IMGMETA message type is implemented in the following source code.

Contributors

Alexander Schaal

Comments