Class for long tap gesture events. More...
#include <Inventor/gestures/events/SoLongTapGestureEvent.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
SoLongTapGestureEvent () | |
SbTime | getDuration () const |
void | setDuration (SbTime time) |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Class for long tap gesture events.
SoLongTapGestureEvent represents a long tap (touch-and-hold) gesture event in the Open Inventor event model. Touch events are analyzed by a SoLongTapGestureRecognizer. When a long tap gesture is recognized, the recognizer generates this event. It's a gesture with only END state (only one event is generated, at the end of the gesture). The finger has to stay within a limitation area and the gesture must be completed within a time limit (see SoLongTapGestureRecognizer).
Note:
SoEvent, SoGestureEvent, SoRotateGestureEvent, SoScaleGestureEvent, SoDoubleTapGestureEvent; SoLongTapGestureRecognizer
SoLongTapGestureEvent::SoLongTapGestureEvent | ( | ) |
Constructor.
static SoType SoLongTapGestureEvent::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoGestureEvent.
SbTime SoLongTapGestureEvent::getDuration | ( | ) | const |
Returns duration of long tap.
virtual SoType SoLongTapGestureEvent::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoGestureEvent.
void SoLongTapGestureEvent::setDuration | ( | SbTime | time | ) |
Sets duration of long tap (in seconds).