CustomBody Class (KinectEx)

This class effectively mimics the Kinect SDK's Body struct, but does so with a class that can be serialized and is not sealed. These capabilities are needed to support both the smoothing / filtering and the DVR functions of the KinectEx library.

Namespace: KinectEx
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
public class CustomBody : IBody

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

type public CustomBody =
	class
		interface IBody
	end

The CustomBody type exposes the following members.

  Platforms Name Description
CustomBody Initializes a new instance of the CustomBody class. 
Top
  Platforms Name Description
_jointOrientations The joint orientations. 
_joints The joints. 
Top
  Platforms Name Description
ClippedEdges Gets or sets the clipped edges. (Implements IBody.ClippedEdges().)
HandLeftConfidence Gets or sets the hand left confidence. (Implements IBody.HandLeftConfidence().)
HandLeftState Gets or sets the state of the hand left. (Implements IBody.HandLeftState().)
HandRightConfidence Gets or sets the hand right confidence. (Implements IBody.HandRightConfidence().)
HandRightState Gets or sets the state of the hand right. (Implements IBody.HandRightState().)
HasMappedColorPositions Gets or sets whether the color space positions were mapped for this body. (Implements IBody.HasMappedColorPositions().)
HasMappedDepthPositions Gets or sets whether the depth space positions were mapped for this body. (Implements IBody.HasMappedDepthPositions().)
IsDisposed Gets or sets a value indicating whether this instance is disposed. 
IsRestricted Gets or sets a value indicating whether this instance is restricted. (Implements IBody.IsRestricted().)
IsTracked Gets or sets a value indicating whether this instance is tracked. (Implements IBody.IsTracked().)
JointOrientations Gets the joint orientations. (Implements IBody.JointOrientations().)
Joints Gets or sets the joints. (Implements IBody.Joints().)
Lean Gets or sets the lean. (Implements IBody.Lean().)
LeanTrackingState Gets or sets the state of the lean tracking. (Implements IBody.LeanTrackingState().)
TrackingId Gets or sets the tracking identifier. (Implements IBody.TrackingId().)
Top
  Platforms Name Description
MapColorPositions Iterates over the body's CameraSpacePoint joint locations and maps each to a ColorSpacePoint. (Implements IBody.MapColorPositions().)
MapDepthPositions Iterates over the body's CameraSpacePoint joint locations and maps each to a DepthSpacePoint. (Implements IBody.MapDepthPositions().)
Update(Body) Updates the values of this CustomBody with the values contained in the referenced Body. (Implements IBody.Update().)
Update(IBody) Updates the values of this CustomBody with the values contained in the referenced IBody. (Implements IBody.Update().)
Update(Body) Updates the values of this CustomBody with the values contained in the referenced Body. (Implements IBody.Update().)
Top
Supported in:

    
 Windows Desktop - .NET 4.5
    
 Windows Desktop - .NET 4.5 (without Kinect SDK)
    
 Windows 8.1 Store - WinRT
    
 Windows 8.1 Store - WinRT (without Kinect SDK)
    
 Windows Phone 8 - WinRT