public class GestureActions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Thread |
poseThread
The pose thread.
|
Constructor and Description |
---|
GestureActions() |
Modifier and Type | Method and Description |
---|---|
static int |
checkIfOneHandUpTimersHaveExpired()
Check if one hand up timers have expired.
|
static boolean |
checkIfTimerHasExpired(java.util.Date poseStartTime,
int timeOut)
Check if timer has expired.
|
static void |
disableGestureControl()
Disable gesture control.
|
static void |
enableGestureControl(int userID)
Enable gesture control.
|
static void |
gestureControlUpdate(int userID)
Gesture control update.
|
static void |
performGesture(int userID,
usertracking.PoseName gest,
boolean isActivated)
Perform gesture.
|
static void |
resetPoseDetection()
Reset pose detection.
|
public static int checkIfOneHandUpTimersHaveExpired()
public static boolean checkIfTimerHasExpired(java.util.Date poseStartTime, int timeOut)
poseStartTime
- the pose start timetimeOut
- the time outpublic static void disableGestureControl()
public static void enableGestureControl(int userID)
userID
- the user idpublic static void gestureControlUpdate(int userID)
userID
- the user idpublic static void performGesture(int userID, usertracking.PoseName gest, boolean isActivated)
userID
- the user idgest
- the gestisActivated
- the is activatedpublic static void resetPoseDetection()