示例#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);
        }
示例#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);
        }
示例#3
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);
        }
示例#4
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);
        }
示例#5
0
 public DeviceManager(LocatorInterface locator, IAIntAirAct intAirAct)
 {
     this.locator = locator;
     this.ia = intAirAct;
 }
示例#6
0
 public DeviceManager(LocatorInterface locator, IAIntAirAct intAirAct)
 {
     this.locator = locator;
     this.ia      = intAirAct;
 }
示例#7
0
 public PairingRecognizer(LocatorInterface locator, IAIntAirAct intAirAct)
 {
     this.locator = locator;
     this.intAirAct = intAirAct;
 }
示例#8
0
 public PairingRecognizer(LocatorInterface locator, IAIntAirAct intAirAct)
 {
     this.locator   = locator;
     this.intAirAct = intAirAct;
 }