3D motion events. More...
#include <Inventor/events/SoMotion3Event.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoMotion3Event () | |
void | setTranslation (const SbVec3f &t) |
const SbVec3f & | getTranslation () const |
void | setRotation (const SbRotation &r) |
const SbRotation & | getRotation () const |
Static Public Member Functions | |
static SoType | getClassTypeId () |
3D motion events.
SoMotion3Event represents 3D relative motion events in the Open Inventor event model.
SoEvent, SoButtonEvent, SoKeyboardEvent, SoLocation2Event, SoMouseButtonEvent, SoSpaceballButtonEvent, SoHandleEventAction, SoEventCallback, SoSelection, SoInteraction, SoWinDevice
SoMotion3Event::SoMotion3Event | ( | ) |
Constructor.
static SoType SoMotion3Event::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEvent.
const SbRotation& SoMotion3Event::getRotation | ( | ) | const [inline] |
Gets the relative change in rotation since the last rotation event.
const SbVec3f& SoMotion3Event::getTranslation | ( | ) | const [inline] |
Gets the relative change in translation since the last translation event.
virtual SoType SoMotion3Event::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoEvent.
void SoMotion3Event::setRotation | ( | const SbRotation & | r | ) | [inline] |
Sets the relative change in rotation since the last rotation event.
void SoMotion3Event::setTranslation | ( | const SbVec3f & | t | ) | [inline] |
Sets the relative change in translation since the last translation event.