public class SoMotion3Event extends SoEvent
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
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoMotion3Event()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SbRotation |
getRotation()
Gets the relative change in rotation since the last rotation event.
|
SbVec3f |
getTranslation()
Gets the relative change in translation since the last translation event.
|
void |
setRotation(SbRotation r)
Sets the relative change in rotation since the last rotation event.
|
void |
setTranslation(SbVec3f t)
Sets the relative change in translation since the last translation event.
|
getNormalizedPosition, getPosition, getPosition, getPositionFloat, getPositionFloat, getTime, setAltDown, setButton1Down, setCtrlDown, setPosition, setPosition, setShiftDown, setTime, wasAltDown, wasButton1Down, wasCtrlDown, wasShiftDown
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SbVec3f getTranslation()
public void setTranslation(SbVec3f t)
public SbRotation getRotation()
public void setRotation(SbRotation r)
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com