12 #ifndef CXREGISTRATIONSERVICEADAPTER_H
13 #define CXREGISTRATIONSERVICEADAPTER_H
21 class ctkPluginContext;
22 #include "org_custusx_registration_Export.h"
27 typedef boost::shared_ptr<class Data>
DataPtr;
47 virtual void setMovingData(
DataPtr data);
48 virtual void setFixedData(
DataPtr data);
49 virtual DataPtr getMovingData();
51 virtual void doPatientRegistration();
52 virtual void doFastRegistration_Translation();
54 virtual void doImageRegistration(
bool translationOnly);
55 virtual void addImage2ImageRegistration(
Transform3D delta_pre_rMd, QString description);
56 virtual void updateImage2ImageRegistration(
Transform3D delta_pre_rMd, QString description);
57 virtual void addPatientRegistration(
Transform3D rMpr_new, QString description);
58 virtual void updatePatientRegistration(
Transform3D rMpr_new, QString description);
61 virtual QDateTime getLastRegistrationTime();
62 virtual void setLastRegistrationTime(QDateTime time);
63 virtual bool isNull();
70 void initServiceListener();
74 ctkPluginContext *mPluginContext;
76 boost::shared_ptr<ServiceTrackerListener<RegistrationService> > mServiceListener;
80 #endif // CXREGISTRATIONSERVICEADAPTER_H