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

From NAMIC Wiki
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[OpenIGTLink/ProtocolV2/Proposals | << Version 2 Draft Page]]
+
[[OpenIGTLink/ProtocolV2/Index | << Version 2 Index Page]]
  
 
=Summary=
 
=Summary=
Line 12: Line 12:
 
| align="left style="background:#e0e0e0;" | Type
 
| align="left style="background:#e0e0e0;" | Type
 
| align="left style="background:#e0e0e0;" | Description
 
| align="left style="background:#e0e0e0;" | Description
 +
|-
 +
| colspan=3 align="left" |SENSOR_1
 
|-
 
|-
 
| align="left" | Name
 
| align="left" | Name
Line 27: Line 29:
 
| align="left" | X,Y,Z
 
| align="left" | X,Y,Z
 
| align="left" | 32 bit float
 
| align="left" | 32 bit float
| align="left" | Coordinate of the point
+
| align="left" | Coordinate of the point in millimeter
 
|-
 
|-
 
| align="left" | Diameter
 
| align="left" | Diameter
 
| align="left" | 32 bit float
 
| align="left" | 32 bit float
| align="left" | Diameter of the point, can be 0.
+
| align="left" | Diameter of the point in millimeter. Diameter can be 0.
 +
|-
 +
| align="left" | Owner image
 +
| align="left" | char[20]
 +
| align="left" | Id of the owner image/sliceset. Points from different slicesets can be sent if slicesets are fused.
 +
|-
 +
| colspan=3 align="center" style="background:#f0f0f0;" | ...
 +
|-
 +
| colspan=3 align="left" |SENSOR_N
 +
|-
 +
| align="left" | Name
 +
| align="left" | char[64]
 +
| align="left" | Name or description of the point
 +
|-
 +
| align="left" | Group name
 +
| align="left" | char[32]
 +
| align="left" | Can be "Labeled Point", "Landmark", "Fiducal", ...
 +
|-
 +
| align="left" | R,G,B,A
 +
| align="left" | 8 bit unsigned
 +
| align="left" | Color in RGBA
 +
|-
 +
| 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" | Owner image
 
| align="left" | Owner image
Line 40: Line 70:
  
 
==GET_POINT==
 
==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 47: Line 79:
 
|-
 
|-
 
|}
 
|}
 
  
 
==STT_POINT==
 
==STT_POINT==
Line 55: Line 86:
 
==STP_POINT==
 
==STP_POINT==
  
N / A
+
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