public class SoLongTapGestureEvent extends SoGestureEvent
SoLongTapGestureEvent represents a long tap (touch-and-hold) gesture event in the Open Inventor event model. Touch events are analyzed by a SoLongTapGestureRecognizer. When a long tap gesture is recognized, the recognizer generates this event. It's a gesture with only END state (only one event is generated, at the end of the gesture). The finger has to stay within a limitation area and the gesture must be completed within a time limit (see SoLongTapGestureRecognizer).
Note:
SoTouchManager).
See also:
SoEvent, SoGestureEvent, SoRotateGestureEvent, SoScaleGestureEvent, SoDoubleTapGestureEvent; SoLongTapGestureRecognizer
SoGestureEvent.GestureStatesInventor.ConstructorCommandBEGIN, DELTA, ENDVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoLongTapGestureEvent()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SbTime |
getDuration()
Returns duration of long tap.
|
void |
setDuration(SbTime time)
Sets duration of long tap (in seconds)
|
getGestureStategetNormalizedPosition, getPosition, getPosition, getPositionFloat, getPositionFloat, getTime, setAltDown, setButton1Down, setCtrlDown, setPosition, setPosition, setShiftDown, setTime, wasAltDown, wasButton1Down, wasCtrlDown, wasShiftDowndispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadsGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com