C# Class Nui.Utility.Windows.NuiSession

Inheritance: NotifyPropertyChangedDispatcherBase, IDisposable
显示文件 Open project: etihwddot/NITE-WPF-Sample Class Usage Examples

Public Properties

Property Type Description
PointProperty string
StateProperty string

Public Methods

Method Description
Dispose ( ) : void
GetColorImage ( ) : System.Windows.Media.Imaging.BitmapSource
GetDepthImage ( ) : System.Windows.Media.Imaging.BitmapSource
GetDepths ( int &xResolution, int &yResolution ) : ushort[]
NuiSession ( ) : System

Private Methods

Method Description
CreateAndRun ( ) : void
PointControl_PrimaryPointCreate ( HandPointContext &context, Point3D &ptfocus ) : void
PointControl_PrimaryPointDestroy ( uint id ) : void
PointControl_PrimaryPointUpdate ( HandPointContext &context ) : void
PointFromContext ( HandPointContext context ) : System.Windows.Media.Media3D.Point3D?
SessionManager_SessionEnd ( ) : void
SessionManager_SessionStart ( Point3D &position ) : void
SwipeDetector_SwipeLeft ( float velocity, float angle ) : void
SwipeDetector_SwipeRight ( float velocity, float angle ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GetColorImage() public method

public GetColorImage ( ) : System.Windows.Media.Imaging.BitmapSource
return System.Windows.Media.Imaging.BitmapSource

GetDepthImage() public method

public GetDepthImage ( ) : System.Windows.Media.Imaging.BitmapSource
return System.Windows.Media.Imaging.BitmapSource

GetDepths() public method

public GetDepths ( int &xResolution, int &yResolution ) : ushort[]
xResolution int
yResolution int
return ushort[]

NuiSession() public method

public NuiSession ( ) : System
return System

Property Details

PointProperty public_oe static_oe property

public static string PointProperty
return string

StateProperty public_oe static_oe property

public static string StateProperty
return string