46 #ifndef CXIGTLINKCONVERSIONIMAGE_H 47 #define CXIGTLINKCONVERSIONIMAGE_H 49 #include "igtlImageMessage.h" 51 #include "cxOpenIGTLinkUtilitiesExport.h" 71 igtl::ImageMessage::Pointer encode(
ImagePtr in, PATIENT_COORDINATE_SYSTEM externalSpace);
72 ImagePtr decode(igtl::ImageMessage *in);
76 void decode_rMd(igtl::ImageMessage* msg,
ImagePtr out);
78 void encode_rMd(
ImagePtr image, igtl::ImageMessage *outmsg, PATIENT_COORDINATE_SYSTEM externalSpace);
79 void encode_vtkImageData(
vtkImageDataPtr in, igtl::ImageMessage *outmsg);
82 int IGTLToVTKScalarType(
int igtlType);
84 void setMatrix(igtl::ImageMessage *msg,
Transform3D matrix);
85 int getIgtlCoordinateSystem(PATIENT_COORDINATE_SYSTEM space)
const;
86 PATIENT_COORDINATE_SYSTEM getPatientCoordinateSystem(
int igtlSpace)
const;
91 #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.