public BodyManager(DataWindow dataWindow, TextBlock database, TextBlock gesture, TextBlock device, TextBlock command) { dataWindow_bm = dataWindow; database_bm = database; gesture_bm = gesture; device_bm = device; command_bm = command; }
public DataTracker(KinectSensor kinectSensor, DataWindow dataWindow) { dataWindow_dt = dataWindow; if (kinectSensor == null) { throw new ArgumentNullException("kinectSensor"); } }
public MainWindow() { this.InitializeComponent(); dataWindow = new DataWindow(); connection = new ConnectionManager(this.statusMessage); bodyManager = new BodyManager(this.dataWindow, this.database, this.gesture, this.device, this.command); bodyManager.OpenBodyReader(connection.KinectConnect()); this.DataContext = this; this.BodyViewbox.DataContext = this.bodyManager.viewer; }