Ejemplo n.º 1
0
        /// <summary>
        /// Whenever a new point gets loaded, this is what happens with him.
        /// </summary>
        /// <param name="point">Point data structure containing position and stuff.</param>
        private void OnNewPointAdded(Common.Point point)
        {
            _signalEvent.WaitOne();

            _pointCloud.AddPoint(point);
            _voxelSpace.AddPoint(point);

            _signalEvent.Set();

            _boundingBox.Update(point.Position);
        }