Open Inventor Reference
SoMotion3Event Class Reference

3D motion events. More...

#include <Inventor/events/SoMotion3Event.h>

Inheritance diagram for SoMotion3Event:
SoEvent

List of all members.

Public Member Functions

 SoMotion3Event ()
 Constructor.
virtual ~SoMotion3Event ()
void setTranslation (const SbVec3f &t)
 Set and get the relative change in translation since the last translation event.
const SbVec3fgetTranslation () const
 Set and get the relative change in translation since the last translation event.
void setRotation (const SbRotation &r)
 Set and get the relative change in rotation since the last rotation event.
const SbRotationgetRotation () const
 Set and get the relative change in rotation since the last rotation event.

Static Public Member Functions

static void initClass ()
 Initializes base event class.

Detailed Description

SoMotion3Event represents 3D relative motion events in the Inventor event model.

See Also
SoEvent, SoButtonEvent, SoKeyboardEvent, SoLocation2Event, SoMouseButtonEvent, SoSpaceballButtonEvent, SoHandleEventAction, SoEventCallback, SoSelection, SoInteraction

Definition at line 78 of file SoMotion3Event.h.


Constructor & Destructor Documentation

SoMotion3Event::SoMotion3Event ( )
virtual SoMotion3Event::~SoMotion3Event ( ) [virtual]

Member Function Documentation

const SbRotation& SoMotion3Event::getRotation ( ) const [inline]

Definition at line 96 of file SoMotion3Event.h.

const SbVec3f& SoMotion3Event::getTranslation ( ) const [inline]

Definition at line 91 of file SoMotion3Event.h.

static void SoMotion3Event::initClass ( ) [static]

Reimplemented from SoEvent.

void SoMotion3Event::setRotation ( const SbRotation r) [inline]

Definition at line 94 of file SoMotion3Event.h.

void SoMotion3Event::setTranslation ( const SbVec3f t) [inline]

Definition at line 89 of file SoMotion3Event.h.


The documentation for this class was generated from the following file: