Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
QmitkSelectableGLWidget.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 QMITKSELECTABLEGLWIDGET_H
18 #define QMITKSELECTABLEGLWIDGET_H
19 
21 #include "mitkCommon.h"
23 #include "mitkVtkPropRenderer.h"
24 #include "ui_QmitkSelectableGLWidget.h"
26 
27 #include <mitkCommon.h>
28 
29 #include <QWidget>
30 
31 class QmitkRenderWindow;
32 
34 {
35  Q_OBJECT
36 
37 public:
38  QmitkSelectableGLWidget(QWidget *parent = 0);
40  mitk::VtkPropRenderer *GetRenderer();
41  QmitkRenderWindow *GetRenderWindow() const;
42  mitk::SliceNavigationController *GetSliceNavigationController() const;
43  mitk::CameraRotationController *GetCameraRotationController() const;
44  mitk::BaseController *GetController() const;
45 
46 protected:
47  void wheelEvent(QWheelEvent *e) override;
50 
51 private:
52  Ui::QmitkSelectableGLWidget *m_Ui;
53 };
54 
55 #endif
QmitkRenderWindow * m_RenderWindow
Baseclass for renderer slice-/camera-control.
#define MITKQTWIDGETSEXT_EXPORT
Controls the selection of the slice the associated BaseRenderer will display.
MITK implementation of the QVTKWidget.
mitk::VtkPropRenderer::Pointer m_Renderer