CustusX  2021.09.21-dev+develop.e3cd0
An IGT application
cxFastPatientRegistrationWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 
12 #ifndef CXFASTPATIENTREGISTRATIONWIDGET_H_
13 #define CXFASTPATIENTREGISTRATIONWIDGET_H_
14 
16 #include "org_custusx_registration_method_landmark_Export.h"
17 #include <QCheckBox>
18 
19 class QTableWidgetItem;
20 
21 namespace cx
22 {
38 class org_custusx_registration_method_landmark_EXPORT FastPatientRegistrationWidget : public PatientLandMarksWidget
39 {
40  Q_OBJECT
41 public:
42  FastPatientRegistrationWidget(RegServicesPtr services, QWidget* parent);
44 
45 protected:
46  virtual void showEvent(QShowEvent *event);
47  virtual void hideEvent(QHideEvent *event);
48 
49  QCheckBox* mMouseClickSample;
50 
51 protected slots:
52  void mouseClickSampleStateChanged();
53  virtual void pointSampled(Vector3D p_r);
54 private:
55  virtual void performRegistration();
56  QTableWidgetItem * getLandmarkTableItem();
57 };
58 
62 }
63 #endif /* CXFASTPATIENTREGISTRATIONWIDGET_H_ */
Widget used as a tab in the ContexDockWidget for patient registration.
Widget for performing a fast and aprox landmark based patient registration, using only the matrix tra...
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition: cxVector3D.h:42
Namespace for all CustusX production code.