コード例 #1
0
 /// <summary>
 /// Raises the dictionary id dropdown value changed event.
 /// </summary>
 public void OnDictionaryIdDropdownValueChanged(int result)
 {
     if ((int)dictionaryId != result)
     {
         dictionaryId = (ArUcoDictionary)result;
         CreateMaeker();
     }
 }
コード例 #2
0
        /// <summary>
        /// Raises the dictionary id dropdown value changed event.
        /// </summary>
        public void OnDictionaryIdDropdownValueChanged(int result)
        {
            if ((int)dictionaryId != result)
            {
                dictionaryId = (ArUcoDictionary)result;

                ResetObjectTransform();

                DetectMarkers();
            }
        }
コード例 #3
0
        /// <summary>
        /// Raises the dictionary id dropdown value changed event.
        /// </summary>
        public void OnDictionaryIdDropdownValueChanged(int result)
        {
            if ((int)dictionaryId != result)
            {
                dictionaryId = (ArUcoDictionary)result;
                dictionary   = Aruco.getPredefinedDictionary((int)dictionaryId);

                ResetObjectTransform();

                if (webCamTextureToMatHelper.IsInitialized())
                {
                    webCamTextureToMatHelper.Initialize();
                }
            }
        }
        /// <summary>
        /// Raises the dictionary id dropdown value changed event.
        /// </summary>
        public void OnDictionaryIdDropdownValueChanged(int result)
        {
            if ((int)dictionaryId != result)
            {
                dictionaryId = (ArUcoDictionary)result;
                dictionary   = Aruco.getPredefinedDictionary((int)dictionaryId);

                if (isImagesInputMode)
                {
                    InitializeImagesInputMode();
                }
                else
                {
                    if (webCamTextureToMatHelper.IsInitialized())
                    {
                        webCamTextureToMatHelper.Initialize();
                    }
                }
            }
        }