#include <planeAdmin.h>

Public Member Functions | |
| planeAdmin () | |
| ~planeAdmin (void) | |
| void | addPlane (int type, Data *data, vector< int > col, int x, int y, int z, int rotX, int rotY) |
| void | setParent (GLWidget *_parent) |
| void | deletePlane (int type, int index) |
| void | renderAll (float dT) |
| void | sortTransPlane (int type) |
| void | picking (float x, float y) |
| void | navigate (float x, float y, int button=0) |
| void | navigateRelease () |
| void | mouseMove (float x, float y) |
| void | showNavigators () |
| void | hideNavigators () |
| void | to2D (int type, int index) |
| void | to3D (int type, int index) |
Public Attributes | |
| bool | act2DModeChanged |
| int | act2DModeType |
| int | act2DMode |
| int | next2DMode |
| int | act2DIndex |
| bool | bupdateGUI |
| vector< sortData > | sorted |
| vector< planeMap * > | pMap |
| vector< planeBar * > | pBar |
| vector< planePie * > | pPie |
| sortData | delInfo |
Static Public Attributes | |
| static const int | PLANE_MAP = 1 |
| static const int | PLANE_BAR = 2 |
| static const int | PLANE_PIE = 3 |
| planeAdmin::planeAdmin | ( | ) |
Constructor
| planeAdmin::~planeAdmin | ( | void | ) |
Destructor
| void planeAdmin::addPlane | ( | int | type, | |
| Data * | data, | |||
| vector< int > | col, | |||
| int | x, | |||
| int | y, | |||
| int | z, | |||
| int | rotX, | |||
| int | rotY | |||
| ) |
adds a new plane
| type | type of the new plane | |
| data | the dataset | |
| choosen | columns for the plane | |
| x | x position of the plane | |
| y | y position of the plane | |
| z | z position of the plane | |
| rotX | orientation around the x-axis | |
| rotY | orientation around the z-axis |
| void planeAdmin::setParent | ( | GLWidget * | _parent | ) |
sets the parent widget
| _parent | widget |
| void planeAdmin::deletePlane | ( | int | type, | |
| int | index | |||
| ) |
deletes a plane
| type | type of the plane to delete | |
| index | index of the plane to delete |
| void planeAdmin::renderAll | ( | float | dT | ) |
renderes all current planes and links
| dT | delta time |
| void planeAdmin::sortTransPlane | ( | int | type | ) |
sorts the planes by depth when a plane gots transformed
| type | type of the transformed plane |
| void planeAdmin::picking | ( | float | x, | |
| float | y | |||
| ) |
mouseclick
| x | x position of the mouse cursor | |
| y | y position of the mouse cursor |
| void planeAdmin::navigate | ( | float | x, | |
| float | y, | |||
| int | button = 0 | |||
| ) |
mouseclick in navigation mode
| x | x position of the mouse cursor | |
| y | y position of the mouse cursor | |
| button | index of the mouse button |
| void planeAdmin::navigateRelease | ( | ) |
release of the mouse button in navigation mode
| void planeAdmin::mouseMove | ( | float | x, | |
| float | y | |||
| ) |
mouse moved
| x | x position of the mouse cursor | |
| y | y position of the mouse cursor |
| void planeAdmin::showNavigators | ( | ) |
shows the navigators
| void planeAdmin::hideNavigators | ( | ) |
hides the navigators
| void planeAdmin::to2D | ( | int | type, | |
| int | index | |||
| ) |
animate plane to 2D view
| type | type of plane to animate | |
| index | index of plane to animate |
| void planeAdmin::to3D | ( | int | type, | |
| int | index | |||
| ) |
animate plane to 3D view
| type | type of plane to animate | |
| index | index of plane to animate |
true if the 2D/3D mode changes
type of the changing plane
current 2D/3D mode
next 2D/3D mode
index of the changing plane
GUI needs to be updated
const int planeAdmin::PLANE_MAP = 1 [static] |
map type
const int planeAdmin::PLANE_BAR = 2 [static] |
bar type
const int planeAdmin::PLANE_PIE = 3 [static] |
pie type
| vector<sortData> planeAdmin::sorted |
sorted planes
| vector<planeMap*> planeAdmin::pMap |
all map planes
| vector<planeBar*> planeAdmin::pBar |
all bar planes
| vector<planePie*> planeAdmin::pPie |
all pie planes
| sortData planeAdmin::delInfo |
type and index of plane to delete
1.5.4