NorMIT-nav  22.09
An IGT application
cxPatientOrientationWidget.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 CXPATIENTORIENTATIONWIDGET_H_
13 #define CXPATIENTORIENTATIONWIDGET_H_
14 
16 #include "cxTransform3D.h"
17 #include "cxActiveToolProxy.h"
18 #include "cxPatientModelService.h"
19 
20 class QPushButton;
21 class QCheckBox;
22 
23 namespace cx
24 {
25 
36 {
37  Q_OBJECT
38 
39 public:
40  PatientOrientationWidget(RegServicesPtr services, QWidget* parent, QString objectName, QString windowTitle);
42 
43 private slots:
44  void enableToolSampleButtonSlot();
45  void setPatientOrientationSlot();
46 
47  void globalConfigurationFileChangedSlot(QString key);
48 private:
49  Transform3D get_tMtm() const;
50  QPushButton* mPatientOrientationButton;
51  QCheckBox* mInvertButton;
52 
53  ActiveToolProxyPtr mActiveToolProxy;
54 };
55 
56 }
57 #endif /* CXPATIENTORIENTATIONWIDGET_H_ */
cx::PatientOrientationWidget::PatientOrientationWidget
PatientOrientationWidget(RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle)
Definition: cxPatientOrientationWidget.cpp:27
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::ActiveToolProxyPtr
boost::shared_ptr< class ActiveToolProxy > ActiveToolProxyPtr
Definition: cxStatusBar.h:32
cx::RegistrationBaseWidget
Definition: cxRegistrationBaseWidget.h:28
cx::Transform3D
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
Definition: cxLandmarkPatientRegistrationWidget.h:33
cxPatientModelService.h
cxRegistrationBaseWidget.h
cx::RegServicesPtr
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
cxActiveToolProxy.h
cx::PatientOrientationWidget::~PatientOrientationWidget
~PatientOrientationWidget()
Definition: cxPatientOrientationWidget.cpp:50
cxTransform3D.h
cx::PatientOrientationWidget
Widget for setting reference space to current tool orientation, without changing absolute position of...
Definition: cxPatientOrientationWidget.h:35