Method | Description | |
---|---|---|
Dispose ( ) : void |
Disposes the BodyFrameReader
|
|
KinectBodyView ( Microsoft.Kinect.KinectSensor kinectSensor ) : System |
Initializes a new instance of the KinectBodyView class
|
|
UpdateBodyFrame ( Body bodies ) : void |
Updates the body array with new information from the sensor Should be called whenever a new BodyFrameArrivedEvent occurs
|
Method | Description | |
---|---|---|
DrawBody ( Joint>.IReadOnlyDictionary |
Draws a body
|
|
DrawBone ( Joint>.IReadOnlyDictionary |
Draws one bone of a body (joint to joint)
|
|
DrawHand ( HandState handState, Point handPosition, System.Windows.Media.DrawingContext drawingContext ) : void |
Draws a hand symbol if the hand is tracked: red circle = closed, green circle = opened; blue circle = lasso
|
|
Reader_BodyFrameArrived ( object sender, BodyFrameArrivedEventArgs e ) : void |
Handles the body frame data arriving from the sensor and updates the associated gesture detector object for each body
|
public KinectBodyView ( Microsoft.Kinect.KinectSensor kinectSensor ) : System | ||
kinectSensor | Microsoft.Kinect.KinectSensor | Active instance of the KinectSensor |
return | System |
public UpdateBodyFrame ( Body bodies ) : void | ||
bodies | Body | Array of bodies to update |
return | void |