Fraxinus  18.10
An IGT application
cx::IGTLinkConversionImage Class Reference

#include <cxIGTLinkConversionImage.h>

Public Member Functions

igtl::ImageMessage::Pointer encode (ImagePtr in, PATIENT_COORDINATE_SYSTEM externalSpace)
 
ImagePtr decode (igtl::ImageMessage *in)
 

Detailed Description

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.

Member Function Documentation

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.


The documentation for this class was generated from the following files: