DOKK / manpages / debian 12 / inventor-doc / SoMotion3Event.3iv.en
SoMotion3Event(3IV)() SoMotion3Event(3IV)()

SoMotion3Event — 3D motion events

SoEvent > SoMotion3Event

#include <Inventor/events/SoMotion3Event.h>


Methods from class SoMotion3Event:


SoMotion3Event()

static SoType getClassTypeId()

void setTranslation(const SbVec3f &t)

const SbVec3f & getTranslation() const

void setRotation(const SbRotation &r)

const SbRotation & getRotation() const


Methods from class SoEvent:


virtual SoType getTypeId() const

SbBool isOfType(SoType type) const

void setTime(SbTime t)

SbTime getTime() const

void setPosition(const SbVec2s &p)

const SbVec2s & getPosition() const

const SbVec2s & getPosition(const SbViewportRegion &vpRgn) const

const SbVec2f & getNormalizedPosition(const SbViewportRegion &vpRgn) const

void setShiftDown(SbBool isDown)

void setCtrlDown(SbBool isDown)

void setAltDown(SbBool isDown)

SbBool wasShiftDown() const

SbBool wasCtrlDown() const

SbBool wasAltDown() const

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


SoMotion3Event()

Constructor.



static SoType getClassTypeId()

Return the type id for the SoMotion3Event class.



void setTranslation(const SbVec3f &t)

const SbVec3f & getTranslation() const

Set and get the relative change in translation since the last translation event.



void setRotation(const SbRotation &r)

const SbRotation & getRotation() const

Set and get the relative change in rotation since the last rotation event.


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