コード例 #1
0
ファイル: Connection.cs プロジェクト: LABSIM/APOLLON
        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();
        }