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

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

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

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

Disposes the InfraredFrameReader

KinectIRView ( Microsoft.Kinect.KinectSensor kinectSensor ) : System

Initializes a new instance of the KinectIRView class

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

Метод Описание
ProcessInfraredFrameData ( IntPtr infraredFrameData, uint infraredFrameDataSize ) : void

Directly accesses the underlying image buffer of the InfraredFrame 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 infraredFrameData pointer.

Reader_InfraredFrameArrived ( object sender, InfraredFrameArrivedEventArgs e ) : void

Handles the infrared frame data arriving from the sensor

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

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

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

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

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