Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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_included
14 #define QmitkStandardViews_h_included
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 = nullptr);
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
mitk::CameraController::Pointer m_CameraController
#define MITKQTWIDGETSEXT_EXPORT
A QLabel with multiple hotspots, that can be clicked.
QClickableLabel * m_ClickablePicture
controls the camera used by the associated BaseRenderer