Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
QVTKFramebufferObjectRenderer.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 __QVTKFramebufferObjectRenderer_h
18
#define __QVTKFramebufferObjectRenderer_h
19
20
#include <QQuickFramebufferObject>
21
#include <vtkFrameBufferObject2.h>
22
23
#include "
QVTKInternalOpenglRenderWindow.h
"
24
#include "
QVTKQuickItem.h
"
25
26
#include <
MitkOpenViewCoreExports.h
>
27
28
class
MITKOPENVIEWCORE_EXPORT
QVTKFramebufferObjectRenderer
:
public
QQuickFramebufferObject::Renderer
29
{
30
public
:
31
bool
m_neverRendered
;
32
bool
m_readyToRender
;
33
vtkInternalOpenGLRenderWindow
*
m_vtkRenderWindow
;
34
vtkFrameBufferObject2*
m_vtkFBO
;
35
36
QVTKQuickItem
*
m_vtkQuickItem
;
37
38
public
:
39
QVTKFramebufferObjectRenderer
(
vtkInternalOpenGLRenderWindow
*rw);
40
~
QVTKFramebufferObjectRenderer
();
41
42
virtual
void
synchronize(QQuickFramebufferObject * item);
43
virtual
void
render();
44
45
QOpenGLFramebufferObject *createFramebufferObject(
const
QSize &size);
46
47
friend
class
vtkInternalOpenGLRenderWindow
;
48
};
49
50
#endif
MitkOpenViewCoreExports.h
QVTKFramebufferObjectRenderer::m_vtkFBO
vtkFrameBufferObject2 * m_vtkFBO
Definition:
QVTKFramebufferObjectRenderer.h:34
QVTKQuickItem
Definition:
QVTKQuickItem.h:51
QVTKFramebufferObjectRenderer::m_vtkRenderWindow
vtkInternalOpenGLRenderWindow * m_vtkRenderWindow
Definition:
QVTKFramebufferObjectRenderer.h:33
MITKOPENVIEWCORE_EXPORT
#define MITKOPENVIEWCORE_EXPORT
Definition:
MitkOpenViewCoreExports.h:15
QVTKFramebufferObjectRenderer::m_readyToRender
bool m_readyToRender
Definition:
QVTKFramebufferObjectRenderer.h:32
QVTKFramebufferObjectRenderer
Definition:
QVTKFramebufferObjectRenderer.h:28
QVTKFramebufferObjectRenderer::m_neverRendered
bool m_neverRendered
Definition:
QVTKFramebufferObjectRenderer.h:31
QVTKQuickItem.h
QVTKFramebufferObjectRenderer::m_vtkQuickItem
QVTKQuickItem * m_vtkQuickItem
Definition:
QVTKFramebufferObjectRenderer.h:36
vtkInternalOpenGLRenderWindow
Definition:
QVTKInternalOpenglRenderWindow.h:26
QVTKInternalOpenglRenderWindow.h
git
MITK
Modules
OpenViewCore
include
QVTKFramebufferObjectRenderer.h
Generated on Fri Feb 3 2017 20:52:15 for Medical Imaging Interaction Toolkit by
1.8.9.1