25 #ifndef CXIGTLINKCONVERSIONIMAGE_H 26 #define CXIGTLINKCONVERSIONIMAGE_H 28 #include "igtlImageMessage.h" 30 #include "cxOpenIGTLinkUtilitiesExport.h" 50 igtl::ImageMessage::Pointer encode(
ImagePtr in, PATIENT_COORDINATE_SYSTEM externalSpace);
51 ImagePtr decode(igtl::ImageMessage *in);
55 void decode_rMd(igtl::ImageMessage* msg,
ImagePtr out);
57 void encode_rMd(
ImagePtr image, igtl::ImageMessage *outmsg, PATIENT_COORDINATE_SYSTEM externalSpace);
58 void encode_vtkImageData(
vtkImageDataPtr in, igtl::ImageMessage *outmsg);
61 int IGTLToVTKScalarType(
int igtlType);
63 void setMatrix(igtl::ImageMessage *msg,
Transform3D matrix);
64 int getIgtlCoordinateSystem(PATIENT_COORDINATE_SYSTEM space)
const;
65 PATIENT_COORDINATE_SYSTEM getPatientCoordinateSystem(
int igtlSpace)
const;
70 #endif // CXIGTLINKCONVERSIONIMAGE_H Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class Image > ImagePtr
Namespace for all CustusX production code.