C# 클래스 Microsoft.Samples.Kinect.RecordAndPlaybackBasics.KinectIRView

Visualizes the Kinect Infrared stream for display in the UI
상속: IDisposable
파일 보기 프로젝트 열기: angelaHillier/RecordAndPlaybackBasics-WPF 1 사용 예제들

공개 메소드들

메소드 설명
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