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

Public Member Functions | |
| PaneManipulator (Camera *camera=0, InputEvent::Button button=InputEvent::MouseButton1, InputEvent::Modifier must_modifier=InputEvent::NoModifier, InputEvent::Modifier must_not_modifier=InputEvent::NoModifier) | |
| virtual BehaviorNode::InvalidationHint | dragStart (int x, int y, ButtonEvent *e) |
| virtual BehaviorNode::InvalidationHint | dragMotion (int x, int y, MotionEvent *e) |
| virtual BehaviorNode::InvalidationHint | dragEnd (int x, int y, ButtonEvent *e) |
| Translation * | transform () const |
| Query the transformation-matrix that performs the manipulatoin. | |
| VRS_TYPEINFO (PaneManipulator, Manipulator) | |
| VRS_SERIALIZABLE (PaneManipulator) | |
| VRS::PaneManipulator::PaneManipulator | ( | Camera * | camera = 0, |
|
| InputEvent::Button | button = InputEvent::MouseButton1, |
|||
| InputEvent::Modifier | must_modifier = InputEvent::NoModifier, |
|||
| InputEvent::Modifier | must_not_modifier = InputEvent::NoModifier | |||
| ) |
The pane manipulator moves the visible window of the view plane. It prepends a projection transformation to the camera node, and updates the transformation according to window event.
| virtual BehaviorNode::InvalidationHint VRS::PaneManipulator::dragStart | ( | int | x, | |
| int | y, | |||
| ButtonEvent * | e | |||
| ) | [virtual] |
Implements VRS::Manipulator.
| virtual BehaviorNode::InvalidationHint VRS::PaneManipulator::dragMotion | ( | int | x, | |
| int | y, | |||
| MotionEvent * | e | |||
| ) | [virtual] |
Implements VRS::Manipulator.
| virtual BehaviorNode::InvalidationHint VRS::PaneManipulator::dragEnd | ( | int | x, | |
| int | y, | |||
| ButtonEvent * | e | |||
| ) | [virtual] |
`dragMotion' modifies the transform matrix in order to pan the window following the mouse pointer. See also `Manipulator'.
Implements VRS::Manipulator.
| Translation * VRS::PaneManipulator::transform | ( | ) | const [inline] |
Query the transformation-matrix that performs the manipulatoin.
| VRS::PaneManipulator::VRS_TYPEINFO | ( | PaneManipulator | , | |
| Manipulator | ||||
| ) |
| VRS::PaneManipulator::VRS_SERIALIZABLE | ( | PaneManipulator | ) |