Class SoRotateGestureRecognizer
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.gestures.recognizers.SoGestureRecognizer
-
- com.openinventor.inventor.gestures.recognizers.SoRotateGestureRecognizer
-
public class SoRotateGestureRecognizer extends SoGestureRecognizer
Rotate gesture recognizer.SoRotateGestureRecognizer
analyses touch events and recognizes a two finger rotate gesture. It generatesSoRotateGestureEvent
events when this gesture is recognized. This recognizer generates a BEGIN event, followed by DELTA events and finishing with an END event (SoGestureEvent.getGestureState()
).Note:
- In order to get touch events for the gesture recognizer(s) to recognize, the application must explicitly register a touch screen device (
SoWinTouchScreen
,SoQtTouchScreen
, etc). - In order to get gesture events, the application must explicitly register gesture recognizers with the touch screen device's touch manager (
SoTouchManager
).
- In order to get touch events for the gesture recognizer(s) to recognize, the application must explicitly register a touch screen device (
-
-
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 SoRotateGestureRecognizer()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.gestures.recognizers.SoGestureRecognizer
recognize
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-