Fraxinus
16.5.0-fx-rc8
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 68 of file cxIGTLinkConversionImage.h.
ImagePtr cx::IGTLinkConversionImage::decode | ( | igtl::ImageMessage * | in | ) |
Definition at line 70 of file cxIGTLinkConversionImage.cpp.
igtl::ImageMessage::Pointer cx::IGTLinkConversionImage::encode | ( | ImagePtr | in, |
PATIENT_COORDINATE_SYSTEM | externalSpace | ||
) |
Definition at line 58 of file cxIGTLinkConversionImage.cpp.