Medical Imaging Interaction Toolkit  2025.12.02
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 
35  void SetCameraControllerFromRenderWindow(vtkRenderWindow *window);
36 
37 signals:
38 
40 
41 protected slots:
42 
43  void hotspotClicked(const QString &s);
44 
45 protected:
47 
49 };
50 
51 #endif
#define MITKQTWIDGETSEXT_EXPORT
A QLabel with multiple hotspots, that can be clicked.
void SetCameraControllerFromRenderWindow(vtkRenderWindow *window)
mitk::CameraController::Pointer m_CameraController
QClickableLabel * m_ClickablePicture
void hotspotClicked(const QString &s)
QmitkStandardViews(QWidget *parent=nullptr, Qt::WindowFlags f={})
void StandardViewDefined(mitk::CameraController::StandardView view)
~QmitkStandardViews() override
void SetCameraController(mitk::CameraController *controller)
controls the camera used by the associated BaseRenderer