A path stores the current trajectory of an independent finger or palm surface contact. More...
#include "FWHID_Contact.h"
Data Structures | |
struct | FWHID_Path |
FWHID_Path is the structure that holds all the data about a Path. More... | |
Typedefs | |
typedef * | FWHID_PathPtr |
Functions | |
void | FWHID_setPathFrameCallback (FWMultiTouchDevicePtr fwdevice, FWHIDCallbackFunction fwcallback) |
Sets the Path Frame callback. | |
int | FWHID_getPaths (FWMultiTouchDevicePtr fwdevice, FWHID_Path path_copies[kFWHID_MAX_CONTACT_PATHS]) |
Retrieves a copy of the path array from the device. | |
FWHID_Path | FWHID_getPath (FWMultiTouchDevicePtr fwdevice, int path_id) |
Accesses a certain Path from a device. | |
bool | FWHID_isPathIdentityCurrent (FWHID_PathPtr pPath) |
Tests whether finger/hand identities have been assigned to a path and the path is active. | |
bool | FWHID_isPathTouching (FWHID_PathPtr pPath) |
Tests whether the path has a valid contact/touch in the current image frame. | |
bool | FWHID_isPathDebouncing (FWHID_PathPtr pPath) |
Tests whether the path is undergoing either press debounce (only been touching for one frame) or release debounce (only been lifted for one frame). | |
int | FWHID_snprintfActivePaths (char *buf, size_t bufsize, FWMultiTouchDevicePtr fwdevice, bool contact_info_only) |
Prints description of all active (FWHID_isPathIdentityCurrent() true) paths. |
A path stores the current trajectory of an independent finger or palm surface contact.
Last Updated Wayne Westerman on Wed Dec 8 2003.
|
|
|
Accesses a certain Path from a device.
|
|
Retrieves a copy of the path array from the device.
|
|
Tests whether the path is undergoing either press debounce (only been touching for one frame) or release debounce (only been lifted for one frame).
|
|
Tests whether finger/hand identities have been assigned to a path and the path is active. Gesture recognition programs should use this test function to determine which paths to process or pay attention to. It ignores "noise" or "press debounce" contacts which touch for one frame only and then disappear. No finger/hand identities are assigned to such "noise" contacts. However, it returns true during "release debounce" so that path continuity and identities are maintained should a contact disappear for one frame and then re-appear.
|
|
Tests whether the path has a valid contact/touch in the current image frame.
|
|
Sets the Path Frame callback. The function pointed to by fwcallback is called everytime the device pointed to by fwdevice receives a complete frame of data.
|
|
Prints description of all active (FWHID_isPathIdentityCurrent() true) paths.
|