C# Class SitPerfect.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: System.Windows.Window, INotifyPropertyChanged
Datei anzeigen Open project: janmechtel/sitperfect

Public Methods

Method Description
MainWindow ( ) : System.IO

Initializes a new instance of the MainWindow class.

Private Methods

Method Description
CalculateAngles ( Microsoft.Kinect.Skeleton skel ) : void
DrawBone ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext, JointType jointType0, JointType jointType1 ) : void

Draws a bone line between two joints

DrawBonesAndJoints ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void

Draws a skeleton's bones and joints

LogFrame ( Microsoft.Kinect.Skeleton skel ) : void
MainWindow_Closed ( object sender, EventArgs e ) : void
RaisePropertyChanged ( string propertyName ) : void
RenderClippedEdges ( Microsoft.Kinect.Skeleton skeleton, System.Windows.Media.DrawingContext drawingContext ) : void

Draws indicators to show which edges are clipping skeleton data

SensorSkeletonFrameReady ( object sender, Microsoft.Kinect.SkeletonFrameReadyEventArgs e ) : void

Event handler for Kinect sensor's SkeletonFrameReady event

SkeletonPointToScreen ( Microsoft.Kinect.SkeletonPoint skelpoint ) : Point

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

WindowClosing ( object sender, System e ) : void

Execute shutdown tasks

WindowLoaded ( object sender, RoutedEventArgs e ) : void

Execute startup tasks

buttonPause_Click ( object sender, RoutedEventArgs e ) : void

Method Details

MainWindow() public method

Initializes a new instance of the MainWindow class.
public MainWindow ( ) : System.IO
return System.IO