예제 #1
0
        public void InitializeCommit(VideoFrame videoFrame, PointF point)
        {
            magnifier.InitializeCommit(point);

            IInitializable initializable = hitDrawing as IInitializable;

            if (initializable == null || !initializable.Initializing)
            {
                return;
            }

            string key = initializable.InitializeCommit(point);

            if (string.IsNullOrEmpty(key))
            {
                return;
            }

            ITrackable trackable = hitDrawing as ITrackable;

            if (trackable != null)
            {
                trackabilityManager.AddPoint(trackable, videoFrame, key, point);
            }
        }