Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkStandardViews_h_included
18 #define QmitkStandardViews_h_included
19 
21 #include "mitkCameraController.h"
22 #include "mitkCommon.h"
23 
24 #include <QWidget>
25 
26 class QClickableLabel;
27 class vtkRenderWindow;
28 
30 {
31  Q_OBJECT
32 
33 public:
34  QmitkStandardViews(QWidget *parent = 0, Qt::WindowFlags f = 0);
35 
36  virtual ~QmitkStandardViews();
37 
38  void SetCameraController(mitk::CameraController *controller);
39  void SetCameraControllerFromRenderWindow(vtkRenderWindow *window);
40 
41 signals:
42 
43  void StandardViewDefined(mitk::CameraController::StandardView view);
44 
45 protected slots:
46 
47  void hotspotClicked(const QString &s);
48 
49 protected:
51 
53 };
54 
55 #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