Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();

            bsw = new BeamerScreenWindow();
            bsw.Show();

            tableManager = new TableManager(bsw.GetBeamerUC());

            tableManager.Start();
            tableManager.ToggleObjectRecognition = true;
            tableManager.ToggleObjectTracking = true;
            tableManager.ToggleObjectRotationAnalysation = true;

            tableManager.OnNewLongTermObject += new TableManager.TableManagerObjectChange(tableManager_OnNewLongTermObject);
            tableManager.OnObjectMove += new TableManager.TableManagerObjectChange(tableManager_OnObjectMove);
            tableManager.OnObjectRemove += new TableManager.TableManagerObjectChange(tableManager_OnObjectRemove);
            tableManager.OnObjectRotate += new TableManager.TableManagerObjectChange(tableManager_OnObjectRotate);
            ScreenCalibrationWindow scw = new ScreenCalibrationWindow(tableManager,true);
            scw.Show();
            DepthMapViewer dv = new DepthMapViewer(ref tableManager);
            dv.Show();
        }
Esempio n. 2
0
 private void mi_beamercalibration_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     ScreenCalibrationWindow scw = new ScreenCalibrationWindow(_tableManager, false);
     scw.Show();
 }
Esempio n. 3
0
 private void b_beamercalib_Click(object sender, RoutedEventArgs e)
 {
     ScreenCalibrationWindow scw = new ScreenCalibrationWindow(_tableManager,true);
     scw.Show();
 }