Click or drag to resize
SoRotateGestureRecognizer Class

Rotate gesture recognizer.

Inheritance Hierarchy

Namespace: OIV.Inventor.Gestures.Recognizers
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public class SoRotateGestureRecognizer : SoGestureRecognizer

The SoRotateGestureRecognizer type exposes the following members.

Constructors
  NameDescription
Public methodSoRotateGestureRecognizer

Constructor.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRecognize

If the specified touch event completes a recognized gesture, returns an SoGestureEvent, else returns null.

(Inherited from SoGestureRecognizer.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

SoRotateGestureRecognizer analyses touch events and recognizes a two finger rotate gesture. It generates SoRotateGestureEvent 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).

See Also