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

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

공개 메소드들

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