Package com.openinventor.inventor.events
Class SoMotion3Event
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.events.SoEvent
com.openinventor.inventor.events.SoMotion3Event
3D motion events.
SoMotion3Event
represents 3D relative motion events in the Open Inventor event model.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionGets the relative change in rotation since the last rotation event.Gets the relative change in translation since the last translation event.void
Sets the relative change in rotation since the last rotation event.void
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
-
Constructor Details
-
SoMotion3Event
public SoMotion3Event()Constructor.
-
-
Method Details
-
getTranslation
Gets the relative change in translation since the last translation event. -
setRotation
Sets the relative change in rotation since the last rotation event. -
setTranslation
Sets the relative change in translation since the last translation event. -
getRotation
Gets the relative change in rotation since the last rotation event.
-