当前位置: 首页>>代码示例>>C#>>正文


C# KinectSensorChooser.Start方法代码示例

本文整理汇总了C#中Microsoft.Kinect.Toolkit.KinectSensorChooser.Start方法的典型用法代码示例。如果您正苦于以下问题:C# KinectSensorChooser.Start方法的具体用法?C# KinectSensorChooser.Start怎么用?C# KinectSensorChooser.Start使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Microsoft.Kinect.Toolkit.KinectSensorChooser的用法示例。


在下文中一共展示了KinectSensorChooser.Start方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Window_Loaded_1

 private void Window_Loaded_1(object sender, RoutedEventArgs e)
 {
     miKinect = new KinectSensorChooser();
     miKinect.KinectChanged += miKinect_KinectChanged;
     sensorChooserUI.KinectSensorChooser = miKinect;
     miKinect.Start();
 }
开发者ID:egaleano,项目名称:Kinect,代码行数:7,代码来源:MainWindow.xaml.cs

示例2: OnLoaded

 private void OnLoaded(object sender, RoutedEventArgs routedEventArgs)
 {
     _sensorChooser = new KinectSensorChooser();
     _sensorChooser.KinectChanged += SensorChooserOnKinectChanged;
     KinectSensorChooserUi.KinectSensorChooser = _sensorChooser;
     _sensorChooser.Start();
     SetGameField();
 }
开发者ID:guozanhua,项目名称:KinectMiniGames,代码行数:8,代码来源:FirstLevelView.xaml.cs

示例3: MainWindow

 public MainWindow()
 {
     InitializeComponent();
     myChooser = new KinectSensorChooser();
     myChooser.KinectChanged += new EventHandler<KinectChangedEventArgs>(myChooser_KinectChanged);
     this.SensorChooserUI.KinectSensorChooser = myChooser;
     myChooser.Start();
 }
开发者ID:kinectNao,项目名称:bluenao,代码行数:8,代码来源:MainWindow.xaml.cs

示例4: Asimov

 public Asimov(ICreateController create)
     : this(create, null)
 {
     // Find the Kinect and subscribe to changes in the sensor
     KinectSensorChooser sensorChooser = new KinectSensorChooser();
     sensorChooser.KinectChanged += this.KinectSensorChanged;
     sensorChooser.Start();
 }
开发者ID:shanet,项目名称:Asimov,代码行数:8,代码来源:Asimov.cs

示例5: SetupKinectSensor

 private void SetupKinectSensor()
 {
     _sensorChooser = new KinectSensorChooser();
     _sensorChooser.KinectChanged += SensorChooserOnKinectChanged;
     sensorChooserUi.KinectSensorChooser = _sensorChooser;
     _sensorChooser.Start();
     var regionSensorBinding = new Binding("Kinect") { Source = _sensorChooser };
     BindingOperations.SetBinding(kinectRegion, KinectRegion.KinectSensorProperty, regionSensorBinding);
 }
开发者ID:guozanhua,项目名称:KinectMiniGames,代码行数:9,代码来源:MainWindow.xaml.cs

示例6: Window_Loaded_1

 private void Window_Loaded_1(object sender, RoutedEventArgs e)
 {
     Console.WriteLine("Main Windows Loading...");
     //Kinect Event Handler Register
     KinectSensor = new KinectSensorChooser();
     KinectSensor.KinectChanged += KinectSensor_KinectChanged;
     sensorChooserUI.KinectSensorChooser = KinectSensor;
     KinectSensor.Start();
 }
开发者ID:donnaknew,项目名称:programmingProject,代码行数:9,代码来源:MainWindow.xaml.cs

示例7: MainWindow

        public MainWindow()
        {
            InitializeComponent();

            myChooser = new KinectSensorChooser();
            myColorArray = new byte[640*480*4];
            myChooser.KinectChanged += new EventHandler<KinectChangedEventArgs>(myChooser_KinectChanged);
            this.SensorChooserUI.KinectSensorChooser = myChooser;
            myChooser.Start();
            updateWindow();
        }
开发者ID:kinectNao,项目名称:bluenao,代码行数:11,代码来源:MainWindow.xaml.cs

示例8: Init

        public static void Init()
        {
            // First Load the XML File that contains the application configuration
            _gestureMap = new GestureMap();
            _gestureMap.LoadGesturesFromXml(GestureFileName);

            _chooser = new KinectSensorChooser();
            _chooser.KinectChanged += ChooserSensorChanged;
            _chooser.Start();

            // Instantiate the in memory representation of the gesture state for each player
            _gestureMaps = new Dictionary<int, GestureMapState>();
        }
开发者ID:AesteroidBlues,项目名称:rampage-xl,代码行数:13,代码来源:XLK.cs

示例9: MainWindow

        public MainWindow()
        {
            InitializeComponent();

            myTimer = new System.Windows.Threading.DispatcherTimer();
            myTimer.Tick += new EventHandler(myTimer_Tick);
            myTimer.Interval = new TimeSpan(0, 0, 0, 0, 250);

            myChooser = new KinectSensorChooser();
            myChooser.KinectChanged += new EventHandler<KinectChangedEventArgs>(myChooser_KinectChanged);
            this.SensorChooserUI.KinectSensorChooser = myChooser;
            myChooser.Start();
        }
开发者ID:kinectNao,项目名称:bluenao,代码行数:13,代码来源:MainWindow.xaml.cs

示例10: MainWindow

        public MainWindow()
        {
            InitializeComponent();

            faceTrackingViewerBinding = new Binding("Kinect") {Source = sensorChooser};
            CurrentColorImageFormat = ColorImageFormat.Undefined;
            Bgr32BytesPerPixel = (PixelFormats.Bgr32.BitsPerPixel + 7) / 8;

            sensorChooser = new KinectSensorChooser();
            sensorChooser.KinectChanged += SensorChooserOnKinectChanged;
            sensorChooser.Start();

            faceTrackingViewer.SetBinding(FaceTrackingViewer.KinectProperty, faceTrackingViewerBinding);
            GetDirectory();
        }
开发者ID:klikkamongo,项目名称:Kinect_Stemplingsur,代码行数:15,代码来源:MainWindow.xaml.cs

示例11: KinectContext

 KinectContext()
 {
     SensorChooser = new KinectSensorChooser();
     SensorChooser.KinectChanged += SensorChooser_KinectChanged;
     SensorChooser.Start();
 }
开发者ID:sakapon,项目名称:Samples-2014,代码行数:6,代码来源:KinectContext.cs

示例12: Window_Loaded

 /// <summary>
 /// Metodo que arranca la kinect al abrirse la ventana.
 /// </summary>
 /// <param name="sender"></param> Abrir la ventana.
 /// <param name="e"></param> Evento de abrir ventana.
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     primeraVez = 1;
     repeticionesD = 0;
     repeticionesI = 0;
     miKinect = new KinectSensorChooser();
     miKinect.KinectChanged += miKinect_KinectChanged;
     sensorChooserUI.KinectSensorChooser = miKinect;
     miKinect.Start();
 }
开发者ID:dls0010,项目名称:DavidKinectTFG2016,代码行数:15,代码来源:Ejercicio2.xaml.cs

示例13: OnLoaded

        void OnLoaded(object sender, RoutedEventArgs e)
        {
            _sensorChooser = new KinectSensorChooser();
            _sensorChooser.KinectChanged += KinectChanged;
            _sensorChooser.PropertyChanged += PropertyChanged;

            KinectSensorChooser.KinectSensorChooser = _sensorChooser;
            _sensorChooser.Start();
        }
开发者ID:jorgeLuizChaves,项目名称:K4W,代码行数:9,代码来源:MainWindow.xaml.cs

示例14: InicializadorKinect

 public InicializadorKinect()
 {
     SeletorKinect = new KinectSensorChooser();
     SeletorKinect.KinectChanged += SeletorKinect_KinectChanged;
     SeletorKinect.Start();
 }
开发者ID:gilgaljunior,项目名称:CrieAplicacoesInterativascomoMicrosoftKinect,代码行数:6,代码来源:InicializadorKinect.cs

示例15: Form1_Load

 private void Form1_Load(object sender, EventArgs e)
 {
     _chooser = new KinectSensorChooser();
     _chooser.KinectChanged += ChooserSensorChanged;
     _chooser.Start();
 }
开发者ID:zyp8884625,项目名称:Kinect_Research,代码行数:6,代码来源:Form1.cs


注:本文中的Microsoft.Kinect.Toolkit.KinectSensorChooser.Start方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。