Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxOperatingTableWidget.h
Go to the documentation of this file.
1 #ifndef CXOPERATINGTABLEWIDGET_H
2 #define CXOPERATINGTABLEWIDGET_H
3 
4 #include "cxPreferenceTab.h"
5 #include "cxCoreServices.h"
6 #include "cxVector3D.h"
7 
8 namespace cx
9 {
11 typedef boost::shared_ptr<class Vector3DProperty> Vector3DPropertyPtr;
12 
13 
17 class cxGui_EXPORT OperatingTableWidget : public QWidget
18 {
19  Q_OBJECT
20 public:
21  OperatingTableWidget(CoreServicesPtr services, QWidget* parent=NULL);
22  virtual ~OperatingTableWidget() {}
23 
24  void showEvent(QShowEvent *event);
25 
26 private:
27  void matrixWidgetChanged();
28  void backendChanged();
29 
30  QVBoxLayout* mVerticalLayout;
31  CoreServicesPtr mServices;
32  QLabel* mLabel;
33  Transform3DWidget* mMatrixWidget;
34  Vector3DPropertyPtr mTableUp;
35 
36  void onDefineDownWithTool();
37  void setNewUp(Vector3D newUp);
38  void onDefinePatientAnteriorUp();
39  void onDefinePatientPosteriorUp();
40  void onDefinePatientSuperiorUp();
41 };
42 
43 
44 } /* namespace cx */
45 
46 
47 #endif // CXOPERATINGTABLEWIDGET_H
Widget for displaying and manipulating an affine matrix, i.e. a rotation+translation matrix...
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
Definition: cxVector3D.h:42
boost::shared_ptr< class Vector3DProperty > Vector3DPropertyPtr
boost::shared_ptr< class CoreServices > CoreServicesPtr
Definition: cxCameraStyle.h:37
Namespace for all CustusX production code.