#include <Inventor/events/SoMotion3Event.h>
Inheritance diagram for SoMotion3Event::
Public Methods | |
SoMotion3Event (void) | |
virtual | ~SoMotion3Event () |
void | setTranslation (const SbVec3f &t) |
const SbVec3f & | getTranslation (void) const |
void | setRotation (const SbRotation &r) |
const SbRotation & | getRotation (void) const |
Static Public Methods | |
void | initClass (void) |
Motion3 events are generated by devices capable of "3D motion", for instance spaceballs. Instances of this class contains information about these devices' translations and rotations in all 3 dimensions.
|
Constructor. Resets values for translation and rotation information. |
|
Destructor. |
|
Sets the translation value of this event. Method is used by the window specific device class(es) generating the event.
|
|
Returns translation value. Note that translation are specified relative to former events, i.e. the values given here are not accumulated global coordinates.
|
|
Sets the rotation value of this event. Method is used by the window specific device class(es) generating the event. |
|
Returns rotational value. Note that rotations are specified relative to former events, i.e. the values given here are not accumulated rotations.
|
|
Initialize the type information data. Reimplemented from SoEvent. |