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

Visualizes the Kinect Infrared stream for display in the UI
Inheritance: IDisposable
Afficher le fichier Open project: angelaHillier/RecordAndPlaybackBasics-WPF Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes the InfraredFrameReader

KinectIRView ( Microsoft.Kinect.KinectSensor kinectSensor ) : System

Initializes a new instance of the KinectIRView class

Private Methods

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

Disposes the InfraredFrameReader
public Dispose ( ) : void
Résultat void

KinectIRView() public méthode

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