33 #ifndef CXREGISTRATIONSERVICE_H
34 #define CXREGISTRATIONSERVICE_H
36 #include "cxResourceExport.h"
37 #include "org_custusx_registration_Export.h"
40 #include <boost/shared_ptr.hpp>
47 typedef boost::shared_ptr<class Data>
DataPtr;
50 #define RegistrationService_iid "cx::RegistrationService"
54 class RegistrationTransform;
72 virtual void setMovingData(
DataPtr data) = 0;
73 virtual void setFixedData(
DataPtr data) = 0;
74 virtual DataPtr getMovingData() = 0;
75 virtual DataPtr getFixedData() = 0;
77 virtual void doPatientRegistration() = 0;
78 virtual void doFastRegistration_Translation() = 0;
80 virtual void doImageRegistration(
bool translationOnly) = 0;
81 virtual void applyImage2ImageRegistration(
Transform3D delta_pre_rMd, QString description) = 0;
82 virtual void applyPatientRegistration(
Transform3D rMpr_new, QString description) = 0;
85 virtual QDateTime getLastRegistrationTime() = 0;
86 virtual void setLastRegistrationTime(QDateTime time) = 0;
88 virtual bool isNull() = 0;
92 QString getFixedDataUid();
93 QString getMovingDataUid();
96 void fixedDataChanged(QString uid);
97 void movingDataChanged(QString uid);
104 #endif // CXREGISTRATIONSERVICE_H
boost::shared_ptr< class RegistrationService > RegistrationServicePtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class Data > DataPtr
virtual ~RegistrationService()
#define RegistrationService_iid