32 #ifndef CXLANDMARKREGISTRATIONWIDGET_H_ 33 #define CXLANDMARKREGISTRATIONWIDGET_H_ 35 #include "org_custusx_registration_method_landmarkExport.h" 71 QString windowTitle,
bool showAccuracy =
true);
75 virtual void cellClickedSlot(
int row,
int column);
77 void cellChangedSlot(
int row,
int column);
78 void landmarkUpdatedSlot();
79 void updateAverageAccuracyLabel();
82 virtual void showEvent(QShowEvent* event);
83 virtual void hideEvent(QHideEvent* event);
84 virtual void prePaintEvent();
85 virtual LandmarkMap getTargetLandmarks()
const = 0;
86 virtual void performRegistration() = 0;
88 virtual void setTargetLandmark(QString uid,
Vector3D p_target) = 0;
89 virtual QString getTargetName()
const = 0;
90 void setManualToolPosition(
Vector3D p_r);
91 QString getNextLandmark();
92 void activateLandmark(QString uid);
94 std::vector<Landmark> getAllLandmarks()
const;
95 QString getLandmarkName(QString uid);
96 double getAccuracy(QString uid);
97 double getAverageAccuracy();
111 bool isAverageAccuracyValid();
112 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.