|
Updraft
1.0
Open source glider flight visualisation tool.
|
Earth manipulator supporting custom settings and keybindings. More...
#include <mapmanipulator.h>

Public Member Functions | |
| MapManipulator () | |
| ~MapManipulator () | |
| void | resetNorth (double duration) |
| Runs the animation that resets this manipulator to the north. | |
| void | untilt (double duration) |
| Runs the untilt animation on this manipulator. | |
| void | updateCameraProjection () |
| Updates the camera projection according to whether it should be 2D orthographic or 3D perspective. | |
Private Slots | |
| void | mouseZoomSensitivityChanged () |
| Handles the mouse zoom sensitivity setting change. | |
Private Member Functions | |
| void | bindKeyboardEvents (Settings *settings) |
| Binds the osg keyboard events to the manipulator actions. | |
| void | bindMouseEvents (Settings *settings) |
| Binds the osg mouse events to the manipulator actions. | |
Private Attributes | |
| SettingInterface * | mouseZoomSensitivity |
| The mouse zoom sensitivity setting. | |
Earth manipulator supporting custom settings and keybindings.
| void Updraft::Core::MapManipulator::bindKeyboardEvents | ( | Settings * | settings | ) | [private] |
Binds the osg keyboard events to the manipulator actions.
| settings | The osg settings of this map manipulator. |
| void Updraft::Core::MapManipulator::bindMouseEvents | ( | Settings * | settings | ) | [private] |
Binds the osg mouse events to the manipulator actions.
| settings | The osg settings of this map manipulator. |
| void Updraft::Core::MapManipulator::mouseZoomSensitivityChanged | ( | ) | [private, slot] |
Handles the mouse zoom sensitivity setting change.
| void Updraft::Core::MapManipulator::resetNorth | ( | double | duration | ) |
Runs the animation that resets this manipulator to the north.
| duration | The requested duration of the animation |
| void Updraft::Core::MapManipulator::untilt | ( | double | duration | ) |
Runs the untilt animation on this manipulator.
| duration | The requested duration of the animation |
Updates the camera projection according to whether it should be 2D orthographic or 3D perspective.
The mouse zoom sensitivity setting.