14 #include <QTableWidget> 23 "org_custusx_registration_method_fast_landmark_image_to_patient_patient_landmarks_widget",
24 "Fast Patient Registration"),
25 mMouseClickSample(NULL)
27 mMouseClickSample =
new QCheckBox(
"Sample with mouse clicks in anyplane view.",
this);
28 mMouseClickSample->setToolTip(
"Allow mouse clicks in 2D anyplane view to sample patient landmarks.");
37 void FastPatientRegistrationWidget::performRegistration()
39 mServices->registration()->doFastRegistration_Translation();
51 QTableWidgetItem * FastPatientRegistrationWidget::getLandmarkTableItem()
71 QTableWidgetItem* item = getLandmarkTableItem();
74 CX_LOG_WARNING() <<
"FastPatientRegistrationWidget::pointSampled() Cannot get item from mLandmarkTableWidget";
77 QString uid = item->data(Qt::UserRole).toString();
80 Vector3D p_target = rMtarget.inv().coord(p_r);
83 this->performRegistration();
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
void pointSampled(Vector3D p_r)
boost::shared_ptr< class RegServices > RegServicesPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Namespace for all CustusX production code.