Ejemplo n.º 1
0
 private void volumeBtn_Click(object sender, RoutedEventArgs e)
 {
     ScanLoader newScanWindow = new ScanLoader((int)ScanLoader.OperationModes.CaptureNewCloud);
     newScanWindow.Owner = this;
     newScanWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
     newScanWindow.Show();
 }
Ejemplo n.º 2
0
        private void volumeBtn_Click(object sender, RoutedEventArgs e)
        {
            ScanLoader newScanWindow = new ScanLoader((int)ScanLoader.OperationModes.CaptureNewCloud);

            newScanWindow.Owner = this;
            newScanWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen;
            newScanWindow.Show();
        }
Ejemplo n.º 3
0
        /// <summary>
        /// performs a simple stitch test (deprecated? robin?)
        /// </summary>
        /// <param name="sender">the object</param>
        /// <param name="e">the routed event</param>

        private void SimpleStitchTest_Click(object sender, RoutedEventArgs e)
        {
            List <PointCloud> pc = pcdl;

            pcd = new PointCloud();

            //instantiate the stitcher
            stitcher = new BoundingBox();

            //jam points into stitcher
            stitcher.add(pc);
            stitcher.stitch();

            pcd = stitcher.getResult();

            windowViewer.Close();
            windowScanner       = new ScanLoader(pcd);
            windowScanner.Owner = this;
            windowScanner.Show();
        }
Ejemplo n.º 4
0
        /// <summary>
        /// displays a new scan loader screen
        /// </summary>
        /// <param name="sender">the object</param>
        /// <param name="e">the routed event</param>

        private void NewScan_Click(object sender, RoutedEventArgs e)
        {
            if (this.noSensor())
            {
                return;
            }

            this.shutAnyWindows();

            this.resetButtons();

            this.kinectInterp.calibrate();
            windowScanner       = new ScanLoader((int)ScanLoader.OperationModes.CaptureNewCloud);
            windowScanner.Owner = this;
            windowScanner.Show();

            windowHistory       = new HistoryLoader();
            windowHistory.Owner = this;
            windowHistory.history.Visibility = Visibility.Collapsed;
        }