50#ifndef _SO_DOUBLE_TAP_GESTURE_RECOGNIZER_
51#define _SO_DOUBLE_TAP_GESTURE_RECOGNIZER_
142 SbTime m_maximumDurationBetweenTap;
143 SbTime m_maximumTapDuration;
147 int m_spatialRestriction;
152 bool m_secondTapInProgress;
Class for representation of a time.
Class for double-tap gesture events.
Double tap gesture recognizer.
SoEvent * recognize(SoEvent *touchEvent)
If a double tap gesture is recognized, returns an SoDoubleTapGestureEvent, else returns null.
void setSpatialRestriction(int c)
Sets the radius of limitation circle in which the finger has to stay throughout the gesture.
void setMaximumDurationBetweenTap(SbTime t)
Sets the maximum time that can elapse between the two taps of a double tap.
SbTime getMaximumTapDuration() const
Gets tap maximum duration (1.0 seconds by default).
int getSpatialRestriction(void) const
Gets the radius of limitation circle in which the finger has to stay throughout the gesture (60 pixel...
SbTime getMaximumDurationBetweenTap() const
Gets the maximum time that can elapse between the two taps of a double tap.
void setMaximumTapDuration(SbTime time)
Sets tap maximum duration (1.0 seconds by default).
virtual ~SoDoubleTapGestureRecognizer()
Destructor.
SoDoubleTapGestureRecognizer()
Constructor.
Base class for all events.
Base class for all gesture recognizers.