tychoBCG3D
0.2
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
old_mainwindow.h
Go to the documentation of this file.
1
#ifndef MAINWINDOW_H
2
#define MAINWINDOW_H
3
4
#include "
help.h
"
5
#include "
about.h
"
6
7
#include <QMainWindow>
8
#include <QVector>
9
10
namespace
Ui {
11
class
MainWindow
;
12
}
13
14
class
MainWindow
:
public
QMainWindow
15
{
16
Q_OBJECT
17
18
public
:
19
explicit
MainWindow
(QWidget *parent = 0);
20
~MainWindow
();
21
22
QString
file
;
23
int
***
bounding
;
24
int
norm_faktor
;
25
float
diameter_x
;
26
float
diameter_y
;
27
float
diameter_z
;
28
int
counter
;
29
float
x_min_init
,
x_max_init
,
y_min_init
,
y_max_init
,
z_min_init
,
z_max_init
;
30
31
help
*
myhelp
;
32
about
*
myAbout
;
33
34
void
draw_border
(
float
x_min,
float
x_max,
float
y_min,
float
y_max,
float
z_min,
float
z_max);
35
void
draw_sampled_data
(
int
ZAX,
int
ZAY,
int
ZAZ,
int
***
bounding
);
36
37
private
:
38
Ui::MainWindow *
ui
;
39
40
41
private
slots:
42
void
openfile_point_data
();
43
void
openfile_stl_data
();
44
void
alter_resolution_x
();
45
void
alter_resolution_y
();
46
void
alter_resolution_z
();
47
void
on_actionQuit_triggered
();
48
void
on_resize_bounding_box_text_lines
();
49
void
on_actionReset_Bounding_Box_triggered
();
50
void
on_actionMake_Boundary_Conditions_triggered
();
51
void
calculateNormalVector
();
52
void
ambientColor
();
53
void
modelColor
();
54
void
setbackroundColor
();
55
void
set_drawer
();
56
void
setShininess
();
57
void
showHelp
();
58
void
showAbout
();
59
void
changePointSize
();
60
61
};
62
63
#endif // MAINWINDOW_H
64
Generated on Wed Oct 9 2013 20:05:23 for tychoBCG3D by
1.8.1.1