Click or drag to resize
SoDoubleTapGestureRecognizer Class

Double tap gesture recognizer.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.Gestures.RecognizersSoGestureRecognizer
      OIV.Inventor.Gestures.RecognizersSoDoubleTapGestureRecognizer

Namespace: OIV.Inventor.Gestures.Recognizers
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoDoubleTapGestureRecognizer : SoGestureRecognizer

The SoDoubleTapGestureRecognizer type exposes the following members.

Constructors
  NameDescription
Public methodSoDoubleTapGestureRecognizer

Constructor.

Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetMaximumDurationBetweenTap

Gets the maximum time that can elapse between the two taps of a double tap.

Public methodGetMaximumTapDuration

Gets tap maximum duration (1.0 seconds by default).

Public methodGetSpatialRestriction

Gets the radius of limitation circle in which the finger has to stay throughout the gesture (60 pixels by default).

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRecognize

If the specified touch event completes a recognized gesture, returns an OIV.Inventor.Gestures.Events.SoGestureEvent, else returns null.

(Inherited from SoGestureRecognizer.)
Public methodSetMaximumDurationBetweenTap

Sets the maximum time that can elapse between the two taps of a double tap.

Public methodSetMaximumTapDuration

Sets tap maximum duration (1.0 seconds by default).

Public methodSetSpatialRestriction

Sets the radius of limitation circle in which the finger has to stay throughout the gesture.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

OIV.Inventor.Gestures.Recognizers.SoDoubleTapGestureRecognizer analyses touch events and recognizes a one finger double-tap gesture. It returns an OIV.Inventor.Gestures.Events.SoDoubleTapGestureEvent with this gesture is recognized. The finger has to stay in a limitation area from the down event to the end one and must be completed within a maximum elapsed time. This recognizer only generates an END event.

Note:

See Also