Exemple #1
0
        private void SetScannerMode(PointCloudUtils.ScannerMode scannerMode)
        {
            switch (scannerMode)
            {
            case PointCloudUtils.ScannerMode.Color:
            {
                this.radtioButtonColor.IsChecked      = true;
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Color;
                break;
            }

            case PointCloudUtils.ScannerMode.Depth:
            {
                this.radtioButtonDepth.IsChecked      = true;
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Depth;
                break;
            }

            case PointCloudUtils.ScannerMode.Color_Depth:
            {
                this.radtioButtonDepthColor.IsChecked = true;
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Color_Depth;
                break;
            }

            case PointCloudUtils.ScannerMode.Color_Depth_3DDisplay:
            {
                this.radtioButtonDepthColor.IsChecked = true;
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Color_Depth;
                break;
            }
            }
        }
        private void SetScannerMode(PointCloudUtils.ScannerMode scannerMode)
        {
            switch (scannerMode)
            {
            case PointCloudUtils.ScannerMode.Color:
            {
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Color;
                break;
            }

            case PointCloudUtils.ScannerMode.Depth:
            {
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Depth;
                break;
            }

            case PointCloudUtils.ScannerMode.Color_Depth:
            {
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Color_Depth;
                break;
            }

            case PointCloudUtils.ScannerMode.Color_Depth_3DDisplay:
            {
                PointCloudScannerSettings.ScannerMode = PointCloudUtils.ScannerMode.Color_Depth_3DDisplay;
                break;
            }
            }
        }