コード例 #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.PointMarkerCombo = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.SizeSlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 3:
                this.OpacitySlider = ((System.Windows.Controls.Slider)(target));
                return;

            case 4:
                this.SciChart = ((SciChart.Charting3D.SciChart3DSurface)(target));
                return;

            case 5:
                this.ScatterSeries3D = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.consoleOutput = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 3:
                this.sciChartSurface = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 4:
                this.XWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 5:
                this.YWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 6:
                this.ZWorldAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 7:
                this.sciChartSurface1 = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 8:
                this.XDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 9:
                this.YDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 10:
                this.ZDeviceAcc = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 11:
                this.PositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;

            case 12:
                this.sciChartSurface2 = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 13:
                this.XWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 14:
                this.YWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 15:
                this.ZWorldVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 16:
                this.sciChartSurface3 = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 17:
                this.XDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 18:
                this.YDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 19:
                this.ZDeviceVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 20:
                this.RealSensePositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;

            case 21:
                this.sciRealSenseVel = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 22:
                this.XRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 23:
                this.YRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 24:
                this.ZRealSenseVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 25:
                this.myGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 26:
                this.optiflowCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 27:
                this.vlcPlayer = ((Vlc.DotNet.Wpf.VlcControl)(target));
                return;

            case 28:
                this.CombPositionGraph = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;

            case 29:
                this.sciCombVel = ((SciChart.Charting.Visuals.SciChartSurface)(target));
                return;

            case 30:
                this.XCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 31:
                this.YCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 32:
                this.ZCombVel = ((SciChart.Charting.Visuals.RenderableSeries.FastLineRenderableSeries)(target));
                return;

            case 33:
                this.myCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 34:
                this.arrow = ((System.Windows.Shapes.Polygon)(target));
                return;

            case 35:
                this.camDirectionCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 36:
                this.CamArrow = ((System.Windows.Shapes.Polygon)(target));
                return;

            case 37:
                this.camRotationCanvas = ((System.Windows.Controls.Canvas)(target));
                return;

            case 38:
                this.CamSpin = ((System.Windows.Shapes.Polygon)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
ファイル: Surface.g.i.cs プロジェクト: hyungucha/my
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.uiZoomInBtn = ((System.Windows.Controls.Button)(target));

            #line 98 "..\..\..\Surface.xaml"
                this.uiZoomInBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.uiZoomOutBtn = ((System.Windows.Controls.Button)(target));

            #line 122 "..\..\..\Surface.xaml"
                this.uiZoomOutBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.uiZoomFitBtn = ((System.Windows.Controls.Button)(target));

            #line 146 "..\..\..\Surface.xaml"
                this.uiZoomFitBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.uiTopViewBtn = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\..\Surface.xaml"
                this.uiTopViewBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.uiROIBtn = ((System.Windows.Controls.Button)(target));

            #line 194 "..\..\..\Surface.xaml"
                this.uiROIBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.uiLineBtn = ((System.Windows.Controls.Button)(target));

            #line 218 "..\..\..\Surface.xaml"
                this.uiLineBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.uiClearBtn = ((System.Windows.Controls.Button)(target));

            #line 242 "..\..\..\Surface.xaml"
                this.uiClearBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.uiHColorBtn = ((System.Windows.Controls.Button)(target));

            #line 266 "..\..\..\Surface.xaml"
                this.uiHColorBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.uiRulerBtn = ((System.Windows.Controls.Button)(target));

            #line 290 "..\..\..\Surface.xaml"
                this.uiRulerBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.uiSetBtn = ((System.Windows.Controls.Button)(target));

            #line 314 "..\..\..\Surface.xaml"
                this.uiSetBtn.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.sciChart = ((SciChart.Charting3D.SciChart3DSurface)(target));

            #line 345 "..\..\..\Surface.xaml"
                this.sciChart.MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.SurfaceMouseUp);

            #line default
            #line hidden
                return;

            case 12:
                this.backgroundSurfaceMesh = ((SciChart.Charting3D.RenderableSeries.SurfaceMeshRenderableSeries3D)(target));
                return;

            case 13:
                this.surfaceMeshRenderableSeries = ((SciChart.Charting3D.RenderableSeries.SurfaceMeshRenderableSeries3D)(target));
                return;

            case 14:
                this.scatterRenderableSeries = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;

            case 15:
                this.XAx3D = ((SciChart.Charting3D.Axis.NumericAxis3D)(target));
                return;

            case 16:
                this.YAx3D = ((SciChart.Charting3D.Axis.NumericAxis3D)(target));
                return;

            case 17:
                this.ZAx3D = ((SciChart.Charting3D.Axis.NumericAxis3D)(target));
                return;

            case 18:
                this.tooltip = ((SciChart.Charting3D.Modifiers.Tooltip3D.TooltipModifier3D)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\MainWindow.xaml"
                ((Lidar_processing_VLP16.MainWindow)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.CreateRealTime3DPointCloudChart_OnUnloaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.button = ((System.Windows.Controls.Button)(target));

            #line 17 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 5:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.StartButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.StartButton.Click += new System.Windows.RoutedEventHandler(this.StartButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.PauseButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.PauseButton.Click += new System.Windows.RoutedEventHandler(this.PauseButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ResetButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.ResetButton.Click += new System.Windows.RoutedEventHandler(this.ResetButton_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.sciChart = ((SciChart.Charting3D.SciChart3DSurface)(target));
                return;

            case 10:
                this.ScatterRenderableSeries3D = ((SciChart.Charting3D.RenderableSeries.ScatterRenderableSeries3D)(target));
                return;
            }
            this._contentLoaded = true;
        }