14 #include <QVBoxLayout> 15 #include <QPushButton> 16 #include <QTableWidgetItem> 17 #include <QHeaderView> 19 #include <QGridLayout> 21 #include <vtkDoubleArray.h> 48 mRegisterButton =
new QPushButton(
"Register",
this);
49 mRegisterButton->setToolTip(
"Perform registration");
50 connect(mRegisterButton, SIGNAL(clicked()),
this, SLOT(
registerSlot()));
54 QHBoxLayout* regLayout =
new QHBoxLayout;
55 regLayout->addWidget(mRegisterButton);
70 mServices->view()->setRegistrationMode(rsPATIENT_REGISTRATED);
83 if (!
mServices->registration()->getFixedData())
86 mServices->registration()->setFixedData(activeData->getActive<
Image>());
89 if (
mServices->patient()->getPatientLandmarks()->getLandmarks().size() < 3)
92 mServices->registration()->doPatientRegistration();
99 return mServices->patient()->getPatientLandmarks()->getLandmarks();
110 mServices->patient()->getPatientLandmarks()->setLandmark(
Landmark(uid, p_target));
One landmark, or fiducial, coordinate.
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class ActiveData > ActiveDataPtr
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.