#include <planeBase.h>


Public Member Functions | |
| planeBase () | |
| ~planeBase () | |
| void | init (vector< int > cols, Data &dataSet, GLWidget *_parentWidget) |
| void | init () |
| void | render (float dT) |
| void | renderDepth () |
| bool | mouseSelectClick (float x, float y) |
| void | mouseDeselect () |
| void | mouseNavigateDrag (float x, float y) |
| bool | mouseNavigateClickOn (float x, float y, int button=0) |
| void | mouseNavigateClickOff () |
| void | showNavigators () |
| void | hideNavigators () |
| void | setPos (float x, float y, float z) |
| void | setRot (float x, float y) |
| float | getDepth () |
| Point | getPoint (int _id) |
| Point | getMiddle () |
| int | getSelectedPoint () |
| void | animateTo2D () |
| void | animateTo3D () |
| int | getCur2D3Dstate () |
Public Attributes | |
| bool | needsRenderUpdate |
| int | type |
| bool | deleteMe |
| planeAdmin * | masterPlane |
Protected Member Functions | |
| virtual void | selectClick (float x, float y)=0 |
Protected Attributes | |
| vector< Point > | points |
| int | selectedPoint |
| planeBase::planeBase | ( | ) |
Constructor
| planeBase::~planeBase | ( | ) |
Destructor
initialize plane with data
| cols | choosen columns that will be displayed | |
| dataSet | loaded data | |
| _parentWidget | the widget in which the plane gets displayed |
| void planeBase::init | ( | ) |
initialize plane
| void planeBase::render | ( | float | dT | ) |
renders the plane
| dT | deltaTime to the previous frame |
| void planeBase::renderDepth | ( | ) |
renders the plane transparent for the z-Buffer
| bool planeBase::mouseSelectClick | ( | float | x, | |
| float | y | |||
| ) |
checks if mouseclick happend on plane
| x | x position of the mouse cursor | |
| y | y position of the mouse cursor |
| void planeBase::mouseDeselect | ( | ) |
deselects all Nodes of the plane
| void planeBase::mouseNavigateDrag | ( | float | x, | |
| float | y | |||
| ) |
checks mouse movement while the mousebutton is pressed
| x | x position of the mouse cursor | |
| y | y position of the mouse cursor |
| bool planeBase::mouseNavigateClickOn | ( | float | x, | |
| float | y, | |||
| int | button = 0 | |||
| ) |
indicates that the mouse button is now clicked
| x | x position of the mouse cursor | |
| y | y position of the mouse cursor | |
| button | the index of the mousebutton |
| void planeBase::mouseNavigateClickOff | ( | ) |
indicates taht the mouse button is now released
| void planeBase::showNavigators | ( | ) |
displays the navigators of the plane
| void planeBase::hideNavigators | ( | ) |
hides the navigators of the plane
| void planeBase::setPos | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) |
sets the position of the plane
| x | x position | |
| y | y position | |
| z | z position |
| void planeBase::setRot | ( | float | x, | |
| float | y | |||
| ) |
sets the orientation of the plane
| x | rotation around x-axis | |
| y | rotation around y-axis |
| float planeBase::getDepth | ( | ) |
returns the z-Value of the plane
| Point planeBase::getPoint | ( | int | _id | ) |
returns the point with the given id
| _id | index of the point |
| Point planeBase::getMiddle | ( | ) |
returns the middle of the plane
| int planeBase::getSelectedPoint | ( | ) |
returns the index of the selected point
| void planeBase::animateTo2D | ( | ) |
starts animation to 2D view
| void planeBase::animateTo3D | ( | ) |
starts animation to 3D view
| int planeBase::getCur2D3Dstate | ( | ) |
retursn the current view state
| virtual void planeBase::selectClick | ( | float | x, | |
| float | y | |||
| ) | [protected, pure virtual] |
checks if a node has been selected
| x | x position on the plane | |
| y | y position on the plane |
indicates if the plane has to be redrawn
| int planeBase::type |
type of the plane
| bool planeBase::deleteMe |
indicates if the plane has to be deleted
pointer to the planeAdmin
vector<Point> planeBase::points [protected] |
linking points on the plane
int planeBase::selectedPoint [protected] |
index of the selected node
1.5.4