|
|
|
@ -2,6 +2,7 @@
|
|
|
|
|
using Microsoft.Kinect;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Diagnostics;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
@ -21,7 +22,7 @@ namespace WpfApp
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Logique d'interaction pour MainWindow.xaml
|
|
|
|
|
/// </summary>
|
|
|
|
|
public partial class MainWindow : Window
|
|
|
|
|
public partial class MainWindow : Window,INotifyPropertyChanged
|
|
|
|
|
{
|
|
|
|
|
private KinectManager kinectManager;
|
|
|
|
|
public KinectManager KinectManager
|
|
|
|
@ -33,7 +34,16 @@ namespace WpfApp
|
|
|
|
|
public KinectStream CurrentKinectStream
|
|
|
|
|
{
|
|
|
|
|
get { return _currentkinectStream; }
|
|
|
|
|
set { _currentkinectStream = value; }
|
|
|
|
|
set {
|
|
|
|
|
_currentkinectStream = value;
|
|
|
|
|
OnPropertyChanged(nameof(_currentkinectStream));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
|
|
|
|
|
|
public void OnPropertyChanged(string propertyName)
|
|
|
|
|
{
|
|
|
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private KinectStreamsFactory _factory;
|
|
|
|
|