#include <GLWidget.h>

Signals | |
| void | updateGUI () |
| void | visibleGUI () |
Public Member Functions | |
| GLWidget (QWidget *parent=0) | |
| QSize | minimumSizeHint () const |
| QSize | sizeHint () const |
| void | resizeGL (int w, int h) |
| bool | loadData (QString filename) |
| vector< QString > | getTitle () |
| vector< int > | getType () |
| void | addPlane (int planeType, vector< int > col, int x, int y, int z, int rotX, int rotY) |
| void | removePlane (int planeType, int index) |
| void | to2D (int type, int index) |
| void | to3D (int type, int index) |
Public Attributes | |
| int | delType |
| int | delCol |
| int | width |
| int | height |
| int | updType |
| int | updMode |
Static Public Attributes | |
| static const int | PLANE_MAP = 1 |
| static const int | PLANE_BAR = 2 |
| static const int | PLANE_PIE = 3 |
| static const int | TYPE_STRING = 1 |
| static const int | TYPE_FLOAT = 2 |
| static const int | TYPE_PERCENT = 3 |
| GLWidget::GLWidget | ( | QWidget * | parent = 0 |
) |
Constructor of GLWidget class. It generates the paint window and all painted stuff.
| QSize GLWidget::minimumSizeHint | ( | ) | const |
set minimum size of window
| QSize GLWidget::sizeHint | ( | ) | const |
set actual size of window
| void GLWidget::resizeGL | ( | int | w, | |
| int | h | |||
| ) |
resize window
| bool GLWidget::loadData | ( | QString | filename | ) |
loads data from file into data structure
| filename | filename from actual loaded file |
| vector< QString > GLWidget::getTitle | ( | ) |
return title from loaded data (this is the first row in data-file)
| vector< int > GLWidget::getType | ( | ) |
return all types of the columns
| void GLWidget::addPlane | ( | int | planeType, | |
| vector< int > | col, | |||
| int | x, | |||
| int | y, | |||
| int | z, | |||
| int | rotX, | |||
| int | rotY | |||
| ) |
adds new plane to environment
| planeType | defines the type of plane (map, bar or pie) | |
| col | defines what columns are used for that plane | |
| x | defines x position of new plane | |
| y | defines y position of new plane | |
| z | defines z position of new plane | |
| rotX | defines x rotation of new plane | |
| rotY | defines y rotation of new plane |
| void GLWidget::removePlane | ( | int | planeType, | |
| int | index | |||
| ) |
removes chosen plane
| planeType | defines what type of plane (map, bar or pie) | |
| index | defines by the help of an index what plane should be removed |
| void GLWidget::to2D | ( | int | type, | |
| int | index | |||
| ) |
animat plane to 2D
| type | defines what type of plane (map, bar or pie) | |
| index | defines by the help of an index what plane should animated |
| void GLWidget::to3D | ( | int | type, | |
| int | index | |||
| ) |
animat plane to 3D
| type | defines what type of plane (map, bar or pie) | |
| index | defines by the help of an index what plane should animated |
| void GLWidget::updateGUI | ( | ) | [signal] |
update GUI if plane is animated to another mode
| void GLWidget::visibleGUI | ( | ) | [signal] |
set visibility of GUI if animation mode is changed
type that is deleted chosed from "x" of a plane
| int GLWidget::delCol |
column that is deleted chosed from "x" of a plane
| int GLWidget::width |
width of GLWindow
| int GLWidget::height |
height of GLWindow
const int GLWidget::PLANE_MAP = 1 [static] |
const for distinction between map, bar and pie
const int GLWidget::PLANE_BAR = 2 [static] |
const for distinction between map, bar and pie
const int GLWidget::PLANE_PIE = 3 [static] |
const for distinction between map, bar and pie
const int GLWidget::TYPE_STRING = 1 [static] |
constant for checking if loaded type is string
const int GLWidget::TYPE_FLOAT = 2 [static] |
constant for checking if loaded type is float
const int GLWidget::TYPE_PERCENT = 3 [static] |
constant for checking if loaded type is float and should be displayed as percent
defines what type should be updated when animation is active
defines if animation should be updated
1.5.4