Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxToolManualCalibrationWidget.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 #ifndef CXTOOLMANUALCALIBRATIONWIDGET_H_
12 #define CXTOOLMANUALCALIBRATIONWIDGET_H_
13 
14 #include "org_custusx_calibration_Export.h"
15 
16 #include "cxBaseWidget.h"
17 #include "cxTransform3DWidget.h"
18 #include "cxForwardDeclarations.h"
19 
20 namespace cx
21 {
22 typedef boost::shared_ptr<class VisServices> VisServicesPtr;
23 typedef boost::shared_ptr<class StringPropertySelectTool> StringPropertySelectToolPtr;
33 class org_custusx_calibration_EXPORT ToolManualCalibrationWidget : public BaseWidget
34 {
35  Q_OBJECT
36 
37 public:
38  ToolManualCalibrationWidget(VisServicesPtr services, QWidget* parent);
40 
41 private slots:
42  void toolCalibrationChanged();
43  void matrixWidgetChanged();
44 
45 private:
46  ToolPtr getTool();
47  QGroupBox* mGroup;
48  Transform3DWidget* mMatrixWidget;
49  StringPropertySelectToolPtr mTool;
50  VisServicesPtr mServices;
51 };
52 
53 
57 }
58 
59 #endif /* CXTOOLMANUALCALIBRATIONWIDGET_H_ */
Widget for displaying and manipulating an affine matrix, i.e. a rotation+translation matrix...
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
boost::shared_ptr< class StringPropertySelectTool > StringPropertySelectToolPtr
Interface for QWidget which handles widgets uniformly for the system.
Definition: cxBaseWidget.h:88
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr