C# Class LightBuzz.Vitruvius.FingerTracking.HandsController

Detects human hands in the 3D and 2D space.
Exibir arquivo Open project: inessadl/kinect-2-libras Class Usage Examples

Private Properties

Property Type Description
CalculateDistance double
GetHand LightBuzz.Vitruvius.FingerTracking.Hand
GetHand LightBuzz.Vitruvius.FingerTracking.Hand

Public Methods

Method Description
HandsController ( ) : Microsoft.Kinect

Creates a new instance of HandsController.

HandsController ( CoordinateMapper coordinateMapper ) : Microsoft.Kinect

Creates a new instance of HandsController with the specified coordinate mapper.

HandsController ( ) : System

Creates a new instance of HandsController.

HandsController ( CoordinateMapper coordinateMapper ) : System

Creates a new instance of HandsController with the specified coordinate mapper.

Update ( IntPtr data, Body body ) : void

Updates the finger-detection engine with the new data.

Update ( ushort data, Body body ) : void

Updates the finger-detection engine with the new data.

getFingers ( ) : IList
getFingers ( ) : List

Method for using to get list of finger right hand

Private Methods

Method Description
CalculateDistance ( float handLeftX, float handLeftY, float tipLeftX, float tipLeftY, float thumbLeftX, float thumbLeftY ) : double
GetHand ( ulong trackingID, HandState state, List contour, double angle, float wristX, float wristY, bool hand ) : LightBuzz.Vitruvius.FingerTracking.Hand
GetHand ( ulong trackingID, HandState state, List contour, double angle, float wristX, float wristY, bool hand, float handRightX, float handRightY ) : LightBuzz.Vitruvius.FingerTracking.Hand

Method Details

HandsController() public method

Creates a new instance of HandsController.
public HandsController ( ) : Microsoft.Kinect
return Microsoft.Kinect

HandsController() public method

Creates a new instance of HandsController with the specified coordinate mapper.
public HandsController ( CoordinateMapper coordinateMapper ) : Microsoft.Kinect
coordinateMapper CoordinateMapper The coordinate mapper that will be used during the finger detection process.
return Microsoft.Kinect

HandsController() public method

Creates a new instance of HandsController.
public HandsController ( ) : System
return System

HandsController() public method

Creates a new instance of HandsController with the specified coordinate mapper.
public HandsController ( CoordinateMapper coordinateMapper ) : System
coordinateMapper CoordinateMapper The coordinate mapper that will be used during the finger detection process.
return System

Update() public method

Updates the finger-detection engine with the new data.
public Update ( IntPtr data, Body body ) : void
data System.IntPtr An IntPtr that describes depth values.
body Body The body to search for hands and fingers.
return void

Update() public method

Updates the finger-detection engine with the new data.
public Update ( ushort data, Body body ) : void
data ushort An array of depth values.
body Body The body to search for hands and fingers.
return void

getFingers() public method

public getFingers ( ) : IList
return IList

getFingers() public method

Method for using to get list of finger right hand
public getFingers ( ) : List
return List