#include <esve/components/dim4/Simple_Rotation_Handler.hxx>
Inheritance diagram for esve::components::dim4::Simple_Rotation_Handler:

Public Types | |
| enum | Mapping { LONGLAT, HOPF } |
Public Member Functions | |
| Simple_Rotation_Handler (engine::dim4::Transform &) | |
| Constructor. Give the transform on which this handler operates. | |
| void | stop () |
| Stop all motion. | |
| types::real | sensitivity () const |
| Scalar multiplier for all motion. | |
| void | sensitivity (types::real) |
| Scalar multiplier for all motion. | |
| virtual Mapping | mapping () const |
| The method of associating input motion with rotations. | |
| virtual void | mapping (Mapping) |
| The method of associating input motion with rotations. | |
| virtual bool | slide () const |
| Convert the right mouse button to yield double-rotations aligned with the transform itself. | |
| virtual void | slide (bool) |
| Convert the right mouse button to yield double-rotations aligned with the transform itself. | |
| const engine::dim4::Transform & | active_transform () const |
| The transform on which this handler operates. | |
| void | active_transform (engine::dim4::Transform &) |
| The transform on which this handler operates. | |
Protected Member Functions | |
| bool | handle_check_awake (bool) |
| Do you want to be awake? | |
| void | update () |
| Receive the update() message. | |
| void | update (double dt) |
| Receive the update() message. | |
| bool | handle_wake () |
| The command to wake up. | |
| bool | handle_sleep () |
| The command to sleep. | |
| bool | awake () const |
| Are we awake? | |
The longitudinal/latitudinal parameterization of SO(4) and the Hopf parameterization of SO(4).
See README.4d.
|
|
|
|
|
Do you want to be awake? If currently awake, a return value of true indicates a desire to stay awake. If not currently awake, a return value of true indicates a desire to wake up. Implements esve::kernel::Wake_State_Handler. |
1.3.4