Fraxinus  2023.01.05-dev+develop.0da12
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_ */
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class RegServices > RegServicesPtr
Definition: cxRegServices.h:20
boost::shared_ptr< class ActiveToolProxy > ActiveToolProxyPtr
Definition: cxStatusBar.h:32
Widget for setting reference space to current tool orientation, without changing absolute position of...
PatientOrientationWidget(RegServicesPtr services, QWidget *parent, QString objectName, QString windowTitle)
Namespace for all CustusX production code.