Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members

esve::components::dim4::Simple_Rotation_Handler Class Reference

Front-end to Rotation_Handler. More...

#include <esve/components/dim4/Simple_Rotation_Handler.hxx>

Inheritance diagram for esve::components::dim4::Simple_Rotation_Handler:

esve::components::dimn::Inertial_Motion_Handler esve::components::dimn::Motion_Handler esve::message::impl::Update_Receiver esve::kernel::Wake_State_Handler esve::message::Update_Receiver esve::kernel::impl::Handler esve::kernel::Handler List of all members.

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::Transformactive_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?


Detailed Description

Front-end to Rotation_Handler.

The longitudinal/latitudinal parameterization of SO(4) and the Hopf parameterization of SO(4).

See README.4d.


Member Enumeration Documentation

enum esve::components::dim4::Simple_Rotation_Handler::Mapping
 

Enumeration values:
LONGLAT  Longitudinal/latitudinal motions.
HOPF  Hopf motions.


Member Function Documentation

bool esve::components::dim4::Simple_Rotation_Handler::handle_check_awake bool   )  [protected, virtual]
 

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.


Generated on Tue May 30 11:40:55 2006 for esve by doxygen 1.3.4