ReplayBodyFrame Class (KinectEx.DVR)

A recordable / replayable version of a BodyFrame.
System.Object
   KinectEx.DVR.ReplayFrame
      KinectEx.DVR.ReplayBodyFrame

Namespace: KinectEx.DVR
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
public class ReplayBodyFrame : ReplayFrame

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

type public ReplayBodyFrame =
	class
		inherit ReplayFrame
	end

The ReplayBodyFrame type exposes the following members.

  Platforms Name Description
Bodies The list of CustomBody objects in the frame. 
BodyCount Total number of CustomBody objects in the frame. 
FloorClipPlane The plane of the floor as detected by the Kinect sensor. 
FrameType The type of frame represented by this ReplayFrame. (Inherited from ReplayFrame.)
RelativeTime The unique relative time at which this frame was captured. (Inherited from ReplayFrame.)
Top
  Platforms Name Description
CompareTo Compare this frame to another for the purposes of sorting. (Inherited from ReplayFrame.)
GetAndRefreshBodyData<T>(SmoothedBodyList<T>) Similar to the Kinect SDK method of the same name, this method updates the specified SmoothedBodyList collection with the values contained in the Bodies list of this ReplayBodyFrame. 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. Note that this method is really only needed if you wish to use smoothing during replay. Otherwise, directly accessing the Bodies list of this ReplayBodyFrame is both acceptable and more efficient.  
GetAndRefreshBodyData<T>(IList<T>) Similar to the Kinect SDK method of the same name, this method updates the specified list of IBody instances with the values contained in the Bodies list of this ReplayBodyFrame. 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. Note that this method is really only needed if you wish to use smoothing during replay. Otherwise, directly accessing the Bodies list of this ReplayBodyFrame is both acceptable and more efficient.  
MapColorPositions Iterates over the bodies in the frame and maps each tracked body's CameraSpacePoint joint locations to ColorSpacePoints. 
MapDepthPositions Iterates over the bodies in the frame and maps each tracked body's CameraSpacePoint joint locations to DepthSpacePoints. 
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