C# 클래스 Microsoft.Samples.Kinect.SkeletonBasics.MainWindow

Interaction logic for MainWindow.xaml
파일 보기 프로젝트 열기: Zillode/OSCeleton-KinectSDK 1 사용 예제들

공개 메소드들

메소드 설명
CheckForShortcut ( ) : void
MainWindow ( ) : System

Initializes a new instance of the MainWindow class.

비공개 메소드들

메소드 설명
CheckBoxSeatedModeChanged ( object sender, System e ) : void

Handles the checking or unchecking of the seated mode combo box

CheckBoxShowSkeletonChanged ( object sender, System e ) : void

Handles the checking or unchecking of the seated mode combo box

CheckBoxSpeechCommandsChanged ( object sender, System e ) : void
CloseCSVFile ( ) : void
CreateSpeechRecognizer ( KinectSensor sensor ) : void
DrawBone ( KinectSensor sensor, Skeleton skeleton, DrawingContext drawingContext, JointType jointType0, JointType jointType1 ) : void

Draws a bone line between two joints

DrawBonesAndJoints ( KinectSensor sensor, Skeleton skeleton, DrawingContext drawingContext ) : void

Draws a skeleton's bones and joints

EnqueueFaceAnimationMessage ( int sensorId, int user, float>.EnumIndexableCollection c, double time ) : void
EnqueueFacePoseMessage ( int sensorId, int user, float x, float y, float z, float rotationX, float rotationY, float rotationZ, double time ) : void
EnqueueFaceTracking ( KinectSensor sensor, int user, Skeleton s ) : void
EnqueueSkeleton ( int sensorId, int user, Skeleton s ) : void
GetErrorText ( Exception ex ) : string
ImgClickSwitchKinect ( object sender, System e ) : void
KinectSensorsStatusChanged ( object sender, StatusChangedEventArgs e ) : void
OpenNewCSVFile ( ) : void
RenderClippedEdges ( Skeleton skeleton, DrawingContext drawingContext ) : void

Draws indicators to show which edges are clipping skeleton data

SendTrackingInformation ( ) : void
SensorAllFramesReady ( object sender, AllFramesReadyEventArgs e ) : void

Event handler for Kinect sensor's SkeletonFrameReady event

SensorFrameHelper ( KinectSensor sensor, Boolean allFrames ) : void
SensorSkeletonFrameReady ( object sender, SkeletonFrameReadyEventArgs e ) : void

Event handler for Kinect sensor's SkeletonFrameReady event

SetFrames ( KinectSensor sensor ) : void
SetStatusbarText ( string txt ) : void
SetStatusbarText ( string txt, Color color ) : void
SkeletonPointToScreen ( KinectSensor sensor, SkeletonPoint skelpoint ) : Point

Maps a SkeletonPoint to lie within our render space and converts to Point

SpeechRecognized ( object sender, SpeechRecognizedEventArgs e ) : void
StartKinect ( KinectSensor sensor ) : void
StopKinect ( KinectSensor sensor ) : void
StopSpeechRecognizer ( KinectSensor sensor ) : void
StringToBool ( String msg ) : bool
WindowClosing ( object sender, System e ) : void

Execute shutdown tasks

WindowLoaded ( object sender, System e ) : void

Execute startup tasks

Window_KeyUp ( object sender, System e ) : void
cbxDisplay_SelectionChanged ( object sender, System e ) : void
getUnixEpochTime ( ) : double
getUnixEpochTimeLong ( ) : long

메소드 상세

CheckForShortcut() 공개 메소드

public CheckForShortcut ( ) : void
리턴 void

MainWindow() 공개 메소드

Initializes a new instance of the MainWindow class.
public MainWindow ( ) : System
리턴 System