35 #include <QTableWidget>
44 "org_custusx_registration_method_fast_landmark_image_to_patient_patient_landmarks_widget",
45 "Fast Patient Registration"),
46 mMouseClickSample(NULL)
48 mMouseClickSample =
new QCheckBox(
"Sample with mouse clicks in anyplane view.",
this);
49 mMouseClickSample->setToolTip(
"Allow mouse clicks in 2D anyplane view to sample patient landmarks.");
58 void FastPatientRegistrationWidget::performRegistration()
60 mServices->registration()->doFastRegistration_Translation();
72 QTableWidgetItem * FastPatientRegistrationWidget::getLandmarkTableItem()
92 QTableWidgetItem* item = getLandmarkTableItem();
95 CX_LOG_WARNING() <<
"FastPatientRegistrationWidget::pointSampled() Cannot get item from mLandmarkTableWidget";
98 QString uid = item->data(Qt::UserRole).toString();
101 Vector3D p_target = rMtarget.inv().coord(p_r);
104 this->performRegistration();
boost::shared_ptr< class RegServices > RegServicesPtr
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
void pointSampled(Vector3D p_r)
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.