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 addImage2ImageRegistration(
Transform3D delta_pre_rMd, QString description) = 0;
82 virtual void updateImage2ImageRegistration(
Transform3D delta_pre_rMd, QString description) = 0;
83 virtual void addPatientRegistration(
Transform3D rMpr_new, QString description) = 0;
84 virtual void updatePatientRegistration(
Transform3D rMpr_new, QString description) = 0;
87 virtual QDateTime getLastRegistrationTime() = 0;
88 virtual void setLastRegistrationTime(QDateTime time) = 0;
90 virtual bool isNull() = 0;
91 static RegistrationServicePtr getNullObject();
94 QString getFixedDataUid();
95 QString getMovingDataUid();
98 void fixedDataChanged(QString uid);
99 void movingDataChanged(QString uid);
106 #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.