version 3.3

VRS::PanGroundPlateNavigation Class Reference

The PanGroundPlateNavigation allows to move horizontally by. More...

#include <vrs/sg/pangroundplatenavigation.h>

Inheritance diagram for VRS::PanGroundPlateNavigation:

VRS::GroundPlateNavigation VRS::InteractionTechnique VRS::SharedObj VRS::Visitable

List of all members.

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


Detailed Description

The PanGroundPlateNavigation allows to move horizontally by.

clicking and dragging points in the scene. The height and angle of the camera cannot be changed.


Constructor & Destructor Documentation

VRS::PanGroundPlateNavigation::PanGroundPlateNavigation (  ) 


Member Function Documentation

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.


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Tue May 22 06:00:29 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact