SoMotion3Event — 3D motion events
Contents
Description
SoMotion3Event represents 3D relative motion events in the Inventor event model.
Inherits From
SoEvent > SoMotion3Event
Methods
SoMotion3Event()
Constructor.
staticSoTypegetClassTypeId()
Return the type id for the SoMotion3Event class.
voidsetTranslation(constSbVec3f&t)constSbVec3f&getTranslation()const
Set and get the relative change in translation since the last translation event.
voidsetRotation(constSbRotation&r)constSbRotation&getRotation()const
Set and get the relative change in rotation since the last rotation event.
Name
SoMotion3Event — 3D motion events
See Also
SoEvent,SoButtonEvent,SoKeyboardEvent,SoLocation2Event,SoMouseButtonEvent,SoSpaceballButtonEvent,SoHandleEventAction,SoEventCallback,SoSelection,SoInteraction,SoXtDeviceSoMotion3Event(3IV)()
Synopsis
#include<Inventor/events/SoMotion3Event.h>
Methods from class SoMotion3Event:
SoMotion3Event()staticSoTypegetClassTypeId()voidsetTranslation(constSbVec3f&t)constSbVec3f&getTranslation()constvoidsetRotation(constSbRotation&r)constSbRotation&getRotation()const
Methods from class SoEvent:
virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvoidsetTime(SbTimet)SbTimegetTime()constvoidsetPosition(constSbVec2s&p)constSbVec2s&getPosition()constconstSbVec2s&getPosition(constSbViewportRegion&vpRgn)constconstSbVec2f&getNormalizedPosition(constSbViewportRegion&vpRgn)constvoidsetShiftDown(SbBoolisDown)voidsetCtrlDown(SbBoolisDown)voidsetAltDown(SbBoolisDown)SbBoolwasShiftDown()constSbBoolwasCtrlDown()constSbBoolwasAltDown()const