C# Class GesturesViewer.DebugDisplayManager

Manages the visualization of depth data.
Inheritance: Notifier, IStreamManager
Afficher le fichier Open project: ushadow/handinput

Méthodes publiques

Méthode 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

Méthode Description
ConvertDepthFrame ( short depthFrame16 ) : void

Method Details

DebugDisplayManager() public méthode

public DebugDisplayManager ( int width, int height ) : System
width int
height int
Résultat System

UpdateBitmap() public méthode

public UpdateBitmap ( ) : void
Résultat void

UpdateBitmap() public méthode

public UpdateBitmap ( byte data ) : void
data byte
Résultat void

UpdateBitmap() public méthode

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
Résultat void

UpdateBitmapMask() public méthode

public UpdateBitmapMask ( Array data ) : void
data System.Array
Résultat void

UpdatePixelData() public méthode

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
Résultat void