Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QVTKInternalOpenglRenderWindow.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 __vtkInternalOpenGLRenderWindow_h
18 #define __vtkInternalOpenGLRenderWindow_h
19 
20 #include <vtkGenericOpenGLRenderWindow.h>
21 #include <qopenglframebufferobject.h>
22 #include <QOpenGLFunctions>
23 
25 
26 class vtkInternalOpenGLRenderWindow : public vtkGenericOpenGLRenderWindow
27 {
28 public:
30  vtkTypeMacro(vtkInternalOpenGLRenderWindow, vtkGenericOpenGLRenderWindow)
31 
32  virtual void OpenGLInitState();
33  virtual void Render();
34  void OpenGLEndState();
35  void InternalRender();
36  void SetFramebufferObject(QOpenGLFramebufferObject *fbo);
37 
39 
40 protected:
43 };
44 
45 #endif
QVTKFramebufferObjectRenderer * QtParentRenderer
vtkTypeMacro(vtkInternalOpenGLRenderWindow, vtkGenericOpenGLRenderWindow) virtual void OpenGLInitState()
static vtkInternalOpenGLRenderWindow * New()
void SetFramebufferObject(QOpenGLFramebufferObject *fbo)