CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
#include <cxIGTLinkConversionImage.h>
Public Member Functions | |
igtl::ImageMessage::Pointer | encode (ImagePtr in, PATIENT_COORDINATE_SYSTEM externalSpace) |
ImagePtr | decode (igtl::ImageMessage *in) |
Convert cx::Image <–> igtl::ImageMessage
Based on the class vtkIGTLToMRMLImage from https://github.com/openigtlink/OpenIGTLinkIF.git License text can be found at the start of this file.
encode: create igtl messages decode: read from igtl messages
decode methods assume Unpack() has been called. encode methods assume Pack() will be called.
Definition at line 47 of file cxIGTLinkConversionImage.h.
ImagePtr cx::IGTLinkConversionImage::decode | ( | igtl::ImageMessage * | in | ) |
Definition at line 49 of file cxIGTLinkConversionImage.cpp.
igtl::ImageMessage::Pointer cx::IGTLinkConversionImage::encode | ( | ImagePtr | in, |
PATIENT_COORDINATE_SYSTEM | externalSpace | ||
) |
Definition at line 37 of file cxIGTLinkConversionImage.cpp.