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
Mostra file Open project: Kj1/ofxKinectMemoryMapped Class Usage Examples

Public Methods

Method 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

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

Method Details

Close() public method

public Close ( ) : void
return void

KinectSensorItem() public method

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

LoadSettings() public method

Loads the XML settings from file
public LoadSettings ( ) : bool
return bool

RemoveSpecialCharacters() public method

public RemoveSpecialCharacters ( string str ) : string
str string
return string

SaveSettings() public method

Saves the settings to the xml file
public SaveSettings ( ) : void
return void

ShowWindow() public method

public ShowWindow ( ) : void
return void

setStreamingStatus() public method

public setStreamingStatus ( String s ) : void
s String
return void