C# Class STim.Core

Inheritance: INotifyPropertyChanged
显示文件 Open project: hcilab-um/STim

Private Properties

Property Type Description
CalculateBlockPercentage double
CalculateBodyOrientationAngle double
CalculateHeadLocation System.Windows.Media.Media3D.Point3D
CalculateHeadOrientation System.Windows.Media.Media3D.Vector3D
CleanOldSkeletons void
Core System
DrawImage System.Windows.Media.DrawingImage
ExtractValidSkeletons void
GetImageAsArray byte[]
InitializeDrawingImage void
OnPropertyChanged void
kinectSensor_AllFramesReady void

Public Methods

Method Description
Initialize ( Dispatcher uiDispatcher, log4net visitLogger, log4net statusLogger ) : void
Shutdown ( ) : void

Private Methods

Method Description
CalculateBlockPercentage ( Microsoft.Kinect.DepthImageFrame depthFrame ) : double
CalculateBodyOrientationAngle ( WagSkeleton userSkeleton ) : double
CalculateHeadLocation ( WagSkeleton skeleton ) : System.Windows.Media.Media3D.Point3D
CalculateHeadOrientation ( WagSkeleton skeleton ) : System.Windows.Media.Media3D.Vector3D
CleanOldSkeletons ( ) : void
Core ( ) : System
DrawImage ( Microsoft.Kinect.ColorImageFrame colorFrame, WagSkeleton skeletons ) : System.Windows.Media.DrawingImage
ExtractValidSkeletons ( Microsoft.Kinect.Skeleton rawSkeletons ) : void
GetImageAsArray ( System.Windows.Media.DrawingImage imageCanvas, bool performConvertion ) : byte[]
InitializeDrawingImage ( Microsoft.Kinect.ColorImageFrame colorFrame, System.Windows.Media.DrawingContext drawingContext ) : void
OnPropertyChanged ( String name ) : void
kinectSensor_AllFramesReady ( object sender, AllFramesReadyEventArgs e ) : void

Method Details

Initialize() public method

public Initialize ( Dispatcher uiDispatcher, log4net visitLogger, log4net statusLogger ) : void
uiDispatcher System.Windows.Threading.Dispatcher
visitLogger log4net
statusLogger log4net
return void

Shutdown() public method

public Shutdown ( ) : void
return void