C# Class 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.
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: Kj1/ofxKinectMemoryMapped Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
CalculateFps ( ) : void
KinectWindowOnClosed ( object sender, EventArgs e ) : void
NotifyPropertyChanged ( string propertyName ) : void
SensorAllFramesReady ( object sender, AllFramesReadyEventArgs e ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

KinectSensorItem() public méthode

public KinectSensorItem ( MainWindow _controller, Microsoft.Kinect.KinectSensor Sensor, string id, int kinectN ) : System
_controller MainWindow
Sensor Microsoft.Kinect.KinectSensor
id string
kinectN int
Résultat System

LoadSettings() public méthode

Loads the XML settings from file
public LoadSettings ( ) : bool
Résultat bool

RemoveSpecialCharacters() public méthode

public RemoveSpecialCharacters ( string str ) : string
str string
Résultat string

SaveSettings() public méthode

Saves the settings to the xml file
public SaveSettings ( ) : void
Résultat void

ShowWindow() public méthode

public ShowWindow ( ) : void
Résultat void

setStreamingStatus() public méthode

public setStreamingStatus ( String s ) : void
s String
Résultat void