-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cxx
More file actions
42 lines (30 loc) · 1.04 KB
/
main.cxx
File metadata and controls
42 lines (30 loc) · 1.04 KB
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
41
42
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-FileCopyrightText: Copyright 2007 Sandia Corporation
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
#include <QTimer>
#include <QtGui/QSurfaceFormat>
#include <QtWidgets/QApplication>
#include <vtkOpenVRRenderWindow.h>
#include "QVTKRenderWidget.h"
#include "GUIManager.h"
#include <vtkAutoInit.h>
#include "Evaluation.h"
extern int qInitResources_icons();
VTK_MODULE_INIT(vtkRenderingOpenGL2);
VTK_MODULE_INIT(vtkInteractionStyle);
VTK_MODULE_INIT(vtkRenderingVolumeOpenGL2);
int main(int argc, char** argv)
{
QSurfaceFormat::setDefaultFormat(QVTKRenderWidget::defaultFormat());
QApplication app(argc, argv);
QApplication::setStyle("fusion");
qInitResources_icons();
GUIManager mySimpleView;
mySimpleView.show();
return app.exec();
//// Instantiate the Evaluation class
//Evaluation evaluation;
//// Create and render the scene with spheres and the cone
//evaluation.CreateScene();
//return 0;
}