BodyFrameExtensions Class (KinectEx)

Contains extensions to the Kinect SDK BodyFrame class which enable use of KinectEx functionality using familiar KinectSDK patterns and syntax.
System.Object
   KinectEx.BodyFrameExtensions

Namespace: KinectEx
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
[ExtensionAttribute]
public static class BodyFrameExtensions

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

[<ExtensionAttribute>]
[<AbstractClass>]
[<Sealed>]
type public BodyFrameExtensions = class end

The BodyFrameExtensions type exposes the following members.

  Platforms Name Description
GetAndRefreshBodyData(BodyFrame, SmoothedBodyList<ISmoother>) Similar to the Kinect SDK method of the same name, this method retrieves the array of bodies from a BodyFrame and updates the specified SmoothedBodyList collection. If the collection does not contain the correct number of bodies, this method clears and refills the collection with new bodies of type T. Note that if this behavior is undesirable, insure that the collection contains the right number of bodies before calling this method. 
GetAndRefreshBodyData(BodyFrame, SmoothedBodyList<ISmoother>) Similar to the Kinect SDK method of the same name, this method retrieves the array of bodies from a BodyFrame and updates the specified SmoothedBodyList collection. If the collection does not contain the correct number of bodies, this method clears and refills the collection with new bodies of type T. Note that if this behavior is undesirable, insure that the collection contains the right number of bodies before calling this method. 
GetAndRefreshBodyData<T>(BodyFrame, IList<T>) Similar to the Kinect SDK method of the same name, this method retrieves the array of bodies from a BodyFrame and updates the specified SmoothedBodyList collection. If the collection does not contain the correct number of bodies, this method clears and refills the collection with new bodies of type T. Note that if this behavior is undesirable, insure that the collection contains the right number of bodies before calling this method. 
GetAndRefreshBodyData<T>(BodyFrame, IList<T>) Similar to the Kinect SDK method of the same name, this method retrieves the array of bodies from a BodyFrame and updates the specified SmoothedBodyList collection. If the collection does not contain the correct number of bodies, this method clears and refills the collection with new bodies of type T. Note that if this behavior is undesirable, insure that the collection contains the right number of bodies before calling this method. 
Top
Supported in:

    
 Windows Desktop - .NET 4.5
    
 Windows 8.1 Store - WinRT