CustusX
16.5.0-rc9
An IGT application
|
#include <cxIGTLinkConversion.h>
Public Member Functions | |
igtl::StringMessage::Pointer | encode (QString msg) |
QString | decode (igtl::StringMessage::Pointer msg) |
QString | decode (igtl::StatusMessage::Pointer msg) |
ImagePtr | decode (igtl::ImageMessage::Pointer msg) |
Transform3D | decode (igtl::TransformMessage::Pointer msg) |
IGTLinkUSStatusMessage::Pointer | encode (ProbeDefinitionPtr) |
ProbeDefinitionPtr | decode (IGTLinkUSStatusMessage::Pointer probeMessage, igtl::ImageMessage::Pointer imageMsg, ProbeDefinitionPtr base) |
Encode and decode OpenIGTLink messages
Definition at line 63 of file cxIGTLinkConversion.h.
QString cx::IGTLinkConversion::decode | ( | igtl::StringMessage::Pointer | msg | ) |
Definition at line 59 of file cxIGTLinkConversion.cpp.
QString cx::IGTLinkConversion::decode | ( | igtl::StatusMessage::Pointer | msg | ) |
Definition at line 67 of file cxIGTLinkConversion.cpp.
ImagePtr cx::IGTLinkConversion::decode | ( | igtl::ImageMessage::Pointer | msg | ) |
Definition at line 74 of file cxIGTLinkConversion.cpp.
Transform3D cx::IGTLinkConversion::decode | ( | igtl::TransformMessage::Pointer | msg | ) |
Definition at line 80 of file cxIGTLinkConversion.cpp.
ProbeDefinitionPtr cx::IGTLinkConversion::decode | ( | IGTLinkUSStatusMessage::Pointer | probeMessage, |
igtl::ImageMessage::Pointer | imageMsg, | ||
ProbeDefinitionPtr | base | ||
) |
Decode the input probe and image messages to create a ProbeDefinition object based in the input base.
Each message contains part of the data, the parts that are missing are simply not filled in (i.e. keep the values already present in base.)
Some or all of the input messages can be NULL.
Definition at line 107 of file cxIGTLinkConversion.cpp.
igtl::StringMessage::Pointer cx::IGTLinkConversion::encode | ( | QString | msg | ) |
Definition at line 50 of file cxIGTLinkConversion.cpp.
IGTLinkUSStatusMessage::Pointer cx::IGTLinkConversion::encode | ( | ProbeDefinitionPtr | input | ) |
Encode the input ProbeDefinition into an IGTLink message.
Definition at line 90 of file cxIGTLinkConversion.cpp.