public class SoGestureEvent extends SoEvent
SoGestureEvent
represents a series of touch events beginning with begin state and finishing with end state. It is the base class for gesture events in the Open Inventor model. Gesture events can be handled using (for example) an SoEventCallback
node.
All touch events are analyzed by recognizers. When a gesture is recognized, the recognizer generates the corresponding event. This class stores the begin/delta/end state of the gesture when the event occurred.
Note:
SoWinTouchScreen
, SoQtTouchScreen
, etc).
SoTouchManager
).
See also:
SoEvent
, SoRotateGestureEvent
, SoScaleGestureEvent
, SoTapGestureEvent, SoGestureRecognizer
Modifier and Type | Class and Description |
---|---|
static class |
SoGestureEvent.GestureStates
The different states a gesture event can have.
|
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoGestureEvent()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SoGestureEvent.GestureStates |
getGestureState()
Gets the gesture event state (Begin,Delta,End).
|
getNormalizedPosition, getPosition, getPosition, getPositionFloat, getPositionFloat, getTime, setAltDown, setButton1Down, setCtrlDown, setPosition, setPosition, setShiftDown, setTime, wasAltDown, wasButton1Down, wasCtrlDown, wasShiftDown
dispose, getNativeResourceHandle
public SoGestureEvent.GestureStates getGestureState()
Generated on July 31, 2019, Copyright � Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com