C# Class Kinect.KinectGestures

KinectGestures is utility class that processes programmatic Kinect gestures
Afficher le fichier Open project: BrainProject/UnityTemp Class Usage Examples

Méthodes publiques

Méthode Description
CheckForGesture ( long userId, GestureData &gestureData, float timestamp, Vector3 &jointsPos, bool &jointsTracked ) : void

estimate the state and progress of the given gesture.

GetNeededJointIndexes ( KinectManager manager ) : int[]

Gets the list of gesture joint indexes.

Private Methods

Méthode Description
CheckPoseComplete ( GestureData &gestureData, float timestamp, Vector3 jointPos, bool isInPose, float durationToComplete ) : void
SetGestureCancelled ( GestureData &gestureData ) : void
SetGestureJoint ( GestureData &gestureData, float timestamp, int joint, Vector3 jointPos ) : void
SetScreenPos ( long userId, GestureData &gestureData, Vector3 &jointsPos, bool &jointsTracked ) : void
SetWheelRotation ( long userId, GestureData &gestureData, Vector3 initialPos, Vector3 currentPos ) : void
SetZoomFactor ( long userId, GestureData &gestureData, float initialZoom, Vector3 &jointsPos, bool &jointsTracked ) : void

Method Details

CheckForGesture() public static méthode

estimate the state and progress of the given gesture.
public static CheckForGesture ( long userId, GestureData &gestureData, float timestamp, Vector3 &jointsPos, bool &jointsTracked ) : void
userId long User ID
gestureData GestureData Gesture-data structure
timestamp float Current time
jointsPos UnityEngine.Vector3 Joints-position array
jointsTracked bool Joints-tracked array
Résultat void

GetNeededJointIndexes() public static méthode

Gets the list of gesture joint indexes.
public static GetNeededJointIndexes ( KinectManager manager ) : int[]
manager KinectManager The KinectManager instance
Résultat int[]