Exemple #1
0
        /// <summary>
        /// Sets the view mode for mouse events in the HALCON window
        /// (zoom, move, magnify or none).
        /// </summary>
        /// <param name="mode">One of the MODE_VIEW_* constants</param>
        protected internal void setViewState(int mode)
        {
            stateView = mode;

            if (roiManager != null)
            {
                roiManager.resetROI();
            }
        }