NorMIT-nav  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;
50  VisServicesPtr mServices;
51 };
52 
53 
57 }
58 
59 #endif /* CXTOOLMANUALCALIBRATIONWIDGET_H_ */
cx::Transform3DWidget
Widget for displaying and manipulating an affine matrix, i.e. a rotation+translation matrix.
Definition: cxTransform3DWidget.h:38
cxBaseWidget.h
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::BaseWidget
Interface for QWidget which handles widgets uniformly for the system.
Definition: cxBaseWidget.h:88
cxForwardDeclarations.h
cx::VisServicesPtr
boost::shared_ptr< class VisServices > VisServicesPtr
Definition: cxMainWindow.h:40
cxTransform3DWidget.h
cx::ToolManualCalibrationWidget
Definition: cxToolManualCalibrationWidget.h:33
cx::ToolManualCalibrationWidget::~ToolManualCalibrationWidget
virtual ~ToolManualCalibrationWidget()
Definition: cxToolManualCalibrationWidget.h:39
cx::ToolPtr
boost::shared_ptr< class Tool > ToolPtr
Definition: cxVideoConnectionWidget.h:43
cx::StringPropertySelectToolPtr
boost::shared_ptr< class StringPropertySelectTool > StringPropertySelectToolPtr
Definition: cxClipperWidget.h:27