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

            this.RaisePropertyChanged(nameof(OriginX));
            this.RaisePropertyChanged(nameof(OriginY));
            this.RaisePropertyChanged(nameof(Radius));
            this.RaisePropertyChanged(nameof(StartAngle));
            this.RaisePropertyChanged(nameof(EndAngle));
            this.RaisePropertyChanged(nameof(IsOutwardDirection));
            this.RaisePropertyChanged(nameof(CaliperCount));
            this.RaisePropertyChanged(nameof(ConsensusThreshold));

            this.RaisePropertyChanged(nameof(ProjectionLength));
            this.RaisePropertyChanged(nameof(SearchLength));
            this.RaisePropertyChanged(nameof(ContrastThreshold));
            this.RaisePropertyChanged(nameof(HalfPixelCount));
            this.RaisePropertyChanged(nameof(SelectedEdgeDirection));

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