Пример #1
0
        /// <inheritdoc/>
        protected override void OnReset()
        {
            // Reset visibility
            if (ResultView.Width != TransparencyView.Width || ResultView.Height != TransparencyView.Height)
            {
                ResultView = new ArrayView <double>(TransparencyView.Width, TransparencyView.Height);
            }
            else
            {
                ResultView.Fill(0);
            }

            // Cycle current and previous FOVs
            _previousFOV = _currentFOV;
            _currentFOV  = new HashSet <Point>();
        }