Esempio n. 1
0
        private Connection(Key connectionKey)
        {
            ConnectionKey   = connectionKey;
            _leapConnection = IntPtr.Zero;

            Frames = new CircularObjectBuffer <LEAP_TRACKING_EVENT>(_frameBufferLength);
        }
Esempio n. 2
0
        private Connection(int connectionKey)
        {
            ConnectionKey   = connectionKey;
            _leapConnection = IntPtr.Zero;

            Frames             = new CircularObjectBuffer <Frame>(_frameBufferLength);
            _imageDataCache    = new ObjectPool <ImageData>(_imageBufferLength, false);
            _imageRawDataCache = new ObjectPool <ImageData>(_imageBufferLength, false);
        }
Esempio n. 3
0
        private Connection(int connectionKey)
        {
            ConnectionKey   = connectionKey;
            _leapConnection = IntPtr.Zero;

            Frames             = new CircularObjectBuffer <Frame> (_frameBufferLength);
            _quads             = new CircularObjectBuffer <TrackedQuad> (_quadBufferLength);
            _imageDataCache    = new ObjectPool <ImageData>(_imageBufferLength, false);
            _imageRawDataCache = new ObjectPool <ImageData>(_imageBufferLength, false);
//            DistortionCache = new DistortionDictionary();
        }