BodyExtensions Class (KinectEx)
Contains a number of helpful extensions to Kinect Body (and KinectEx IBody)
class. Included are methods to get individual bones (really start and end
joints), find angles between bones (whether connected by a common joint or
not), and to find the distance between joints.
- C#
- VB
- C++
- F#
[ExtensionAttribute] public static class BodyExtensions
Syntax for VB is not yet implemented.
Syntax for C++ is not yet implemented
[<ExtensionAttribute>] [<AbstractClass>] [<Sealed>] type public BodyExtensions = class end
The BodyExtensions type exposes the following members.
Platforms | Name | Description | |
---|---|---|---|
AngleBetween | Gets the angle between two |
||
GetAngleAt(Body, JointType) | Returns the angle (in degrees) between the two bones that
intersect at the specified |
||
GetAngleAt(Body, JointType) | Returns the angle (in degrees) between the two bones that
intersect at the specified |
||
GetAngleAt(IBody, JointTypeEx) | Returns the angle (in degrees) between the two bones that
intersect at the specified |
||
GetAngleBetween(IBody, BoneTypeEx, BoneTypeEx, bool, bool) | Returns the angle (in degrees) between the two specified
|
||
GetAngleBetween(Body, BoneTypeEx, BoneTypeEx, bool, bool) | Returns the angle (in degrees) between the two specified
|
||
GetAngleBetween(Body, BoneTypeEx, BoneTypeEx, bool, bool) | Returns the angle (in degrees) between the two specified
|
||
GetBone(IBody, BoneTypeEx) | Gets a |
||
GetBone(Body, BoneTypeEx) | Gets a |
||
GetBone(Body, BoneTypeEx) | Gets a |
||
GetBonesAt(Body, JointType) | Gets a list of the two |
||
GetBonesAt(Body, JointType) | Gets a list of the two |
||
GetBonesAt(IBody, JointTypeEx) | Gets a list of the two |
||
GetDistanceBetween(Body, JointType, JointType) | Returns the distance (in meters) between the two specified joints. | ||
GetDistanceBetween(Body, JointType, JointType) | Returns the distance (in meters) between the two specified joints. | ||
GetDistanceBetween(IBody, JointTypeEx, JointTypeEx) | Returns the distance (in meters) between the two specified joints. | ||
GetMirroredJoint(Body, JointType) | Gets an |
||
GetMirroredJoint(IBody, JointTypeEx) | Gets an |
||
GetMirroredJoint(Body, JointType) | Gets an |
||
GetMirroredJointOrientation(Body, JointType) | Gets the |
||
GetMirroredJointOrientation(Body, JointType) | Gets the |
||
GetMirroredJointOrientation(IBody, JointTypeEx) | Gets the |
||
GetVector(Body, JointType, JointType) | Get a |
||
GetVector(Body, JointType, JointType) | Get a |
||
GetVector(Body, BoneTypeEx, bool) | Get a |
||
GetVector(IBody, BoneTypeEx, bool) | Get a |
||
GetVector(IBody, JointTypeEx, JointTypeEx) | Get a |
||
GetVector(Body, BoneTypeEx, bool) | Get a |
||
MapColorPositions<T> | Iterates over a list of bodies to map each body's CameraSpacePoint joint locations to ColorSpacePoints. | ||
MapDepthPositions<T> | Iterates over a list of bodies to map each body's CameraSpacePoint joint locations to DepthSpacePoints. | ||
RefreshFromBodyArray<T>(IList<T>, Body[]) | Similar to the Kinect SDK method BodyFrame.GetAndRefreshBodyData, this
method uses the values from the specified |
||
RefreshFromBodyArray<T>(IList<T>, Body[]) | Similar to the Kinect SDK method BodyFrame.GetAndRefreshBodyData, this
method uses the values from the specified |
||
RefreshFromBodyList<T> | Similar to the Kinect SDK method BodyFrame.GetAndRefreshBodyData, this
method uses the values from the source |
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
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