12 #ifndef CXREGISTRATIONSERVICE_H 13 #define CXREGISTRATIONSERVICE_H 15 #include "cxResourceExport.h" 16 #include "org_custusx_registration_Export.h" 19 #include <boost/shared_ptr.hpp> 26 typedef boost::shared_ptr<class Data>
DataPtr;
29 #define RegistrationService_iid "cx::RegistrationService" 33 class RegistrationTransform;
51 virtual void setMovingData(
DataPtr data) = 0;
52 virtual void setFixedData(
DataPtr data) = 0;
53 virtual DataPtr getMovingData() = 0;
54 virtual DataPtr getFixedData() = 0;
56 virtual void doPatientRegistration() = 0;
57 virtual void doFastRegistration_Translation() = 0;
59 virtual void doImageRegistration(
bool translationOnly) = 0;
60 virtual void addImage2ImageRegistration(
Transform3D delta_pre_rMd, QString description) = 0;
61 virtual void updateImage2ImageRegistration(
Transform3D delta_pre_rMd, QString description) = 0;
62 virtual void addPatientRegistration(
Transform3D rMpr_new, QString description) = 0;
63 virtual void updatePatientRegistration(
Transform3D rMpr_new, QString description) = 0;
66 virtual QDateTime getLastRegistrationTime() = 0;
67 virtual void setLastRegistrationTime(QDateTime time) = 0;
69 virtual bool isNull() = 0;
70 static RegistrationServicePtr getNullObject();
73 QString getFixedDataUid();
74 QString getMovingDataUid();
77 void fixedDataChanged(QString uid);
78 void movingDataChanged(QString uid);
85 #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
Namespace for all CustusX production code.