public class SoScaleGestureRecognizer extends SoGestureRecognizer
SoScaleGestureRecognizer
analyses touch events and recognizes a scale (two finger pinch) gesture. It returns an SoScaleGestureEvent
(pinch) event if this gesture is recognized. The scale event contains the scale factor between the current state and the initial one. This recognizer generates a BEGIN event, followed by DELTA events and finishing with an END event (SoGestureEvent.getGestureState()
).
Note:
SoTouchManager
).
See also:
SoGestureRecognizer
, SoRotateGestureRecognizer
, SoDoubleTapGestureRecognizer
, SoLongTapGestureRecognizer
, SoScaleGestureEvent
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoScaleGestureRecognizer()
Constructor.
|
recognize
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com