| SoGestureRecognizer Class |
Base class for all gesture recognizers.
Namespace: OIV.Inventor.Gestures.Recognizers
The SoGestureRecognizer type exposes the following members.
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Recognize | If the specified touch event completes a recognized gesture, returns an SoGestureEvent, else returns null. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
A gesture recognizer analyzes touch events and translates them into corresponding gesture events.
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).