示例#1
0
        public MainWindow()
        {
            InitializeComponent();

            // Initializing the image stream
            imageStream = new RealSenseImageStream(PXCMCapture.StreamType.STREAM_TYPE_COLOR); // Change here with you want to see other stream types
            imageStream.InitializeStream();
            imageStream.StartStream();
            imageStream.NewImageAvailable += imageStream_NewImageAvailable;

            //next.ConsoleApplication.Manager nextManager = new next.ConsoleApplication.Manager();

            this.SizeChanged +=MainWindow_SizeChanged;
            this.Loaded += MainWindow_Loaded;
        }