SoGestureRecognizer Class Reference

Base class for all gesture recognizers. More...

#include <Inventor/gestures/recognizers/SoGestureRecognizer.h>

Inheritance diagram for SoGestureRecognizer:
SoDoubleTapGestureRecognizer SoLongTapGestureRecognizer SoRotateGestureRecognizer SoScaleGestureRecognizer

List of all members.

Public Member Functions

virtual SoEventrecognize (SoEvent *touchEvent)=0

Detailed Description

Base class for all gesture recognizers.

A gesture recognizer analyzes touch events and translates them into corresponding gesture events.

Note:

SEE ALSO

SoScaleGestureRecognizer, SoRotateGestureRecognizer, SoDoubleTapGestureRecognizer, SoLongTapGestureRecognizer


Member Function Documentation

virtual SoEvent* SoGestureRecognizer::recognize ( SoEvent touchEvent  )  [pure virtual]

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/