Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.webControl = ((Awesomium.Windows.Controls.WebControl)(target));
                return;

            case 2:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

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

            case 4:
                this.light_image = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.swipeAnimation = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
        private static void OnFlippedVerticallyPropertyChange(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            bool         flipped = (bool)e.NewValue;
            KinectViewer viewer  = (KinectViewer)d;

            viewer.SetValue(RenderTransformProperty, viewer.FlipTransform);
        }
Пример #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.tblAngle = ((System.Windows.Documents.Run)(target));
                return;

            case 3:
                this.tblGesture = ((System.Windows.Documents.Run)(target));
                return;

            case 4:
                this.ArmRaiseCount = ((System.Windows.Documents.Run)(target));
                return;

            case 5:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 6:
                this.angle = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 7:
                this.Instructions = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\Pages\ArmRaisesPage.xaml"
                ((KinectPT.ArmRaisesPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 12 "..\..\..\..\Pages\ArmRaisesPage.xaml"
                ((KinectPT.ArmRaisesPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 23 "..\..\..\..\Pages\ArmRaisesPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_Back);

            #line default
            #line hidden
                return;

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.tblAngle = ((System.Windows.Documents.Run)(target));
                return;

            case 5:
                this.ArmRaiseCount = ((System.Windows.Documents.Run)(target));
                return;

            case 6:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 7:
                this.leftArmAngle = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 8:
                this.rightArmAngle = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 9:
                this.Instructions = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\AnglePage.xaml"
                ((LightBuzz.Vituvius.Samples.WPF.AnglePage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\AnglePage.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.Back_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.tblAngle1 = ((System.Windows.Documents.Run)(target));
                return;

            case 5:
                this.tblAngle2 = ((System.Windows.Documents.Run)(target));
                return;

            case 6:
                this.tblAngle3 = ((System.Windows.Documents.Run)(target));
                return;

            case 7:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 8:
                this.angle1 = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 9:
                this.angle2 = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 10:
                this.angle3 = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\RecordingPage.xaml"
                ((LightBuzz.Vituvius.Samples.WPF.RecordingPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

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

            #line 25 "..\..\RecordingPage.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.Back_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:

            #line 43 "..\..\RecordingPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Record_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 45 "..\..\RecordingPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Playback_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\SaveMotion.xaml"
                ((Team7Senior.SaveMotion)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 3:

            #line 24 "..\..\SaveMotion.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Start_Click);

            #line default
            #line hidden
                return;

            case 4:

            #line 25 "..\..\SaveMotion.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Stop_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 31 "..\..\SaveMotion.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);

            #line default
            #line hidden
                return;

            case 6:
                this.image = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "WalkingPage.xaml"
                ((KinectPT.WalkingPage)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Page_Loaded);

            #line default
            #line hidden

            #line 12 "WalkingPage.xaml"
                ((KinectPT.WalkingPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 22 "WalkingPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Click_Back);

            #line default
            #line hidden
                return;

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 5:
                this.Instructions = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #9
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GestureTextOutput = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));

            #line 13 "..\..\..\MainWindow.xaml"
                this.viewer.Loaded += new System.Windows.RoutedEventHandler(this.KinectViewer_Loaded);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\PoseMatchingPage.xaml"
                ((Team7Senior.PoseMatchingPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

            case 2:

            #line 21 "..\..\PoseMatchingPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_2);

            #line default
            #line hidden
                return;

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

            case 4:
                this.viewer1 = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 5:
                this.viewer2 = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\CameraPage.xaml"
                ((LightBuzz.Vituvius.Samples.WPF.CameraPage)(target)).Unloaded += new System.Windows.RoutedEventHandler(this.Page_Unloaded);

            #line default
            #line hidden
                return;

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

            #line 24 "..\..\CameraPage.xaml"
                this.backButton.Click += new System.Windows.RoutedEventHandler(this.Back_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.pageTitle = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:

            #line 41 "..\..\CameraPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Color_Click);

            #line default
            #line hidden
                return;

            case 5:

            #line 42 "..\..\CameraPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Depth_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 43 "..\..\CameraPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Infrared_Click);

            #line default
            #line hidden
                return;

            case 7:

            #line 44 "..\..\CameraPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Checked += new System.Windows.RoutedEventHandler(this.Skeleton_Checked);

            #line default
            #line hidden

            #line 44 "..\..\CameraPage.xaml"
                ((System.Windows.Controls.CheckBox)(target)).Unchecked += new System.Windows.RoutedEventHandler(this.Skeleton_Unchecked);

            #line default
            #line hidden
                return;

            case 8:

            #line 45 "..\..\CameraPage.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Save_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #12
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((VitruviusTest.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.kinectViewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 3:
                this.tblHeights = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.AnguloDireito = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.AnguloEsquerdo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.AnguloDireitoInicial = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 7:
                this.AnguloDireitoFinal = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.AnguloEsquerdoInicial = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.AnguloEsquerdoFinal = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 62 "..\..\MainWindow.xaml"
                this.btnStart.Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.btnRestart = ((System.Windows.Controls.Button)(target));

            #line 63 "..\..\MainWindow.xaml"
                this.btnRestart.Click += new System.Windows.RoutedEventHandler(this.btnRestart_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnGravar = ((System.Windows.Controls.Button)(target));

            #line 64 "..\..\MainWindow.xaml"
                this.btnGravar.Click += new System.Windows.RoutedEventHandler(this.btnGravar_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Пример #13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;

            case 2:
                this.AngleLeftElbow = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 3:
                this.AngleLeftShoulder = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 4:
                this.AngleRightElbow = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 5:
                this.AngleRightShoulder = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 6:
                this.AngleLeftWrist = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 7:
                this.AngleRightWrist = ((LightBuzz.Vitruvius.Controls.KinectAngle)(target));
                return;

            case 8:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.Indicator_kinect = ((System.Windows.Shapes.Ellipse)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 12:
                this.FrameCount = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.FrameCountValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.FPS = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 15:
                this.FPSValue = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 16:
                this.depthviewer = ((LightBuzz.Vitruvius.Controls.KinectViewer)(target));
                return;
            }
            this._contentLoaded = true;
        }