11 #ifndef CXLANDMARKREGISTRATIONWIDGET_H_ 12 #define CXLANDMARKREGISTRATIONWIDGET_H_ 14 #include "org_custusx_registration_method_landmarkExport.h" 50 QString windowTitle,
bool showAccuracy =
true);
54 virtual void cellClickedSlot(
int row,
int column);
56 void cellChangedSlot(
int row,
int column);
57 void landmarkUpdatedSlot();
58 void updateAverageAccuracyLabel();
61 virtual void showEvent(QShowEvent* event);
62 virtual void hideEvent(QHideEvent* event);
63 virtual void prePaintEvent();
64 virtual LandmarkMap getTargetLandmarks()
const = 0;
65 virtual void performRegistration() = 0;
67 virtual void setTargetLandmark(QString uid,
Vector3D p_target) = 0;
68 virtual QString getTargetName()
const = 0;
69 void setManualToolPosition(
Vector3D p_r);
70 QString getNextLandmark();
71 void activateLandmark(QString uid);
73 std::vector<Landmark> getAllLandmarks()
const;
74 QString getLandmarkName(QString uid);
75 double getAccuracy(QString uid);
76 double getAverageAccuracy();
90 bool isAverageAccuracyValid();
91 double getAverageAccuracy(
int &numActiveLandmarks);
boost::shared_ptr< class LandmarkListener > LandmarkListenerPtr
boost::shared_ptr< class RegistrationManager > RegistrationManagerPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class RegServices > RegServicesPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
std::map< QString, class Landmark > LandmarkMap
Namespace for all CustusX production code.