SoMotion3Event Class Reference
[Events]

3D motion events. More...

#include <Inventor/events/SoMotion3Event.h>

Inheritance diagram for SoMotion3Event:
SoEvent SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoMotion3Event ()
void setTranslation (const SbVec3f &t)
const SbVec3fgetTranslation () const
void setRotation (const SbRotation &r)
const SbRotationgetRotation () const

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

3D motion events.

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

SEE ALSO

SoEvent, SoButtonEvent, SoKeyboardEvent, SoLocation2Event, SoMouseButtonEvent, SoSpaceballButtonEvent, SoHandleEventAction, SoEventCallback, SoSelection, SoInteraction, SoWinDevice

See related examples:

QtSpaceMouse


Constructor & Destructor Documentation

SoMotion3Event::SoMotion3Event (  ) 

Constructor.


Member Function Documentation

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.


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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/