User Tools

Site Tools


gestures:touch:simple:geometric:path-based:1-finger-stroke-letter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
gestures:touch:simple:geometric:path-based:1-finger-stroke-letter [2015/09/14 18:01]
127.0.0.1 external edit
gestures:touch:simple:geometric:path-based:1-finger-stroke-letter [2019/01/29 19:07] (current)
Line 2: Line 2:
 (Touch -> Geometric -> Path-Based -> One Point Stroke Letter “1-Finger-Stroke-Letter”) (Touch -> Geometric -> Path-Based -> One Point Stroke Letter “1-Finger-Stroke-Letter”)
  
 +{| style="​100%"​
 +|+
 +|
 +{{:​gestures:​touch:​simple:​geometric:​path-based:​stroke_letter_b_uppercase_gestureworks.png?​200|}}
 +|
 This gesture object describes a single finger stroke or "​uni-stroke"​ gesture. When a user places one touch point on a touch object and draws a path the gesture compares the captured path to the path described in the gesture object and returns a discrete gesture event if it is a match. The exact path and number of touch points are defined in the <​match>​ tag. This gesture object describes a single finger stroke or "​uni-stroke"​ gesture. When a user places one touch point on a touch object and draws a path the gesture compares the captured path to the path described in the gesture object and returns a discrete gesture event if it is a match. The exact path and number of touch points are defined in the <​match>​ tag.
 +|}
  
 The process of comparing the GML defined path to a captured path is defined by a series of functions in the "​vectormetric"​ referenced in the <​analysis>​ block. This process involves normalizing the number of points used to describe the sample vector path, scaling the sample path so that it is comparatively the same size as the reference path, then finding the cumulative difference between the reference path trajectory and the captured sample path. This returns a probability value which is defined as one of the standard gesture object dimensions. If the probability of the stroke match is below 0.7 a gesture event will not be dispatched. The process of comparing the GML defined path to a captured path is defined by a series of functions in the "​vectormetric"​ referenced in the <​analysis>​ block. This process involves normalizing the number of points used to describe the sample vector path, scaling the sample path so that it is comparatively the same size as the reference path, then finding the cumulative difference between the reference path trajectory and the captured sample path. This returns a probability value which is defined as one of the standard gesture object dimensions. If the probability of the stroke match is below 0.7 a gesture event will not be dispatched.
gestures/touch/simple/geometric/path-based/1-finger-stroke-letter.txt · Last modified: 2019/01/29 19:07 (external edit)