C# Класс Microsoft.Samples.Kinect.RecordAndPlaybackBasics.KinectBodyIndexView

Visualizes the Kinect BodyIndex stream for display in the UI
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void

Disposes the BodyIndexFrameReader

KinectBodyIndexView ( KinectSensor kinectSensor ) : System

Initializes a new instance of the KinectBodyIndexView class

Приватные методы

Метод Описание
ProcessBodyIndexFrameData ( IntPtr bodyIndexFrameData, uint bodyIndexFrameDataSize ) : void

Directly accesses the underlying image buffer of the BodyIndexFrame to create a displayable bitmap. This function requires the /unsafe compiler option as we make use of direct access to the native memory pointed to by the bodyIndexFrameData pointer.

Reader_BodyIndexFrameArrived ( object sender, BodyIndexFrameArrivedEventArgs e ) : void

Handles the body index frame data arriving from the sensor

RenderBodyIndexPixels ( ) : void

Renders color pixels into the writeableBitmap.

Описание методов

Dispose() публичный Метод

Disposes the BodyIndexFrameReader
public Dispose ( ) : void
Результат void

KinectBodyIndexView() публичный Метод

Initializes a new instance of the KinectBodyIndexView class
public KinectBodyIndexView ( KinectSensor kinectSensor ) : System
kinectSensor KinectSensor Active instance of the Kinect sensor
Результат System