Exemplo n.º 1
0
        public PersonManager(LocatorInterface locator, GestureController gc, IAIntAirAct intAirAct)
        {
            this.gestureController = gc;
            this.locator = locator;
            locator.threadLock = new object();
            this.intAirAct = intAirAct;

            kinectserver = new MSEKinectServer();

            kinectserver.NewKinectDiscovered += new NewKinectDiscoveredEventSignature(kinectserver_NewKinectDiscovered);
            kinectserver.SkeletonsRecieved += new SkeletonsReceivedEventSignature(kinectserver_SkeletonsRecieved);
            kinectserver.kinectRemoved += new KinectRemovedSignature(kinectserver_kinectRemoved);
        }
Exemplo n.º 2
0
        public MSEKinectManager(bool RequireKinect = false)
        {
            if (RequireKinect)
                TestKinectAvailability();

            //Instantiate Components
            intAirAct = IAIntAirAct.New();
            locator = new Locator();
            pairingRecognizer = new PairingRecognizer(locator, intAirAct);
            gestureController = new GestureController();
            personManager = new PersonManager(locator, gestureController, intAirAct);
            deviceManager = new DeviceManager(locator, intAirAct);
        }