Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        public DataTracker(KinectSensor kinectSensor, DataWindow dataWindow)
        {
            dataWindow_dt = dataWindow;

            if (kinectSensor == null)
            {
                throw new ArgumentNullException("kinectSensor");
            }
        }
Exemplo n.º 3
0
        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;
        }