Loading [MathJax]/extensions/tex2jax.js
INFO804 Introduction à l'informatique graphique
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
g
h
i
k
l
m
n
o
p
r
s
t
v
w
~
Functions
a
b
c
d
e
g
h
i
k
l
m
p
r
s
t
v
w
~
Variables
a
c
d
e
i
m
n
o
p
r
s
Files
File List
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Pages
Loading...
Searching...
No Matches
TP1
main.cpp
1
#include <qapplication.h>
2
#include <iostream>
3
#include <fstream>
4
#include <sstream>
5
#include <string>
6
#include "
Viewer.h
"
7
8
using namespace
std;
9
int
main(
int
argc,
char
** argv)
10
{
11
// Read command lines arguments.
12
QApplication application(argc,argv);
13
// Instantiate the viewer.
14
Viewer
viewer;
15
// Give a name
16
viewer.setWindowTitle(
"Viewer triangle soup"
);
17
// Make the viewer window visible on screen.
18
viewer.show();
19
// Run main loop.
20
application.exec();
21
return
0;
22
}
Viewer.h
Viewer
Definition
Viewer.h:6
Generated on Fri Feb 16 2024 16:17:55 for INFO804 Introduction à l'informatique graphique by
1.9.8