Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkRenderingManager.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 QmitkRenderingManager_h
14 #define QmitkRenderingManager_h
15 
16 #include <MitkQtWidgetsExports.h>
17 
18 #include "mitkRenderingManager.h"
19 #include <QEvent>
20 #include <QObject>
21 
22 class QmitkRenderingManagerInternal;
24 
39 {
40  Q_OBJECT
41 
42 public:
44  ~QmitkRenderingManager() override;
45 
46  void DoMonitorRendering() override;
47  void DoFinishAbortRendering() override;
48 
49  bool event(QEvent *event) override;
50 
51 protected:
52  itkFactorylessNewMacro(Self);
53 
55 
56  void GenerateRenderingRequestEvent() override;
57 
58  void StartOrResetTimer() override;
59 
61 
62 protected slots:
63 
64  void TimerCallback();
65 
66 private:
68 };
69 
70 class QmitkRenderingRequestEvent : public QEvent
71 {
72 public:
73  enum Type
74  {
75  RenderingRequest = QEvent::MaxUser - 1024
76  };
77 
79 };
80 
81 #endif
QmitkRenderingManager::pendingTimerCallbacks
int pendingTimerCallbacks
Definition: QmitkRenderingManager.h:60
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
QmitkRenderingManager
Qt specific implementation of mitk::RenderingManager.
Definition: QmitkRenderingManager.h:38
QmitkRenderingManagerFactory
Qt specific implementation of mitk::RenderingManagerFactory.
Definition: QmitkRenderingManagerFactory.h:31
QmitkRenderingRequestEvent
Definition: QmitkRenderingManager.h:70
QmitkRenderingRequestEvent::QmitkRenderingRequestEvent
QmitkRenderingRequestEvent()
Definition: QmitkRenderingManager.h:78
mitk::RenderingManager
Manager for coordinating the rendering process.
Definition: mitkRenderingManager.h:74
mitk::RenderingManager::DoFinishAbortRendering
virtual void DoFinishAbortRendering()
Definition: mitkRenderingManager.h:308
mitk::RenderingManager::StartOrResetTimer
virtual void StartOrResetTimer()
Definition: mitkRenderingManager.h:301
QmitkRenderingRequestEvent::RenderingRequest
@ RenderingRequest
Definition: QmitkRenderingManager.h:75
QmitkRenderingRequestEvent::Type
Type
Definition: QmitkRenderingManager.h:73
MitkQtWidgetsExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkRenderingManager.h
mitk::RenderingManager::GenerateRenderingRequestEvent
virtual void GenerateRenderingRequestEvent()=0
mitk::RenderingManager::DoMonitorRendering
virtual void DoMonitorRendering()
Definition: mitkRenderingManager.h:307