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

Public Member Functions | |
| VRS_TYPEINFO (PanGroundPlateNavigation, VRS::GroundPlateNavigation) | |
| PanGroundPlateNavigation () | |
| virtual void | onDragStart (int x, int y, SO< VRS::ButtonEvent >, MouseButtonFunctionID id) |
| See navigationtechnique.h. | |
| virtual void | onDragMotion (int x, int y, SO< VRS::MotionEvent >, MouseButtonFunctionID id, int startX, int startY) |
| void | setMinDragAngle (double degrees=10.0) |
| Dragging points is only useful if you look from above at a certain minimum slope. | |
| double | getMinDragAngle () const |
| virtual bool | preservingViewDirectionRequired () const |
| Used to determine whether the view direction must be preserved after a constraintchecker has refused or corrected a movement of this technique. | |
Static Public Attributes | |
| static const MouseButtonFunctionID | Panning |
clicking and dragging points in the scene. The height and angle of the camera cannot be changed.
| VRS::PanGroundPlateNavigation::PanGroundPlateNavigation | ( | ) |
| VRS::PanGroundPlateNavigation::VRS_TYPEINFO | ( | PanGroundPlateNavigation | , | |
| VRS::GroundPlateNavigation | ||||
| ) |
| virtual void VRS::PanGroundPlateNavigation::onDragStart | ( | int | x, | |
| int | y, | |||
| SO< VRS::ButtonEvent > | , | |||
| MouseButtonFunctionID | id | |||
| ) | [virtual] |
See navigationtechnique.h.
| virtual void VRS::PanGroundPlateNavigation::onDragMotion | ( | int | x, | |
| int | y, | |||
| SO< VRS::MotionEvent > | , | |||
| MouseButtonFunctionID | id, | |||
| int | startX, | |||
| int | startY | |||
| ) | [virtual] |
| void VRS::PanGroundPlateNavigation::setMinDragAngle | ( | double | degrees = 10.0 |
) |
Dragging points is only useful if you look from above at a certain minimum slope.
Therefore, drag points are only considered if the ray passing from the camera to the drag point points downwards and forms at least a certain angle with the horizontal plane.
| double VRS::PanGroundPlateNavigation::getMinDragAngle | ( | ) | const |
| virtual bool VRS::PanGroundPlateNavigation::preservingViewDirectionRequired | ( | ) | const [virtual] |
Used to determine whether the view direction must be preserved after a constraintchecker has refused or corrected a movement of this technique.
By default, the method returns always 'false'. It must be overloaded, and return 'true' to force preserving of the view direction.
Reimplemented from VRS::InteractionTechnique.
const MouseButtonFunctionID VRS::PanGroundPlateNavigation::Panning [static] |