Esempio n. 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.control = ((Intel.RealSense.CaptureWindow)(target));

            #line 8 "Window.xaml"
                this.control.Closing += new System.ComponentModel.CancelEventHandler(this.control_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.txtTimeStamp = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.imgDepth = ((System.Windows.Controls.Image)(target));
                return;

            case 4:
                this.imgColor = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            if (args.Length == 0)
            {
                Console.WriteLine($"Please, specify network server IP address as a parameter");
                return;
            }
            Config cfg = new Config();

            cfg.EnableStream(Stream.Depth, 640, 480, Format.Z16, 30);
            cfg.EnableStream(Stream.Color, 640, 480, Format.Rgb8, 30);

            var w = new CaptureWindow(args[0], cfg);

            w.ShowDialog();
        }
Esempio n. 3
0
        static void Main(string[] args)
        {
            var w = new CaptureWindow();

            w.ShowDialog();
        }