Example #1
0
        /// <summary>
        /// 모든 속성 업데이트하기.
        /// </summary>
        private void UpdateToolData()
        {
            m_Tool = SubjectTool;

            this.RaisePropertyChanged(nameof(ProjectionLength));
            this.RaisePropertyChanged(nameof(SearchLength));
            this.RaisePropertyChanged(nameof(OriginX));
            this.RaisePropertyChanged(nameof(OriginY));
            this.RaisePropertyChanged(nameof(Radian));
            this.RaisePropertyChanged(nameof(Rotation));
            this.RaisePropertyChanged(nameof(ContrastThreshold));
            this.RaisePropertyChanged(nameof(HalfPixelCount));
            this.RaisePropertyChanged(nameof(SelectedEdge0Direction));
            this.RaisePropertyChanged(nameof(SelectedEdge1Direction));
            this.RaisePropertyChanged(nameof(TargetBreadth));

            this.RaisePropertyChanged(nameof(Overlay));
            this.RaisePropertyChanged(nameof(Message));
        }
Example #2
0
 /// <summary>
 /// BreadthDetectToolEditor 를 생성합니다.
 /// </summary>
 public BreadthDetectToolEditor()
 {
     InitializeComponent();
     DataContext = this;
     m_Tool      = SubjectTool;
 }