Class SoScaleGestureRecognizer
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.gestures.recognizers.SoGestureRecognizer
com.openinventor.inventor.gestures.recognizers.SoScaleGestureRecognizer
Scale (pinch) gesture recognizer.
 
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:
- In order to get touch events for the gesture recognizer(s) to recognize, the application must explicitly register a touch screen device (
,invalid referenceSoWinTouchScreen, etc).invalid referenceSoQtTouchScreen
- In order to get gesture events, the application must explicitly register gesture recognizers with the touch screen device's touch manager (SoTouchManager).
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class com.openinventor.inventor.InventorInventor.ConstructorCommand
- 
Field SummaryFields inherited from class com.openinventor.inventor.InventorVERBOSE_LEVEL, ZeroHandle
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class com.openinventor.inventor.gestures.recognizers.SoGestureRecognizerrecognizeMethods inherited from class com.openinventor.inventor.Inventordispose, getNativeResourceHandle
- 
Constructor Details- 
SoScaleGestureRecognizerpublic SoScaleGestureRecognizer()Constructor.
 
-