Difference between revisions of "OpenIGTLink/ProtocolV2/Type/Trajectory"
From NAMIC Wiki
(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/ | + | [[OpenIGTLink/ProtocolV2/Index | << Version 2 Index Page]] |
=Summary= | =Summary= | ||
− | The | + | 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= | ||
− | == | + | ==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" | | + | | align="left" | Name |
− | | align="left" | | + | | align="left" | char[64] |
− | | align="left" | | + | | align="left" | Name or description of the trajectory. |
|- | |- | ||
− | | align="left" | | + | | align="left" | Group name |
− | | align="left" | | + | | align="left" | char[32] |
− | | align="left" | | + | | 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 | |
− | = | + | |- |
− | + | | align="left" | R,G,B,A | |
+ | | align="left" | 8 bit unsigned | ||
+ | | align="left" | Color in RGBA | ||
|- | |- | ||
− | | align="left | + | | align="left" | X1,Y1,Z1 |
− | | align="left | + | | align="left" | 32 bit float |
− | | align="left | + | | align="left" | Entry point of the trajectory |
|- | |- | ||
− | | align="left" | | + | | align="left" | X2,Y2,Z2 |
− | | align="left" | | + | | align="left" | 32 bit float |
− | | align="left" | | + | | align="left" | Target point of a trajectory |
|- | |- | ||
− | | align="left" | | + | | align="left" | Diameter |
− | | align="left" | | + | | align="left" | 32 bit float |
− | | align="left" | | + | | 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. |
|- | |- | ||
|} | |} | ||
− | == | + | ==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 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|} | |} | ||
− | |||
+ | ==STT_TRAJ== | ||
+ | |||
+ | N/A | ||
− | + | ==STP_TRAJ== | |
− | + | ||
− | + | N/A | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=Implementations= | =Implementations= | ||
− | + | TRAJECTORY message type is implemented in the following source code. | |
− | * | + | *[http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlTrajectoryMessage.h igtlTrajectoryMessage.h] |
− | * | + | *[http://svn.na-mic.org/NAMICSandBox/trunk/OpenIGTLink/Source/igtlTrajectoryMessage.cxx igtlTrajectoryMessage.cxx] |
=Contributors= | =Contributors= | ||
− | + | Alexander Schaal | |
=Comments= | =Comments= | ||
− |
Latest revision as of 04:43, 30 November 2011
Home < OpenIGTLink < ProtocolV2 < Type < TrajectoryContents
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