예제 #1
0
        private Connection(Key connectionKey)
        {
            ConnectionKey   = connectionKey;
            _leapConnection = IntPtr.Zero;

            Frames = new CircularObjectBuffer <LEAP_TRACKING_EVENT>(_frameBufferLength);
        }
예제 #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);
        }
예제 #3
0
파일: Connection.cs 프로젝트: prosa100/vros
        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();
        }