Base class for all gesture recognizers. More...
#include <Inventor/gestures/recognizers/SoGestureRecognizer.h>
Public Member Functions | |
virtual SoEvent * | recognize (SoEvent *touchEvent)=0 |
If the specified touch event completes a recognized gesture, returns an SoGestureEvent, else returns null. | |
Base class for all gesture recognizers.
A gesture recognizer analyzes touch events and translates them into corresponding gesture events.
Note:
SoScaleGestureRecognizer, SoRotateGestureRecognizer, SoDoubleTapGestureRecognizer, SoLongTapGestureRecognizer
Definition at line 78 of file SoGestureRecognizer.h.
If the specified touch event completes a recognized gesture, returns an SoGestureEvent, else returns null.
Returns a pointer to an internal data object. Do not modify or delete this object.
Implemented in SoDoubleTapGestureRecognizer, SoLongTapGestureRecognizer, SoRotateGestureRecognizer, and SoScaleGestureRecognizer.