tychoBCG3D
0.2
Main Page
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
glwidget.h
Go to the documentation of this file.
1
#ifndef GLWIDGET_H
2
#define GLWIDGET_H
3
4
#include <QGLViewer/qglviewer.h>
5
#include <QVector>
6
7
class
GLWidget
:
public
QGLViewer
8
{
9
public
:
10
#if QT_VERSION < 0x040000
11
GLWidget
(QWidget *parent,
const
char
*name);
12
#else
13
GLWidget
(QWidget *parent);
14
#endif
15
16
float
redAmbient
;
17
float
greenAmbient
;
18
float
blueAmbient
;
19
20
float
redModel
;
21
float
greenModel
;
22
float
blueModel
;
23
24
int
shininess
;
25
26
float
x_min
,
x_max
,
y_min
,
y_max
,
z_min
,
z_max
;
27
28
int
drawer
;
29
30
QColor
backroundColor
;
31
32
//for point data
33
QVector<float>
coordiantes
[6];
34
//for stl data
35
QVector<float>
stl_data
[3];
36
//for the display of the sampled data
37
QVector<float>
sampled_data
[3];
38
39
int
point_size
;
40
41
virtual
void
draw
();
42
virtual
void
draw_border
(
float
x_min
,
float
x_max
,
float
y_min
,
float
y_max
,
float
z_min
,
float
z_max
);
43
virtual
void
init
();
44
45
protected
:
46
47
48
};
49
50
#endif // GLWIDGET_H
Generated on Wed Oct 9 2013 20:05:23 for tychoBCG3D by
1.8.1.1