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

Public Types | |
| enum | Mode { Examine, Peer, Zoom, Pane } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (Mode) | |
| LookAtManipulator (LookAt *target, Mode mode, InputEvent::Button button, InputEvent::Modifier must_modifier=InputEvent::NoModifier, InputEvent::Modifier must_not_modifier=InputEvent::NoModifier) | |
| void | setLookAt (LookAt *lookatTf) |
| LookAt * | getLookAt () const |
| void | setMode (LookAtManipulator::Mode manipmode) |
| LookAtManipulator::Mode | getMode () const |
| void | setSensitivity (int mode, double sensitivity) |
| double | getSensitivity (int mode) const |
| virtual BehaviorNode::InvalidationHint | dragStart (int x, int y, ButtonEvent *) |
| virtual BehaviorNode::InvalidationHint | dragMotion (int x, int y, MotionEvent *) |
| virtual BehaviorNode::InvalidationHint | dragEnd (int x, int y, ButtonEvent *) |
| VRS_TYPEINFO (LookAtManipulator, Manipulator) | |
| VRS_SERIALIZABLE (LookAtManipulator) | |
Protected Member Functions | |
| LookAtManipulator () | |
| The default constructor is reserved for use with serializing only!! | |
| VRS::LookAtManipulator::LookAtManipulator | ( | LookAt * | target, | |
| Mode | mode, | |||
| InputEvent::Button | button, | |||
| InputEvent::Modifier | must_modifier = InputEvent::NoModifier, |
|||
| InputEvent::Modifier | must_not_modifier = InputEvent::NoModifier | |||
| ) |
| VRS::LookAtManipulator::LookAtManipulator | ( | ) | [protected] |
The default constructor is reserved for use with serializing only!!
| VRS::LookAtManipulator::VRS_SERIALIZABLE_CLASS_ENUM | ( | Mode | ) |
| void VRS::LookAtManipulator::setLookAt | ( | LookAt * | lookatTf | ) | [inline] |
| LookAt * VRS::LookAtManipulator::getLookAt | ( | ) | const [inline] |
| void VRS::LookAtManipulator::setMode | ( | LookAtManipulator::Mode | manipmode | ) |
| LookAtManipulator::Mode VRS::LookAtManipulator::getMode | ( | ) | const |
Button motions can be used to change the look-to point (Peer), look-from point (Examine) or the distance between look-to and look-from points (Zoom).
| void VRS::LookAtManipulator::setSensitivity | ( | int | mode, | |
| double | sensitivity | |||
| ) | [inline] |
| double VRS::LookAtManipulator::getSensitivity | ( | int | mode | ) | const [inline] |
A sensitivity coefficient which scales the mouse motion can be specified for each mode.
| virtual BehaviorNode::InvalidationHint VRS::LookAtManipulator::dragStart | ( | int | x, | |
| int | y, | |||
| ButtonEvent * | ||||
| ) | [virtual] |
Implements VRS::Manipulator.
| virtual BehaviorNode::InvalidationHint VRS::LookAtManipulator::dragMotion | ( | int | x, | |
| int | y, | |||
| MotionEvent * | ||||
| ) | [virtual] |
Implements VRS::Manipulator.
| virtual BehaviorNode::InvalidationHint VRS::LookAtManipulator::dragEnd | ( | int | x, | |
| int | y, | |||
| ButtonEvent * | ||||
| ) | [virtual] |
Implement the mapping of mouse motion to to look-at parameteres.
Implements VRS::Manipulator.
| VRS::LookAtManipulator::VRS_TYPEINFO | ( | LookAtManipulator | , | |
| Manipulator | ||||
| ) |
| VRS::LookAtManipulator::VRS_SERIALIZABLE | ( | LookAtManipulator | ) |