Class SoDoubleTapGestureRecognizer

    • Constructor Detail

      • SoDoubleTapGestureRecognizer

        public SoDoubleTapGestureRecognizer()
        Constructor.
    • Method Detail

      • setMaximumDurationBetweenTap

        public void setMaximumDurationBetweenTap​(SbTime t)
        Sets the maximum time that can elapse between the two taps of a double tap. (0.5 seconds by default)
      • getMaximumTapDuration

        public SbTime getMaximumTapDuration()
        Gets tap maximum duration (1.0 seconds by default).
      • setSpatialRestriction

        public void setSpatialRestriction​(int c)
        Sets the radius of limitation circle in which the finger has to stay throughout the gesture. (60 pixels by default)
      • getMaximumDurationBetweenTap

        public SbTime getMaximumDurationBetweenTap()
        Gets the maximum time that can elapse between the two taps of a double tap. (0.5 seconds by default)
      • getSpatialRestriction

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

        public void setMaximumTapDuration​(SbTime time)
        Sets tap maximum duration (1.0 seconds by default).