C# Class Microsoft.Samples.Kinect.RecordAndPlaybackBasics.KinectIRView

Visualizes the Kinect Infrared stream for display in the UI
Inheritance: IDisposable
ファイルを表示 Open project: angelaHillier/RecordAndPlaybackBasics-WPF Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes the InfraredFrameReader

KinectIRView ( Microsoft.Kinect.KinectSensor kinectSensor ) : System

Initializes a new instance of the KinectIRView class

Private Methods

Method Description
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

Method Details

Dispose() public method

Disposes the InfraredFrameReader
public Dispose ( ) : void
return void

KinectIRView() public method

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
return System