| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/spheregroundplatenavigation.h>

Public Member Functions | |
| SphereGroundPlateNavigation (double yValOfGroundPlate=0.0) | |
| The SphereNavigation needs a terrain, to check the focus point validity. | |
| void | setSensitivity (double degreesPerPixel=0.25) |
| Sets the intensity in which a mouse motion of 1 pixel causes the camera to move around the sphere. | |
| double | getSensitivity () const |
| Returns the current sensitivity. | |
| void | enableVisualFlowLimit (double visualFlow) |
| If a visual flow limit is set, the camera speed is limited near the terrain, so that for a mouse movement of 'd' pixels a point at a distance 'h' is moved 'd*visualFlow' pixels times across the screen. | |
| void | disableVisualFlowLimit () |
| double | getVisualFlowLimit () const |
| bool | getVisualFlowLimitEnabled () const |
| virtual void | onDragMotion (int x, int y, SO< MotionEvent >, MouseButtonFunctionID id, int startX, int startY) |
| VRS_TYPEINFO (SphereGroundPlateNavigation, GroundPlateNavigation) | |
Static Public Attributes | |
| static const MouseButtonFunctionID | MoveCamera |
The LookTo vector is never changed. The SphereNavigation does only work when there is a valid focus point, i.e. if the ray through the middle of the screen hits the terrain.
Use the assign-methods of InteractionTechnique to change mouse button or function keys.
| VRS::SphereGroundPlateNavigation::SphereGroundPlateNavigation | ( | double | yValOfGroundPlate = 0.0 |
) |
The SphereNavigation needs a terrain, to check the focus point validity.
| void VRS::SphereGroundPlateNavigation::setSensitivity | ( | double | degreesPerPixel = 0.25 |
) |
Sets the intensity in which a mouse motion of 1 pixel causes the camera to move around the sphere.
'degreesPerPixel' must be positive and smaller than 90.
| double VRS::SphereGroundPlateNavigation::getSensitivity | ( | ) | const |
Returns the current sensitivity.
| void VRS::SphereGroundPlateNavigation::enableVisualFlowLimit | ( | double | visualFlow | ) |
If a visual flow limit is set, the camera speed is limited near the terrain, so that for a mouse movement of 'd' pixels a point at a distance 'h' is moved 'd*visualFlow' pixels times across the screen.
For 'h' the current height above the terrain is used.
| void VRS::SphereGroundPlateNavigation::disableVisualFlowLimit | ( | ) |
| double VRS::SphereGroundPlateNavigation::getVisualFlowLimit | ( | ) | const |
| bool VRS::SphereGroundPlateNavigation::getVisualFlowLimitEnabled | ( | ) | const |
| virtual void VRS::SphereGroundPlateNavigation::onDragMotion | ( | int | x, | |
| int | y, | |||
| SO< MotionEvent > | , | |||
| MouseButtonFunctionID | id, | |||
| int | startX, | |||
| int | startY | |||
| ) | [virtual] |
| VRS::SphereGroundPlateNavigation::VRS_TYPEINFO | ( | SphereGroundPlateNavigation | , | |
| GroundPlateNavigation | ||||
| ) |