Package com.openinventor.inventor.events
Class SoMotion3Event
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.events.SoEvent
-
- com.openinventor.inventor.events.SoMotion3Event
-
public class SoMotion3Event extends SoEvent
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoMotion3Event()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class com.openinventor.inventor.events.SoEvent
getNormalizedPosition, getPosition, getPosition, getPositionFloat, getPositionFloat, getTime, setAltDown, setButton1Down, setCtrlDown, setPosition, setPosition, setShiftDown, setTime, wasAltDown, wasButton1Down, wasCtrlDown, wasShiftDown
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getTranslation
public SbVec3f getTranslation()
Gets the relative change in translation since the last translation event.
-
setRotation
public void setRotation(SbRotation r)
Sets the relative change in rotation since the last rotation event.
-
setTranslation
public void setTranslation(SbVec3f t)
Sets the relative change in translation since the last translation event.
-
getRotation
public SbRotation getRotation()
Gets the relative change in rotation since the last rotation event.
-
-