C# Класс Microsoft.Samples.Kinect.KinectExplorer.KinectSensorItem

A KinectSensorItem maintains a bit of state about a KinectSensor and manages showing/closing a KinectWindow associated with the KinectSensor.
Наследование: INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Close ( ) : void
KinectSensorItem ( MainWindow _controller, Microsoft.Kinect.KinectSensor Sensor, string id, int kinectN ) : System
LoadSettings ( ) : bool

Loads the XML settings from file

RemoveSpecialCharacters ( string str ) : string
SaveSettings ( ) : void

Saves the settings to the xml file

ShowWindow ( ) : void
setStreamingStatus ( String s ) : void

Приватные методы

Метод Описание
CalculateFps ( ) : void
KinectWindowOnClosed ( object sender, EventArgs e ) : void
NotifyPropertyChanged ( string propertyName ) : void
SensorAllFramesReady ( object sender, AllFramesReadyEventArgs e ) : void

Описание методов

Close() публичный Метод

public Close ( ) : void
Результат void

KinectSensorItem() публичный Метод

public KinectSensorItem ( MainWindow _controller, Microsoft.Kinect.KinectSensor Sensor, string id, int kinectN ) : System
_controller MainWindow
Sensor Microsoft.Kinect.KinectSensor
id string
kinectN int
Результат System

LoadSettings() публичный Метод

Loads the XML settings from file
public LoadSettings ( ) : bool
Результат bool

RemoveSpecialCharacters() публичный Метод

public RemoveSpecialCharacters ( string str ) : string
str string
Результат string

SaveSettings() публичный Метод

Saves the settings to the xml file
public SaveSettings ( ) : void
Результат void

ShowWindow() публичный Метод

public ShowWindow ( ) : void
Результат void

setStreamingStatus() публичный Метод

public setStreamingStatus ( String s ) : void
s String
Результат void