Fraxinus  18.10
An IGT application
cxFastOrientationRegistrationWidget.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 CXFASTORIENTATIONREGISTRATIONWIDGET_H_
13 #define CXFASTORIENTATIONREGISTRATIONWIDGET_H_
14 
16 #include "cxForwardDeclarations.h"
17 #include "cxTransform3D.h"
18 #include "cxActiveToolProxy.h"
19 
20 class QPushButton;
21 class QCheckBox;
22 
23 namespace cx
24 {
41 {
42  Q_OBJECT
43 
44 public:
45  FastOrientationRegistrationWidget(RegServicesPtr services, QWidget* parent);
47 
48 protected:
49  virtual void showEvent(QShowEvent* event);
50  virtual void hideEvent(QHideEvent* event);
51 
52 private slots:
53  void setOrientationSlot();
54  void enableToolSampleButtonSlot();
55  void globalConfigurationFileChangedSlot(QString key);
56 private:
57  Transform3D get_tMtm() const;
58  QPushButton* mSetOrientationButton;
59  QCheckBox* mInvertButton;
60  ActiveToolProxyPtr mActiveToolProxy;
61 };
62 
66 }
67 #endif /* CXFASTORIENTATIONREGISTRATIONWIDGET_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 registrating the orientation part of a fast registration.
FastOrientationRegistrationWidget(RegServicesPtr services, QWidget *parent)
Namespace for all CustusX production code.