|
NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
|
Go to the documentation of this file.
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));
Namespace for all CustusX production code.
std::map< QString, class Landmark > LandmarkMap
One landmark, or fiducial, coordinate.
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class RegServices > RegServicesPtr
boost::shared_ptr< class ActiveData > ActiveDataPtr
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.