version 3.3

VRS::ZoomOrthoGroundPlateNavigation Class Reference

The ZoomOrthoGroundPlateNavigation allows to move the camera. More...

#include <vrs/sg/zoomorthogroundplatenavigation.h>

Inheritance diagram for VRS::ZoomOrthoGroundPlateNavigation:

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

List of all members.

Public Member Functions

 ZoomOrthoGroundPlateNavigation (SO< Ortho > orthoProjection, double yValOfGroundPlate=0.0)
 The 'orthoProjection' must be the same object as set in the Camera.
SO< OrthogetOrthoProjection () const
void setOrthoProjection (SO< Ortho > orthoProjection)
 VRS_TYPEINFO (ZoomOrthoGroundPlateNavigation, ZoomGroundPlateNavigation)


Detailed Description

The ZoomOrthoGroundPlateNavigation allows to move the camera.

rapidly towards or away from a given focus point. It works with orthographic projections instead of the normal perspective transformation. Because InteractionConcept and ViewParameters only cover the LookAt (the orientation transformation of the camera), this implementation directly modifies the given orthographic transformation which is a bit dirty. One should add support for those transformations to the InteractionConcept in the future. The zoom can be performed by mouse dragging or mouse wheel.


Constructor & Destructor Documentation

VRS::ZoomOrthoGroundPlateNavigation::ZoomOrthoGroundPlateNavigation ( SO< Ortho orthoProjection,
double  yValOfGroundPlate = 0.0 
)

The 'orthoProjection' must be the same object as set in the Camera.

Changes to this projection are made directly without any physical model or other constraint checking done by the interaction concept!


Member Function Documentation

SO<Ortho> VRS::ZoomOrthoGroundPlateNavigation::getOrthoProjection (  )  const

void VRS::ZoomOrthoGroundPlateNavigation::setOrthoProjection ( SO< Ortho orthoProjection  ) 

VRS::ZoomOrthoGroundPlateNavigation::VRS_TYPEINFO ( ZoomOrthoGroundPlateNavigation  ,
ZoomGroundPlateNavigation   
)


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

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