#include <glwidget.h>
Public Member Functions | |
GLWidget (QWidget *parent, const char *name) | |
virtual void | draw () |
GLWidget::draw. | |
virtual void | draw_border (float x_min, float x_max, float y_min, float y_max, float z_min, float z_max) |
GLWidget::draw_border. | |
virtual void | init () |
GLWidget::init. |
Data Fields | |
float | redAmbient |
float | greenAmbient |
float | blueAmbient |
float | redModel |
float | greenModel |
float | blueModel |
int | shininess |
float | x_min |
float | x_max |
float | y_min |
float | y_max |
float | z_min |
float | z_max |
int | drawer |
QColor | backroundColor |
QVector< float > | coordiantes [6] |
QVector< float > | stl_data [3] |
QVector< float > | sampled_data [3] |
int | point_size |
Definition at line 7 of file glwidget.h.
GLWidget::GLWidget | ( | QWidget * | parent, |
const char * | name | ||
) |
Definition at line 29 of file glwidget.cpp.
|
virtual |
Draws the points, triangles and the smapled data
Definition at line 66 of file glwidget.cpp.
References blueAmbient, blueModel, coordiantes, draw_border(), drawer, greenAmbient, greenModel, point_size, redAmbient, redModel, sampled_data, shininess, stl_data, x_max, x_min, y_max, y_min, z_max, and z_min.
|
virtual |
Draws the bounding box, which represents the computational domain
x_min | |
x_max | |
y_min | |
y_max | |
z_min | |
z_max |
Definition at line 169 of file glwidget.cpp.
References blueModel, greenModel, and redModel.
Referenced by draw().
|
virtual |
Sets basic stuff for the GL viewer
Definition at line 44 of file glwidget.cpp.
References backroundColor, blueAmbient, greenAmbient, and redAmbient.
QColor GLWidget::backroundColor |
Definition at line 30 of file glwidget.h.
Referenced by init().
float GLWidget::blueAmbient |
Definition at line 18 of file glwidget.h.
float GLWidget::blueModel |
Definition at line 22 of file glwidget.h.
Referenced by draw(), and draw_border().
QVector<float> GLWidget::coordiantes[6] |
Definition at line 33 of file glwidget.h.
Referenced by draw().
int GLWidget::drawer |
Definition at line 28 of file glwidget.h.
Referenced by draw().
float GLWidget::greenAmbient |
Definition at line 17 of file glwidget.h.
float GLWidget::greenModel |
Definition at line 21 of file glwidget.h.
Referenced by draw(), and draw_border().
int GLWidget::point_size |
Definition at line 39 of file glwidget.h.
Referenced by draw().
float GLWidget::redAmbient |
Definition at line 16 of file glwidget.h.
float GLWidget::redModel |
Definition at line 20 of file glwidget.h.
Referenced by draw(), and draw_border().
QVector<float> GLWidget::sampled_data[3] |
Definition at line 37 of file glwidget.h.
Referenced by draw().
int GLWidget::shininess |
Definition at line 24 of file glwidget.h.
Referenced by draw().
QVector<float> GLWidget::stl_data[3] |
Definition at line 35 of file glwidget.h.
Referenced by draw().
float GLWidget::x_max |
Definition at line 26 of file glwidget.h.
Referenced by draw().
float GLWidget::x_min |
Definition at line 26 of file glwidget.h.
Referenced by draw().
float GLWidget::y_max |
Definition at line 26 of file glwidget.h.
Referenced by draw().
float GLWidget::y_min |
Definition at line 26 of file glwidget.h.
Referenced by draw().
float GLWidget::z_max |
Definition at line 26 of file glwidget.h.
Referenced by draw().
float GLWidget::z_min |
Definition at line 26 of file glwidget.h.
Referenced by draw().