C# Class GesturesViewer.DebugDisplayManager

Manages the visualization of depth data.
Inheritance: Notifier, IStreamManager
Mostrar archivo Open project: ushadow/handinput

Public Methods

Method Description
DebugDisplayManager ( int width, int height ) : System
UpdateBitmap ( ) : void
UpdateBitmap ( byte data ) : void
UpdateBitmap ( byte data, System.Windows.Media.Imaging.WriteableBitmap bitmap ) : void

Update the bitmap with the given byte array.

UpdateBitmapMask ( Array data ) : void
UpdatePixelData ( Kinect.Toolbox.Record.ReplayDepthImageFrame frame ) : void

Updates the depth frame pixel data. Each pixel contains both the player and the depth information.

Private Methods

Method Description
ConvertDepthFrame ( short depthFrame16 ) : void

Method Details

DebugDisplayManager() public method

public DebugDisplayManager ( int width, int height ) : System
width int
height int
return System

UpdateBitmap() public method

public UpdateBitmap ( ) : void
return void

UpdateBitmap() public method

public UpdateBitmap ( byte data ) : void
data byte
return void

UpdateBitmap() public method

Update the bitmap with the given byte array.
public UpdateBitmap ( byte data, System.Windows.Media.Imaging.WriteableBitmap bitmap ) : void
data byte the length of the data must be equal to this.width * this.height
bitmap System.Windows.Media.Imaging.WriteableBitmap
return void

UpdateBitmapMask() public method

public UpdateBitmapMask ( Array data ) : void
data System.Array
return void

UpdatePixelData() public method

Updates the depth frame pixel data. Each pixel contains both the player and the depth information.
public UpdatePixelData ( Kinect.Toolbox.Record.ReplayDepthImageFrame frame ) : void
frame Kinect.Toolbox.Record.ReplayDepthImageFrame
return void