|
|
|
|
|
namespace KepGridEditor
|
|
|
|
|
|
{
|
|
|
|
|
|
partial class FormSmoothSetting
|
|
|
|
|
|
{
|
|
|
|
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
|
|
|
|
|
|
|
|
protected override void Dispose(bool disposing)
|
|
|
|
|
|
{
|
|
|
|
|
|
if (disposing && (components != null))
|
|
|
|
|
|
{
|
|
|
|
|
|
components.Dispose();
|
|
|
|
|
|
}
|
|
|
|
|
|
base.Dispose(disposing);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
|
|
|
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
|
{
|
|
|
|
|
|
this.lblAlgorithm = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
this.cboAlgorithm = new DevExpress.XtraEditors.ComboBoxEdit();
|
|
|
|
|
|
|
|
|
|
|
|
// 容器:高斯参数
|
|
|
|
|
|
this.gcGaussian = new DevExpress.XtraEditors.GroupControl();
|
|
|
|
|
|
this.lblRadius = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
this.txtGaussianRadius = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
|
this.lblIteration = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
this.txtIterationCount = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
|
|
|
|
|
|
|
// 容器:系数参数
|
|
|
|
|
|
this.gcNewAlgo = new DevExpress.XtraEditors.GroupControl();
|
|
|
|
|
|
this.lblCoefficient = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
this.txtSmoothCoefficient = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
|
this.lblTimes = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
this.txtSmoothTimes = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
|
|
|
|
|
|
|
// 平滑区域部分
|
|
|
|
|
|
this.lblRegion = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
this.rdoSmoothRegion = new DevExpress.XtraEditors.RadioGroup();
|
|
|
|
|
|
|
|
|
|
|
|
// 羽化部分
|
|
|
|
|
|
this.lblFeather = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
this.txtFeatherWidth = new DevExpress.XtraEditors.TextEdit();
|
|
|
|
|
|
this.lblUnit = new DevExpress.XtraEditors.LabelControl();
|
|
|
|
|
|
|
|
|
|
|
|
// 按钮
|
|
|
|
|
|
this.btnOK = new DevExpress.XtraEditors.SimpleButton();
|
|
|
|
|
|
this.btnCancel = new DevExpress.XtraEditors.SimpleButton();
|
|
|
|
|
|
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.cboAlgorithm.Properties)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gcGaussian)).BeginInit();
|
|
|
|
|
|
this.gcGaussian.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtGaussianRadius.Properties)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtIterationCount.Properties)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gcNewAlgo)).BeginInit();
|
|
|
|
|
|
this.gcNewAlgo.SuspendLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtSmoothCoefficient.Properties)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtSmoothTimes.Properties)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rdoSmoothRegion.Properties)).BeginInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtFeatherWidth.Properties)).BeginInit();
|
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// 顶部:算法选择
|
|
|
|
|
|
//
|
|
|
|
|
|
this.lblAlgorithm.Location = new System.Drawing.Point(20, 23);
|
|
|
|
|
|
this.lblAlgorithm.Name = "lblAlgorithm";
|
|
|
|
|
|
this.lblAlgorithm.Size = new System.Drawing.Size(52, 14);
|
|
|
|
|
|
this.lblAlgorithm.TabIndex = 0;
|
|
|
|
|
|
this.lblAlgorithm.Text = "平滑算法:";
|
|
|
|
|
|
|
|
|
|
|
|
this.cboAlgorithm.EditValue = "迭代高斯";
|
|
|
|
|
|
this.cboAlgorithm.Location = new System.Drawing.Point(85, 20);
|
|
|
|
|
|
this.cboAlgorithm.Name = "cboAlgorithm";
|
|
|
|
|
|
this.cboAlgorithm.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
|
|
|
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
|
|
|
|
this.cboAlgorithm.Properties.Items.AddRange(new object[] {
|
|
|
|
|
|
"迭代高斯",
|
|
|
|
|
|
"系数平滑"});
|
|
|
|
|
|
this.cboAlgorithm.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
|
|
|
|
|
|
this.cboAlgorithm.Size = new System.Drawing.Size(220, 20);
|
|
|
|
|
|
this.cboAlgorithm.TabIndex = 1;
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// 容器1:高斯参数 (默认显示)
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gcGaussian.Controls.Add(this.lblRadius);
|
|
|
|
|
|
this.gcGaussian.Controls.Add(this.txtGaussianRadius);
|
|
|
|
|
|
this.gcGaussian.Controls.Add(this.lblIteration);
|
|
|
|
|
|
this.gcGaussian.Controls.Add(this.txtIterationCount);
|
|
|
|
|
|
this.gcGaussian.Location = new System.Drawing.Point(20, 60);
|
|
|
|
|
|
this.gcGaussian.Name = "gcGaussian";
|
|
|
|
|
|
this.gcGaussian.Size = new System.Drawing.Size(285, 100);
|
|
|
|
|
|
this.gcGaussian.TabIndex = 2;
|
|
|
|
|
|
this.gcGaussian.Text = "迭代高斯参数";
|
|
|
|
|
|
|
|
|
|
|
|
this.lblRadius.Location = new System.Drawing.Point(15, 35);
|
|
|
|
|
|
this.lblRadius.Name = "lblRadius";
|
|
|
|
|
|
this.lblRadius.Size = new System.Drawing.Size(52, 14);
|
|
|
|
|
|
this.lblRadius.TabIndex = 0;
|
|
|
|
|
|
this.lblRadius.Text = "高斯半径:";
|
|
|
|
|
|
|
|
|
|
|
|
this.txtGaussianRadius.EditValue = "1.5";
|
|
|
|
|
|
this.txtGaussianRadius.Location = new System.Drawing.Point(80, 32);
|
|
|
|
|
|
this.txtGaussianRadius.Name = "txtGaussianRadius";
|
|
|
|
|
|
this.txtGaussianRadius.Size = new System.Drawing.Size(190, 20);
|
|
|
|
|
|
this.txtGaussianRadius.TabIndex = 1;
|
|
|
|
|
|
|
|
|
|
|
|
this.lblIteration.Location = new System.Drawing.Point(15, 65);
|
|
|
|
|
|
this.lblIteration.Name = "lblIteration";
|
|
|
|
|
|
this.lblIteration.Size = new System.Drawing.Size(52, 14);
|
|
|
|
|
|
this.lblIteration.TabIndex = 2;
|
|
|
|
|
|
this.lblIteration.Text = "迭代次数:";
|
|
|
|
|
|
|
|
|
|
|
|
this.txtIterationCount.EditValue = "8";
|
|
|
|
|
|
this.txtIterationCount.Location = new System.Drawing.Point(80, 62);
|
|
|
|
|
|
this.txtIterationCount.Name = "txtIterationCount";
|
|
|
|
|
|
this.txtIterationCount.Size = new System.Drawing.Size(190, 20);
|
|
|
|
|
|
this.txtIterationCount.TabIndex = 3;
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// 容器2:系数参数 (默认隐藏,位置与高斯容器重叠)
|
|
|
|
|
|
//
|
|
|
|
|
|
this.gcNewAlgo.Controls.Add(this.lblCoefficient);
|
|
|
|
|
|
this.gcNewAlgo.Controls.Add(this.txtSmoothCoefficient);
|
|
|
|
|
|
this.gcNewAlgo.Controls.Add(this.lblTimes);
|
|
|
|
|
|
this.gcNewAlgo.Controls.Add(this.txtSmoothTimes);
|
|
|
|
|
|
this.gcNewAlgo.Location = new System.Drawing.Point(20, 60); // 位置相同
|
|
|
|
|
|
this.gcNewAlgo.Name = "gcNewAlgo";
|
|
|
|
|
|
this.gcNewAlgo.Size = new System.Drawing.Size(285, 100);
|
|
|
|
|
|
this.gcNewAlgo.TabIndex = 3;
|
|
|
|
|
|
this.gcNewAlgo.Text = "系数参数";
|
|
|
|
|
|
this.gcNewAlgo.Visible = false; // 初始隐藏
|
|
|
|
|
|
|
|
|
|
|
|
this.lblCoefficient.Location = new System.Drawing.Point(15, 35);
|
|
|
|
|
|
this.lblCoefficient.Name = "lblCoefficient";
|
|
|
|
|
|
this.lblCoefficient.Size = new System.Drawing.Size(52, 14);
|
|
|
|
|
|
this.lblCoefficient.TabIndex = 0;
|
|
|
|
|
|
this.lblCoefficient.Text = "平滑系数:";
|
|
|
|
|
|
|
|
|
|
|
|
this.txtSmoothCoefficient.EditValue = "1";
|
|
|
|
|
|
this.txtSmoothCoefficient.Location = new System.Drawing.Point(80, 32);
|
|
|
|
|
|
this.txtSmoothCoefficient.Name = "txtSmoothCoefficient";
|
|
|
|
|
|
this.txtSmoothCoefficient.Size = new System.Drawing.Size(190, 20);
|
|
|
|
|
|
this.txtSmoothCoefficient.TabIndex = 1;
|
|
|
|
|
|
|
|
|
|
|
|
this.lblTimes.Location = new System.Drawing.Point(15, 65);
|
|
|
|
|
|
this.lblTimes.Name = "lblTimes";
|
|
|
|
|
|
this.lblTimes.Size = new System.Drawing.Size(52, 14);
|
|
|
|
|
|
this.lblTimes.TabIndex = 2;
|
|
|
|
|
|
this.lblTimes.Text = "平滑次数:";
|
|
|
|
|
|
|
|
|
|
|
|
this.txtSmoothTimes.EditValue = "10";
|
|
|
|
|
|
this.txtSmoothTimes.Location = new System.Drawing.Point(80, 62);
|
|
|
|
|
|
this.txtSmoothTimes.Name = "txtSmoothTimes";
|
|
|
|
|
|
this.txtSmoothTimes.Size = new System.Drawing.Size(190, 20);
|
|
|
|
|
|
this.txtSmoothTimes.TabIndex = 3;
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// 平滑区域部分
|
|
|
|
|
|
//
|
|
|
|
|
|
this.lblRegion.Location = new System.Drawing.Point(20, 180);
|
|
|
|
|
|
this.lblRegion.Name = "lblRegion";
|
|
|
|
|
|
this.lblRegion.Size = new System.Drawing.Size(52, 14);
|
|
|
|
|
|
this.lblRegion.TabIndex = 4;
|
|
|
|
|
|
this.lblRegion.Text = "平滑区域:";
|
|
|
|
|
|
|
|
|
|
|
|
this.rdoSmoothRegion.EditValue = 0;
|
|
|
|
|
|
this.rdoSmoothRegion.Location = new System.Drawing.Point(20, 200);
|
|
|
|
|
|
this.rdoSmoothRegion.Name = "rdoSmoothRegion";
|
|
|
|
|
|
this.rdoSmoothRegion.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
|
|
|
|
|
|
this.rdoSmoothRegion.Properties.Appearance.Options.UseBackColor = true;
|
|
|
|
|
|
this.rdoSmoothRegion.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
|
|
|
|
|
|
this.rdoSmoothRegion.Properties.Columns = 3;
|
|
|
|
|
|
this.rdoSmoothRegion.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
|
|
|
|
|
|
new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "无"),
|
|
|
|
|
|
new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "范围内"),
|
|
|
|
|
|
new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "范围外")});
|
|
|
|
|
|
this.rdoSmoothRegion.Size = new System.Drawing.Size(285, 30);
|
|
|
|
|
|
this.rdoSmoothRegion.TabIndex = 5;
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// 羽化部分
|
|
|
|
|
|
//
|
|
|
|
|
|
this.lblFeather.Location = new System.Drawing.Point(20, 243);
|
|
|
|
|
|
this.lblFeather.Name = "lblFeather";
|
|
|
|
|
|
this.lblFeather.Size = new System.Drawing.Size(69, 14);
|
|
|
|
|
|
this.lblFeather.TabIndex = 6;
|
|
|
|
|
|
this.lblFeather.Text = "羽化宽度(b):";
|
|
|
|
|
|
|
|
|
|
|
|
this.txtFeatherWidth.EditValue = "6";
|
|
|
|
|
|
this.txtFeatherWidth.Location = new System.Drawing.Point(100, 240);
|
|
|
|
|
|
this.txtFeatherWidth.Name = "txtFeatherWidth";
|
|
|
|
|
|
this.txtFeatherWidth.Size = new System.Drawing.Size(180, 20);
|
|
|
|
|
|
this.txtFeatherWidth.TabIndex = 7;
|
|
|
|
|
|
|
|
|
|
|
|
this.lblUnit.Location = new System.Drawing.Point(285, 243);
|
|
|
|
|
|
this.lblUnit.Name = "lblUnit";
|
|
|
|
|
|
this.lblUnit.Size = new System.Drawing.Size(12, 14);
|
|
|
|
|
|
this.lblUnit.TabIndex = 8;
|
|
|
|
|
|
this.lblUnit.Text = "格";
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// 按钮
|
|
|
|
|
|
//
|
|
|
|
|
|
this.btnOK.Location = new System.Drawing.Point(135, 280);
|
|
|
|
|
|
this.btnOK.Name = "btnOK";
|
|
|
|
|
|
this.btnOK.Size = new System.Drawing.Size(75, 25);
|
|
|
|
|
|
this.btnOK.TabIndex = 9;
|
|
|
|
|
|
this.btnOK.Text = "确定";
|
|
|
|
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
|
|
|
|
|
|
|
|
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
|
|
|
|
this.btnCancel.Location = new System.Drawing.Point(230, 280);
|
|
|
|
|
|
this.btnCancel.Name = "btnCancel";
|
|
|
|
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 25);
|
|
|
|
|
|
this.btnCancel.TabIndex = 10;
|
|
|
|
|
|
this.btnCancel.Text = "取消";
|
|
|
|
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
// FormSmoothSetting
|
|
|
|
|
|
//
|
|
|
|
|
|
this.AcceptButton = this.btnOK;
|
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
|
this.CancelButton = this.btnCancel;
|
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(325, 325);
|
|
|
|
|
|
this.Controls.Add(this.btnCancel);
|
|
|
|
|
|
this.Controls.Add(this.btnOK);
|
|
|
|
|
|
this.Controls.Add(this.lblUnit);
|
|
|
|
|
|
this.Controls.Add(this.txtFeatherWidth);
|
|
|
|
|
|
this.Controls.Add(this.lblFeather);
|
|
|
|
|
|
this.Controls.Add(this.rdoSmoothRegion);
|
|
|
|
|
|
this.Controls.Add(this.lblRegion);
|
|
|
|
|
|
this.Controls.Add(this.gcNewAlgo);
|
|
|
|
|
|
this.Controls.Add(this.gcGaussian);
|
|
|
|
|
|
this.Controls.Add(this.cboAlgorithm);
|
|
|
|
|
|
this.Controls.Add(this.lblAlgorithm);
|
|
|
|
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
|
this.MinimizeBox = false;
|
|
|
|
|
|
this.Name = "FormSmoothSetting";
|
|
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
|
|
|
|
|
|
this.Text = "全图平滑参数设置";
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.cboAlgorithm.Properties)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gcGaussian)).EndInit();
|
|
|
|
|
|
this.gcGaussian.ResumeLayout(false);
|
|
|
|
|
|
this.gcGaussian.PerformLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtGaussianRadius.Properties)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtIterationCount.Properties)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.gcNewAlgo)).EndInit();
|
|
|
|
|
|
this.gcNewAlgo.ResumeLayout(false);
|
|
|
|
|
|
this.gcNewAlgo.PerformLayout();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtSmoothCoefficient.Properties)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtSmoothTimes.Properties)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.rdoSmoothRegion.Properties)).EndInit();
|
|
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.txtFeatherWidth.Properties)).EndInit();
|
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblAlgorithm;
|
|
|
|
|
|
private DevExpress.XtraEditors.ComboBoxEdit cboAlgorithm;
|
|
|
|
|
|
|
|
|
|
|
|
// 高斯组
|
|
|
|
|
|
private DevExpress.XtraEditors.GroupControl gcGaussian;
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblRadius;
|
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtGaussianRadius;
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblIteration;
|
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtIterationCount;
|
|
|
|
|
|
|
|
|
|
|
|
// 系数组
|
|
|
|
|
|
private DevExpress.XtraEditors.GroupControl gcNewAlgo;
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblCoefficient;
|
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtSmoothCoefficient;
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblTimes;
|
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtSmoothTimes;
|
|
|
|
|
|
|
|
|
|
|
|
// 公共区
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblRegion;
|
|
|
|
|
|
private DevExpress.XtraEditors.RadioGroup rdoSmoothRegion;
|
|
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblFeather;
|
|
|
|
|
|
private DevExpress.XtraEditors.TextEdit txtFeatherWidth;
|
|
|
|
|
|
private DevExpress.XtraEditors.LabelControl lblUnit;
|
|
|
|
|
|
|
|
|
|
|
|
private DevExpress.XtraEditors.SimpleButton btnOK;
|
|
|
|
|
|
private DevExpress.XtraEditors.SimpleButton btnCancel;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|