oILAB
Loading...
Searching...
No Matches
oiViewer.cxx
Go to the documentation of this file.
1
/* This file is part of MODEL, the Mechanics Of Defect Evolution Library.
2
*
3
* Copyright (C) 2017 by Giacomo Po <gpo@ucla.edu>.
4
*
5
* model is distributed without any warranty under the
6
* GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
7
*/
8
9
#include <QtWidgets/QApplication>
10
#include <QVTKOpenGLNativeWidget.h>
11
#include <
oiViewerMainWindow.h
>
12
13
14
int
main
(
int
argc,
char
*argv[])
15
{
16
QSurfaceFormat::setDefaultFormat(QVTKOpenGLNativeWidget::defaultFormat());
// needed to ensure appropriate OpenGL context is created for VTK rendering.
17
QApplication a(argc, argv);
18
gbLAB::oiViewerMainWindow
window;
19
window.show();
20
return
a.exec();
21
}
22
main
int main(int argc, char *argv[])
Definition
oiViewer.cxx:14
oiViewerMainWindow.h
gbLAB::oiViewerMainWindow
Definition
oiViewerMainWindow.h:26
tools
oiViewer
oiViewer.cxx
Generated on Wed Aug 6 2025 23:06:44 for oILAB by
1.9.8