11 #ifndef CXIGTLINKCONVERSIONSONIXCXLEGACY_H
12 #define CXIGTLINKCONVERSIONSONIXCXLEGACY_H
15 #include "igtlStringMessage.h"
16 #include "igtlStatusMessage.h"
17 #include "igtlImageMessage.h"
18 #include "igtlTransformMessage.h"
26 #include "cxOpenIGTLinkUtilitiesExport.h"
38 igtl::ImageMessage::Pointer encode(
ImagePtr image);
45 ImagePtr decode(igtl::ImageMessage::Pointer msg);
62 bool guessIsSonixLegacyFormat(QString deviceName);
68 QString extractColorFormat(QString deviceName, QString* cleanedDeviceName);
84 #endif // CXIGTLINKCONVERSIONSONIXCXLEGACY_H