Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkStandardViews.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkStandardViews_h
14 #define QmitkStandardViews_h
15 
17 #include "mitkCameraController.h"
18 #include "mitkCommon.h"
19 
20 #include <QWidget>
21 
22 class QClickableLabel;
23 class vtkRenderWindow;
24 
26 {
27  Q_OBJECT
28 
29 public:
30  QmitkStandardViews(QWidget *parent = nullptr, Qt::WindowFlags f = {});
31 
32  ~QmitkStandardViews() override;
33 
34  void SetCameraController(mitk::CameraController *controller);
35  void SetCameraControllerFromRenderWindow(vtkRenderWindow *window);
36 
37 signals:
38 
39  void StandardViewDefined(mitk::CameraController::StandardView view);
40 
41 protected slots:
42 
43  void hotspotClicked(const QString &s);
44 
45 protected:
47 
49 };
50 
51 #endif
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition: MitkQtWidgetsExtExports.h:15
QClickableLabel
A QLabel with multiple hotspots, that can be clicked.
Definition: qclickablelabel.h:30
itk::SmartPointer< Self >
mitkCameraController.h
QmitkStandardViews::m_ClickablePicture
QClickableLabel * m_ClickablePicture
Definition: QmitkStandardViews.h:46
mitk::CameraController::StandardView
StandardView
Definition: mitkCameraController.h:32
mitkCommon.h
mitk::CameraController
controls the camera used by the associated BaseRenderer
Definition: mitkCameraController.h:29
QmitkStandardViews
Definition: QmitkStandardViews.h:25
MitkQtWidgetsExtExports.h
QmitkStandardViews::m_CameraController
mitk::CameraController::Pointer m_CameraController
Definition: QmitkStandardViews.h:48