35 #include <QVBoxLayout> 36 #include <QPushButton> 37 #include <QTableWidgetItem> 38 #include <QHeaderView> 40 #include <QGridLayout> 42 #include <vtkDoubleArray.h> 69 mRegisterButton =
new QPushButton(
"Register",
this);
70 mRegisterButton->setToolTip(
"Perform registration");
71 connect(mRegisterButton, SIGNAL(clicked()),
this, SLOT(
registerSlot()));
75 QHBoxLayout* regLayout =
new QHBoxLayout;
76 regLayout->addWidget(mRegisterButton);
91 mServices->view()->setRegistrationMode(rsPATIENT_REGISTRATED);
104 if (!
mServices->registration()->getFixedData())
107 mServices->registration()->setFixedData(activeData->getActive<
Image>());
110 if (
mServices->patient()->getPatientLandmarks()->getLandmarks().size() < 3)
113 mServices->registration()->doPatientRegistration();
120 return mServices->patient()->getPatientLandmarks()->getLandmarks();
131 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.