|
GEIS 2.0
Gesture Engine Interface Support
|
Gesture state information. More...
Data Structures | |
| class | GeisGroup |
| A collection of gesture frames. More... | |
| class | GeisGroupSet |
| A collection of GeisGroups. More... | |
| class | GeisTouch |
| An instance of a touch. More... | |
| class | GeisTouchId |
| Relates a touch in a frame to a touch object in a set. More... | |
| class | GeisTouchSet |
| A collection of GeisTouch. More... | |
| class | GeisFrame |
| A collection of information describing the state of a gesture. More... | |
Functions | |
| GeisSize | geis_groupset_group_count (GeisGroupSet groupset) |
| Gets the number of gesture groups in a groupset. | |
| GeisGroup | geis_groupset_group (GeisGroupSet groupset, GeisSize index) |
| Gets an indicated gesture group from a groupset. | |
| GeisInteger | geis_group_id (GeisGroup group) |
| Gets the identifier of a gesture group. | |
| GeisSize | geis_group_frame_count (GeisGroup group) |
| Gets the number of gesture frames in a gesture group. | |
| GeisFrame | geis_group_frame (GeisGroup group, GeisSize index) |
| Gets an indicated gesture frame from a gesture group. | |
| void | geis_group_reject (GeisGroup group) |
| Marks a gesture group as rejected. | |
| GeisSize | geis_touchset_touch_count (GeisTouchSet touchset) |
| Gets the number of touches in a touchset. | |
| GeisTouch | geis_touchset_touch (GeisTouchSet touchset, GeisSize index) |
| Gets an indicated touch from a touchset. | |
| GeisTouch | geis_touchset_touch_by_id (GeisTouchSet touchset, GeisTouchId touchid) |
| Gets an identified touch from a touchset. | |
| GeisTouchId | geis_touch_id (GeisTouch touch) |
| Gets the identifier of a touch. | |
| GeisSize | geis_touch_attr_count (GeisTouch touch) |
| Gets the number of attrs associated with a touch. | |
| GeisAttr | geis_touch_attr (GeisTouch touch, GeisSize index) |
| Gets an indicated attr from a touch. | |
| GeisAttr | geis_touch_attr_by_name (GeisTouch touch, GeisString name) |
| Gets a named attr from a touch. | |
| GeisGestureId | geis_frame_id (GeisFrame frame) |
| Gets the identifier of a gesture frame. | |
| GeisBoolean | geis_frame_is_class (GeisFrame frame, GeisGestureClass gesture_class) |
| Indicates if a gesture frame belongs to a gesture class. | |
| GeisSize | geis_frame_attr_count (GeisFrame frame) |
| Gets the number of attrs associated with a gesture frame. | |
| GeisAttr | geis_frame_attr (GeisFrame frame, GeisSize index) |
| Gets an indicated attr from a gesture frame. | |
| GeisAttr | geis_frame_attr_by_name (GeisFrame frame, GeisString name) |
| Gets a named attr from a gesture frame. | |
| GeisFloat * | geis_frame_matrix (GeisFrame frame) |
| Gets the current transform matrix of a gesture. | |
| GeisSize | geis_frame_touchid_count (GeisFrame frame) |
| Gets the number of touches making up a gesture for the frame. | |
| GeisTouchId | geis_frame_touchid (GeisFrame frame, GeisSize index) |
| Gets the ID of the indicated touch within the gesture frame. | |
| void | geis_gesture_reject (GeisGestureId gesture_id) |
| Marks a gesture as rejected. | |
Gesture Frame Event Attributes | |
| |
| #define | GEIS_EVENT_ATTRIBUTE_GROUPSET |
| The event attribute containing a pointer to a GeisGroupSet. | |
| #define | GEIS_EVENT_ATTRIBUTE_TOUCHSET |
| The event attribute containing a pointer to a GeisTouchSet. | |
Touch Attributes | |
| |
| #define | GEIS_TOUCH_ATTRIBUTE_ID |
| Identifies the touch. | |
| #define | GEIS_TOUCH_ATTRIBUTE_X |
| The X coordinate of the touch. | |
| #define | GEIS_TOUCH_ATTRIBUTE_Y |
| The Y coordinate of the touch. | |
Gesture state information.
Gesture frames, and their associated groups and touches, convey information about the current state of recognized gestures.
| #define GEIS_EVENT_ATTRIBUTE_GROUPSET |
The event attribute containing a pointer to a GeisGroupSet.
| #define GEIS_EVENT_ATTRIBUTE_TOUCHSET |
The event attribute containing a pointer to a GeisTouchSet.
| #define GEIS_TOUCH_ATTRIBUTE_ID |
Identifies the touch.
| #define GEIS_TOUCH_ATTRIBUTE_X |
The X coordinate of the touch.
| #define GEIS_TOUCH_ATTRIBUTE_Y |
The Y coordinate of the touch.
| GeisAttr geis_frame_attr | ( | GeisFrame | frame, |
| GeisSize | index | ||
| ) | [inherited] |
Gets an indicated attr from a gesture frame.
| [in] | frame | The gesture frame. |
| [in] | index | Indicates which attr to retrieve. |
| GeisAttr geis_frame_attr_by_name | ( | GeisFrame | frame, |
| GeisString | name | ||
| ) | [inherited] |
Gets a named attr from a gesture frame.
| [in] | frame | The gesture frame. |
| [in] | name | Names the attr to retrieve. |
| GeisSize geis_frame_attr_count | ( | GeisFrame | frame | ) | [inherited] |
Gets the number of attrs associated with a gesture frame.
| [in] | frame | The gesture frame. |
| GeisGestureId geis_frame_id | ( | GeisFrame | frame | ) | [inherited] |
Gets the identifier of a gesture frame.
| [in] | frame | the gesture frame. |
| GeisBoolean geis_frame_is_class | ( | GeisFrame | frame, |
| GeisGestureClass | gesture_class | ||
| ) | [inherited] |
Indicates if a gesture frame belongs to a gesture class.
| [in] | frame | The gesture frame. |
| [in] | gesture_class | The gesture class. |
gesture_class, false otherwise. | GeisFloat * geis_frame_matrix | ( | GeisFrame | frame | ) | [inherited] |
Gets the current transform matrix of a gesture.
| [in] | frame | The gesture frame. |
| GeisTouchId geis_frame_touchid | ( | GeisFrame | frame, |
| GeisSize | index | ||
| ) | [inherited] |
Gets the ID of the indicated touch within the gesture frame.
| [in] | frame | The gesture frame. |
| [in] | index | Indicates which touch ID to retrieve. |
| GeisSize geis_frame_touchid_count | ( | GeisFrame | frame | ) | [inherited] |
Gets the number of touches making up a gesture for the frame.
| [in] | frame | The gesture frame. |
| void geis_gesture_reject | ( | GeisGestureId | gesture_id | ) | [inherited] |
Marks a gesture as rejected.
| [in] | gesture_id | Identifies the gesture. |
Gets an indicated gesture frame from a gesture group.
| [in] | group | The gesture group. |
| [in] | index | Indicates which gesture frame to retrieve. |
| GeisSize geis_group_frame_count | ( | GeisGroup | group | ) | [inherited] |
Gets the number of gesture frames in a gesture group.
| [in] | group | The gesture group. |
| GeisInteger geis_group_id | ( | GeisGroup | group | ) | [inherited] |
Gets the identifier of a gesture group.
| [in] | group | The gesture group. |
| void geis_group_reject | ( | GeisGroup | group | ) | [inherited] |
Marks a gesture group as rejected.
| [in] | group | The gesture group to reject. |
| GeisGroup geis_groupset_group | ( | GeisGroupSet | groupset, |
| GeisSize | index | ||
| ) | [inherited] |
Gets an indicated gesture group from a groupset.
| [in] | groupset | The groupset. |
| [in] | index | Indicates which gesture group to retrieve. |
| GeisSize geis_groupset_group_count | ( | GeisGroupSet | groupset | ) | [inherited] |
Gets the number of gesture groups in a groupset.
| [in] | groupset | The groupset. |
| GeisAttr geis_touch_attr | ( | GeisTouch | touch, |
| GeisSize | index | ||
| ) | [inherited] |
Gets an indicated attr from a touch.
| [in] | touch | The touch. |
| [in] | index | Indicates which attr to retrieve. |
| GeisAttr geis_touch_attr_by_name | ( | GeisTouch | touch, |
| GeisString | name | ||
| ) | [inherited] |
Gets a named attr from a touch.
| [in] | touch | The touch. |
| [in] | name | Names the attr to retrieve. |
| GeisSize geis_touch_attr_count | ( | GeisTouch | touch | ) | [inherited] |
Gets the number of attrs associated with a touch.
| [in] | touch | The touch. |
| GeisTouchId geis_touch_id | ( | GeisTouch | touch | ) | [inherited] |
Gets the identifier of a touch.
| [in] | touch | The touch. |
| GeisTouch geis_touchset_touch | ( | GeisTouchSet | touchset, |
| GeisSize | index | ||
| ) | [inherited] |
Gets an indicated touch from a touchset.
| [in] | touchset | The touchset. |
| [in] | index | Indicates which touch to retrieve. |
| GeisTouch geis_touchset_touch_by_id | ( | GeisTouchSet | touchset, |
| GeisTouchId | touchid | ||
| ) | [inherited] |
Gets an identified touch from a touchset.
| [in] | touchset | The touchset. |
| [in] | touchid | Identifies a touch. |
Returns the identified touch, or NULL if the touchid is not in the touchset.
| GeisSize geis_touchset_touch_count | ( | GeisTouchSet | touchset | ) | [inherited] |
Gets the number of touches in a touchset.
| [in] | touchset | The touchset, |