11 #ifndef CXLANDMARKREGISTRATIONWIDGET_H_ 12 #define CXLANDMARKREGISTRATIONWIDGET_H_ 14 #include "org_custusx_registration_method_landmarkExport.h" 27 class QTableWidgetItem;
51 QString windowTitle,
bool showAccuracy =
true);
55 virtual void cellClickedSlot(
int row,
int column);
57 void cellChangedSlot(
int row,
int column);
58 void landmarkUpdatedSlot();
59 void updateAverageAccuracyLabel();
60 void mouseClickSampleStateChanged();
64 virtual void showEvent(QShowEvent* event);
65 virtual void hideEvent(QHideEvent* event);
66 virtual void prePaintEvent();
67 virtual LandmarkMap getTargetLandmarks()
const = 0;
68 virtual void performRegistration() = 0;
70 virtual void setTargetLandmark(QString uid,
Vector3D p_target) = 0;
71 virtual QString getTargetName()
const = 0;
72 void setManualToolPosition(
Vector3D p_r);
73 QString getNextLandmark();
74 void activateLandmark(QString uid);
75 void selectFirstLandmarkIfUnselected();
77 std::vector<Landmark> getAllLandmarks()
const;
78 QString getLandmarkName(QString uid);
79 double getAccuracy(QString uid);
80 double getAverageAccuracy();
81 QTableWidgetItem * getLandmarkTableItem();
97 bool isAverageAccuracyValid();
98 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.