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

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" …')
 
 
(6 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 TRAJECTORY message type support to transfer information about 3D trajectory, which is often used in surgical planning and guidance in image-guided therapy.
  
 
=Message Types=
 
=Message Types=
==XXXX==
+
==TRAJ==
 
 
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
|-
 
|-
Line 13: Line 12:
 
| align="left style="background:#e0e0e0;" | Description
 
| align="left style="background:#e0e0e0;" | Description
 
|-
 
|-
| align="left" | V1
+
| align="left" | Name
| align="left" | unsigned short
+
| align="left" | char[64]
| align="left" | Value 1
+
| align="left" | Name or description of the trajectory.
 
|-
 
|-
| align="left" | V2
+
| align="left" | Group name
| align="left" | 8bit unsigned int
+
| align="left" | char[32]
| align="left" | Value 2
+
| align="left" | Can be "Trajectory", ...
 
|-
 
|-
| align="left" | ...
+
| align="left" | Type
| align="left" | ...
+
| align="left" | 8 bit unsigned
| align="left" | ...
+
| align="left" | 1: trajectory with only entry point, 2: trajectory with only target point, 3: trajectory with entry and target point
 
|-
 
|-
|}
+
| align="left" | --
 
+
| align="left" | 8 bit unsigned
 
+
| align="left" | Reserved
==GET_XXXX==
+
|-
{| border="1" cellpadding="5" cellspacing="0" align="center"
+
| align="left" | R,G,B,A
 +
| align="left" | 8 bit unsigned
 +
| align="left" | Color in RGBA
 
|-
 
|-
| align="left style="background:#e0e0e0;" | Data
+
| align="left" | X1,Y1,Z1
| align="left style="background:#e0e0e0;" | Type
+
| align="left" | 32 bit float
| align="left style="background:#e0e0e0;" | Description
+
| align="left" | Entry point of the trajectory
 
|-
 
|-
| align="left" | V1
+
| align="left" | X2,Y2,Z2
| align="left" | unsigned short
+
| align="left" | 32 bit float
| align="left" | Value 1
+
| align="left" | Target point of a trajectory
 
|-
 
|-
| align="left" | V2
+
| align="left" | Diameter
| align="left" | 8bit unsigned int
+
| align="left" | 32 bit float
| align="left" | Value 2
+
| align="left" | Diameter of trajectory, 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. Trajectories  from different slicesets can be sent if slicesets are fused.
 
|-
 
|-
 
|}
 
|}
  
  
==STT_XXXX==
+
==GET_TRAJ==
  
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
 
{| border="1" cellpadding="5" cellspacing="0" align="center"
Line 57: Line 58:
 
| 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" | ...
 
 
|-
 
|-
 
|}
 
|}
  
==STP_XXXX==
 
  
 +
==STT_TRAJ==
 +
 +
N/A
  
{| border="1" cellpadding="5" cellspacing="0" align="center"
+
==STP_TRAJ==
|-
+
 
| align="left style="background:#e0e0e0;" | Data
+
N/A
| align="left style="background:#e0e0e0;" | Type
 
| 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" | ...
 
|-
 
|}
 
  
 
=Implementations=
 
=Implementations=
XXX message type is implemented in the following source code.
+
TRAJECTORY 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/igtlTrajectoryMessage.h igtlTrajectoryMessage.h]
*igtlXXXXMessage.cxx (link to the file in subversion repository, if available)
+
*[http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlTrajectoryMessage.cxx igtlTrajectoryMessage.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 < Trajectory

<< Version 2 Index Page

Summary

The TRAJECTORY message type support to transfer information about 3D trajectory, which is often used in surgical planning and guidance in image-guided therapy.

Message Types

TRAJ

Data Type Description
Name char[64] Name or description of the trajectory.
Group name char[32] Can be "Trajectory", ...
Type 8 bit unsigned 1: trajectory with only entry point, 2: trajectory with only target point, 3: trajectory with entry and target point
-- 8 bit unsigned Reserved
R,G,B,A 8 bit unsigned Color in RGBA
X1,Y1,Z1 32 bit float Entry point of the trajectory
X2,Y2,Z2 32 bit float Target point of a trajectory
Diameter 32 bit float Diameter of trajectory, can be 0
Owner image char[20] Id of the owner image/sliceset. Trajectories from different slicesets can be sent if slicesets are fused.


GET_TRAJ

Data Type Description


STT_TRAJ

N/A

STP_TRAJ

N/A

Implementations

TRAJECTORY message type is implemented in the following source code.

Contributors

Alexander Schaal

Comments