-
Notifications
You must be signed in to change notification settings - Fork 2
/
QVTKOpenGLWindow.h
40 lines (33 loc) · 917 Bytes
/
QVTKOpenGLWindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef _VTK_QVTKOPENGL_MAINWINDOW_H
#define _VTK_QVTKOPENGL_MAINWINDOW_H
// Visualization Toolkit (VTK)
#include <vtkRenderWindow.h>
#include <vtkRenderer.h>
#include <vtkRendererCollection.h>
#include <vtkGenericOpenGLRenderWindow.h>
#include <vtkCylinderSource.h>
#include <vtkRegularPolygonSource.h>
#include <vtkPolyDataMapper.h>
#include <vtkSmartPointer.h>
#include <vtkMapper.h>
#include <vtkActor.h>
#include <QVTKOpenGLWidget.h>
#include <QVTKWidget.h>
#include <QVTKInteractorAdapter.h>
// Qt Library
#include <QWidget>
#include <QSemaphore>
#include <QSurfaceFormat>
#include <QDebug>
#include <QWidget>
#include <QSemaphore>
#include <QMainWindow>
#include <QLabel>
class QVTKOpenGLWindow : public QVTKOpenGLWidget
{
Q_OBJECT
vtkSmartPointer<vtkGenericOpenGLRenderWindow> renderWindow;
public:
explicit QVTKOpenGLWindow(QWidget *parent = 0);
};
#endif //!_VTK_QVTKOPENGL_MAINWINDOW_H