Ejemplo n.º 1
0
        private void Ribbon_Load(object sender, RibbonUIEventArgs e)
        {
            _kinectStatus = BootStrapper.Kernel.Get <IKinectStatus>();
            UpdateUsers(null, _kinectStatus.TrackedBodies);

            _kinectStatus.AvailabilityChanged     += UpdateAvailability;
            _kinectStatus.TrackedBodyCountChanged += UpdateUsers;
            _kinectStatus.ErrorOccured            += _kinectStatus_ErrorOccured;

            _gestures = BootStrapper.Kernel.Get <IGestures>();
            _gestures.GrabAndThrowLeftHanded  += GrabAndThrowLeftHanded;
            _gestures.GrabAndThrowRightHanded += GrabAndThrowRightHanded;
        }
Ejemplo n.º 2
0
        private void Ribbon_Load(object sender, RibbonUIEventArgs e)
        {
            _kinectStatus = BootStrapper.Kernel.Get<IKinectStatus>();
            UpdateUsers(null, _kinectStatus.TrackedBodies);

            _kinectStatus.AvailabilityChanged += UpdateAvailability;
            _kinectStatus.TrackedBodyCountChanged += UpdateUsers;
            _kinectStatus.ErrorOccured += _kinectStatus_ErrorOccured;

            _gestures = BootStrapper.Kernel.Get<IGestures>();
            _gestures.GrabAndThrowLeftHanded += GrabAndThrowLeftHanded;
            _gestures.GrabAndThrowRightHanded += GrabAndThrowRightHanded;
        }
Ejemplo n.º 3
0
 public SlideShowManager()
 {
     _detector = BootStrapper.Kernel.Get <IGestures>();
     _detector.GrabAndThrowRightHanded += GrabAndThrowRightHanded;
     _detector.GrabAndThrowLeftHanded  += GrabAndThrowLeftHanded;
 }
Ejemplo n.º 4
0
 public SlideShowManager()
 {
     _detector = BootStrapper.Kernel.Get<IGestures>();
     _detector.GrabAndThrowRightHanded += GrabAndThrowRightHanded;
     _detector.GrabAndThrowLeftHanded += GrabAndThrowLeftHanded;
 }