#0012:新增etalon 文件格式的解析与可视化,和控制

This commit is contained in:
zhengxuan.zhang
2024-09-10 17:35:19 +08:00
parent 74272c8406
commit e27c65d01a
187 changed files with 329682 additions and 22 deletions
+121
View File
@@ -0,0 +1,121 @@
namespace HexcalMC
{
partial class DemoShow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DemoShow));
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.btn_StartShow = new System.Windows.Forms.Button();
this.btn_StopShow = new System.Windows.Forms.Button();
this.lable_showstatus = new System.Windows.Forms.Label();
this.timer_UI = new System.Windows.Forms.Timer(this.components);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
this.SuspendLayout();
//
// pictureBox1
//
this.pictureBox1.Image = global::HexcalMC.Properties.Resources.demo_show_128;
this.pictureBox1.Location = new System.Drawing.Point(48, 33);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(128, 128);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// btn_StartShow
//
this.btn_StartShow.Location = new System.Drawing.Point(270, 199);
this.btn_StartShow.Name = "btn_StartShow";
this.btn_StartShow.Size = new System.Drawing.Size(100, 40);
this.btn_StartShow.TabIndex = 1;
this.btn_StartShow.Text = "开始演示";
this.btn_StartShow.UseVisualStyleBackColor = true;
this.btn_StartShow.Click += new System.EventHandler(this.btn_StartShow_Click);
//
// btn_StopShow
//
this.btn_StopShow.Location = new System.Drawing.Point(407, 199);
this.btn_StopShow.Name = "btn_StopShow";
this.btn_StopShow.Size = new System.Drawing.Size(100, 40);
this.btn_StopShow.TabIndex = 2;
this.btn_StopShow.Text = "停止演示";
this.btn_StopShow.UseVisualStyleBackColor = true;
this.btn_StopShow.Click += new System.EventHandler(this.btn_StopShow_Click);
//
// lable_showstatus
//
this.lable_showstatus.AutoSize = true;
this.lable_showstatus.Font = new System.Drawing.Font("Segoe UI", 18F);
this.lable_showstatus.Location = new System.Drawing.Point(228, 83);
this.lable_showstatus.Name = "lable_showstatus";
this.lable_showstatus.Size = new System.Drawing.Size(89, 32);
this.lable_showstatus.TabIndex = 3;
this.lable_showstatus.Text = "未演示";
//
// timer_UI
//
this.timer_UI.Interval = 1000;
this.timer_UI.Tick += new System.EventHandler(this.timer_UI_Tick);
//
// DemoShow
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(519, 251);
this.Controls.Add(this.lable_showstatus);
this.Controls.Add(this.btn_StopShow);
this.Controls.Add(this.btn_StartShow);
this.Controls.Add(this.pictureBox1);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "DemoShow";
//
//
//
this.RootElement.ApplyShapeToControl = true;
this.Text = "演示模式";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.DemoShow_FormClosing);
this.Load += new System.EventHandler(this.DemoShow_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Button btn_StartShow;
private System.Windows.Forms.Button btn_StopShow;
private System.Windows.Forms.Label lable_showstatus;
private System.Windows.Forms.Timer timer_UI;
}
}
+149
View File
@@ -0,0 +1,149 @@
using System;
using System.Drawing;
using System.Windows.Forms;
using ACS.SPiiPlusNET;
using Telerik.WinControls.UI;
namespace HexcalMC
{
public partial class DemoShow : RadForm
{
public enum DemoStatus
{
NotStarted, // 未演示
InProgress, // 演示中
Completed, // 演示完成
Error // 演示出错
}
private readonly Api _motionApi;
public DemoShow(Api mothionApi)
{
InitializeComponent();
if (mothionApi == null)
{
throw new ArgumentNullException("运动平台未连接");
}
_motionApi = mothionApi;
Status = DemoStatus.NotStarted;
}
public DemoStatus Status { get; set; }
public TimeSpan TotalDuration { get; set; }
private void btn_StartShow_Click(object sender, EventArgs e)
{
if (_motionApi == null)
{
MessageBox.Show("Motion API is not initialized.", "提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
return;
}
//判断通讯状态
if (!_motionApi.IsConnected)
{
//连接失败
MessageBox.Show("请先点击连接运动平台", "提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
return;
}
//判断是否在演示中
if (Status == DemoStatus.InProgress)
{
MessageBox.Show("演示正在进行中,请先停止演示","提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
}
//运行演示
try
{
_motionApi.RunBuffer(ProgramBuffer.ACSC_BUFFER_12, null);
Status = DemoStatus.InProgress;
}
catch (Exception exception)
{
MessageBox.Show("运行演示失败:" + exception.Message, "提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
Status = DemoStatus.Error;
throw;
}
}
private void btn_StopShow_Click(object sender, EventArgs e)
{
if (_motionApi == null)
{
MessageBox.Show("Motion API is not initialized.", "提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
return;
}
if (!_motionApi.IsConnected)
{
MessageBox.Show("请先点击连接运动平台", "提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
return;
}
if (Status != DemoStatus.InProgress)
{
MessageBox.Show("演示未开始或已结束", "提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
return;
}
try
{
_motionApi.StopBuffer(ProgramBuffer.ACSC_BUFFER_12); //停止演示
Status = DemoStatus.Completed;
}
catch (Exception exception)
{
MessageBox.Show("运行演示失败:" + exception.Message, "提示", MessageBoxButtons.OK,
MessageBoxIcon.Information);
throw;
}
}
private void timer_UI_Tick(object sender, EventArgs e)
{
lable_showstatus.Text = Status.ToString();
switch (Status)
{
case DemoStatus.NotStarted:
lable_showstatus.ForeColor = Color.Black;
lable_showstatus.Text = "未演示";
break;
case DemoStatus.InProgress:
lable_showstatus.ForeColor = Color.Blue;
lable_showstatus.Text = "演示中";
break;
case DemoStatus.Completed:
lable_showstatus.ForeColor = Color.Green;
lable_showstatus.Text = "演示完成";
break;
case DemoStatus.Error:
lable_showstatus.ForeColor = Color.Red;
lable_showstatus.Text = "演示出错";
break;
}
}
private void DemoShow_Load(object sender, EventArgs e)
{
timer_UI.Start();
}
private void DemoShow_FormClosing(object sender, FormClosingEventArgs e)
{
timer_UI.Stop();
}
}
}
+200
View File
@@ -0,0 +1,200 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timer_UI.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AACt5tMNidzBKYTbviZ92LoOedi5AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAA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AB//+EAf/+BAB8AAAAHAAAABwAAAAcAA
AAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAYAHAAHgBwAB+AcAAfgHAAH/BwAB/8fAA
f//wAH///AB///+Af///wH///+B////4f/8=
</value>
</data>
</root>
+261
View File
@@ -0,0 +1,261 @@
namespace HexcalMC
{
partial class EtalonForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EtalonForm));
this.button1 = new System.Windows.Forms.Button();
this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.editor3D = new Plot3D.Editor3D();
this.checkMirrorY = new System.Windows.Forms.CheckBox();
this.checkMirrorX = new System.Windows.Forms.CheckBox();
this.label8 = new System.Windows.Forms.Label();
this.comboMouse = new System.Windows.Forms.ComboBox();
this.btnReset = new System.Windows.Forms.Button();
this.btnScreenshot = new System.Windows.Forms.Button();
this.label4 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.comboRaster = new System.Windows.Forms.ComboBox();
this.comboColors = new System.Windows.Forms.ComboBox();
this.labelMouseInfo = new System.Windows.Forms.ToolStripStatusLabel();
this.button2 = new System.Windows.Forms.Button();
this.textBox1 = new System.Windows.Forms.TextBox();
this.statusStrip1.SuspendLayout();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(9, 569);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(121, 23);
this.button1.TabIndex = 1;
this.button1.Text = "button1";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// statusStrip1
//
this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.labelMouseInfo});
this.statusStrip1.Location = new System.Drawing.Point(0, 679);
this.statusStrip1.Name = "statusStrip1";
this.statusStrip1.Size = new System.Drawing.Size(1020, 22);
this.statusStrip1.TabIndex = 2;
this.statusStrip1.Text = "statusStrip1";
//
// editor3D
//
this.editor3D.BackColor = System.Drawing.Color.White;
this.editor3D.BorderColorFocus = System.Drawing.Color.FromArgb(((int)(((byte)(51)))), ((int)(((byte)(153)))), ((int)(((byte)(255)))));
this.editor3D.BorderColorNormal = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(180)))), ((int)(((byte)(180)))));
this.editor3D.LegendPos = Plot3D.Editor3D.eLegendPos.BottomLeft;
this.editor3D.Location = new System.Drawing.Point(159, 25);
this.editor3D.Name = "editor3D";
this.editor3D.Normalize = Plot3D.Editor3D.eNormalize.Separate;
this.editor3D.Raster = Plot3D.Editor3D.eRaster.Labels;
this.editor3D.Size = new System.Drawing.Size(515, 610);
this.editor3D.TabIndex = 0;
this.editor3D.TooltipMode = ((Plot3D.Editor3D.eTooltip)((Plot3D.Editor3D.eTooltip.UserText | Plot3D.Editor3D.eTooltip.Coord)));
this.editor3D.TopLegendColor = System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(200)))), ((int)(((byte)(150)))));
//
// checkMirrorY
//
this.checkMirrorY.AutoSize = true;
this.checkMirrorY.BackColor = System.Drawing.Color.Transparent;
this.checkMirrorY.Location = new System.Drawing.Point(81, 149);
this.checkMirrorY.Name = "checkMirrorY";
this.checkMirrorY.Size = new System.Drawing.Size(72, 16);
this.checkMirrorY.TabIndex = 39;
this.checkMirrorY.Text = "Mirror Y";
this.checkMirrorY.UseVisualStyleBackColor = false;
//
// checkMirrorX
//
this.checkMirrorX.AutoSize = true;
this.checkMirrorX.BackColor = System.Drawing.Color.Transparent;
this.checkMirrorX.Location = new System.Drawing.Point(9, 149);
this.checkMirrorX.Name = "checkMirrorX";
this.checkMirrorX.Size = new System.Drawing.Size(72, 16);
this.checkMirrorX.TabIndex = 38;
this.checkMirrorX.Text = "Mirror X";
this.checkMirrorX.UseVisualStyleBackColor = false;
//
// label8
//
this.label8.AutoSize = true;
this.label8.Location = new System.Drawing.Point(7, 168);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(89, 12);
this.label8.TabIndex = 31;
this.label8.Text = "Mouse Buttons:";
//
// comboMouse
//
this.comboMouse.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboMouse.FormattingEnabled = true;
this.comboMouse.Items.AddRange(new object[] {
"Left Theta, Right Phi",
"Left Theta and Phi",
"Middle Theta and Phi"});
this.comboMouse.Location = new System.Drawing.Point(9, 181);
this.comboMouse.MaxDropDownItems = 30;
this.comboMouse.Name = "comboMouse";
this.comboMouse.Size = new System.Drawing.Size(121, 20);
this.comboMouse.TabIndex = 40;
//
// btnReset
//
this.btnReset.Location = new System.Drawing.Point(9, 205);
this.btnReset.Name = "btnReset";
this.btnReset.Size = new System.Drawing.Size(121, 21);
this.btnReset.TabIndex = 41;
this.btnReset.Text = "Reset Position";
this.btnReset.UseVisualStyleBackColor = true;
//
// btnScreenshot
//
this.btnScreenshot.Location = new System.Drawing.Point(9, 230);
this.btnScreenshot.Name = "btnScreenshot";
this.btnScreenshot.Size = new System.Drawing.Size(121, 21);
this.btnScreenshot.TabIndex = 42;
this.btnScreenshot.Text = "Save Screenshot";
this.btnScreenshot.UseVisualStyleBackColor = true;
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(7, 95);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(113, 12);
this.label4.TabIndex = 28;
this.label4.Text = "Coordinate System:";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(7, 58);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(83, 12);
this.label3.TabIndex = 27;
this.label3.Text = "Color Scheme:";
//
// comboRaster
//
this.comboRaster.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboRaster.FormattingEnabled = true;
this.comboRaster.Location = new System.Drawing.Point(9, 109);
this.comboRaster.MaxDropDownItems = 30;
this.comboRaster.Name = "comboRaster";
this.comboRaster.Size = new System.Drawing.Size(121, 20);
this.comboRaster.TabIndex = 36;
//
// comboColors
//
this.comboColors.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.comboColors.FormattingEnabled = true;
this.comboColors.Location = new System.Drawing.Point(9, 73);
this.comboColors.MaxDropDownItems = 30;
this.comboColors.Name = "comboColors";
this.comboColors.Size = new System.Drawing.Size(121, 20);
this.comboColors.TabIndex = 35;
//
// labelMouseInfo
//
this.labelMouseInfo.Name = "labelMouseInfo";
this.labelMouseInfo.Size = new System.Drawing.Size(99, 17);
this.labelMouseInfo.Text = "labelMouseInfo";
//
// button2
//
this.button2.Location = new System.Drawing.Point(933, 106);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(75, 23);
this.button2.TabIndex = 43;
this.button2.Text = "button2";
this.button2.UseVisualStyleBackColor = true;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(691, 106);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(213, 23);
this.textBox1.TabIndex = 44;
//
// EtalonForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1020, 701);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.button2);
this.Controls.Add(this.checkMirrorY);
this.Controls.Add(this.checkMirrorX);
this.Controls.Add(this.label8);
this.Controls.Add(this.comboMouse);
this.Controls.Add(this.btnReset);
this.Controls.Add(this.btnScreenshot);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.comboRaster);
this.Controls.Add(this.comboColors);
this.Controls.Add(this.statusStrip1);
this.Controls.Add(this.button1);
this.Controls.Add(this.editor3D);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "EtalonForm";
this.Text = "EtalonForm";
this.Load += new System.EventHandler(this.EtalonForm_Load);
this.statusStrip1.ResumeLayout(false);
this.statusStrip1.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Plot3D.Editor3D editor3D;
private System.Windows.Forms.Button button1;
private System.Windows.Forms.StatusStrip statusStrip1;
private System.Windows.Forms.CheckBox checkMirrorY;
private System.Windows.Forms.CheckBox checkMirrorX;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.ComboBox comboMouse;
private System.Windows.Forms.Button btnReset;
private System.Windows.Forms.Button btnScreenshot;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.ComboBox comboRaster;
private System.Windows.Forms.ComboBox comboColors;
private System.Windows.Forms.ToolStripStatusLabel labelMouseInfo;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.TextBox textBox1;
}
}
+259
View File
@@ -0,0 +1,259 @@
using ScottPlot.Plottable;
using ScottPlot;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ScottPlot;
using ScottPlot.Plottable;
using Plot3D;
// enums
using eRaster = Plot3D.Editor3D.eRaster;
using ePolygonMode = Plot3D.Editor3D.ePolygonMode;
using eSelEvent = Plot3D.Editor3D.eSelEvent;
using eSelType = Plot3D.Editor3D.eSelType;
using eObjType = Plot3D.Editor3D.eObjType;
using eTooltip = Plot3D.Editor3D.eTooltip;
using eNormalize = Plot3D.Editor3D.eNormalize;
using eMouseCtrl = Plot3D.Editor3D.eMouseCtrl;
using eScatterShape = Plot3D.Editor3D.eScatterShape;
using eColorScheme = Plot3D.Editor3D.eColorScheme;
using eInvalidate = Plot3D.Editor3D.eInvalidate;
using eLegendPos = Plot3D.Editor3D.eLegendPos;
// classes
using cObject3D = Plot3D.Editor3D.cObject3D;
using cPoint3D = Plot3D.Editor3D.cPoint3D;
using cShape3D = Plot3D.Editor3D.cShape3D;
using cLine3D = Plot3D.Editor3D.cLine3D;
using cPolygon3D = Plot3D.Editor3D.cPolygon3D;
using cColorScheme = Plot3D.Editor3D.cColorScheme;
using cMessgData = Plot3D.Editor3D.cMessgData;
using cSurfaceData = Plot3D.Editor3D.cSurfaceData;
using cScatterData = Plot3D.Editor3D.cScatterData;
using cLineData = Plot3D.Editor3D.cLineData;
using cPolygonData = Plot3D.Editor3D.cPolygonData;
using cUserInput = Plot3D.Editor3D.cUserInput;
// callback function
using delRendererFunction = Plot3D.Editor3D.delRendererFunction;
using static Plot3D.Editor3D;
using System.Diagnostics;
namespace HexcalMC
{
internal enum eDemo
{
Math_Callback,
Math_Formula,
Surface_Fill,
Surface_Grid,
Surface_Fill_Missing,
Surface_Grid_Missing,
Nested_Graphs,
Scatter_Plot,
Connected_Lines,
Scatter_Shapes,
Pyramid,
Sphere_Fill_Closed,
Sphere_Fill_Open,
Sphere_Grid,
Valentine,
Animation,
}
public partial class EtalonForm : System.Windows.Forms.Form
{
private eDemo me_Demo;
private eColorScheme me_ColorScheme;
private Timer mi_StatusTimer = new Timer();
private cMessgData mi_MesgTop = new cMessgData("", -7, 7, Color.Blue); // For special hint
private cMessgData mi_MesgBottom = new cMessgData("", -7, -7, Color.Gray); // For selection mode
// Only for demo "Animation"
private Timer mi_AnimationTimer = new Timer();
private cScatterData mi_SinusData;
private cPoint3D[] mi_Pyramid;
private int ms32_AnimationAngle;
public EtalonForm()
{
InitializeComponent();
}
private void EtalonForm_Load(object sender, EventArgs e)
{
}
private void DemoScatterPlot(bool b_Lines)
{
// 3 pixels for line width and for circle radius
const int SIZE = 3;
cColorScheme i_Scheme = new cColorScheme(me_ColorScheme);
cScatterData i_ShapeData = new cScatterData(i_Scheme);
cLineData i_LineData = new cLineData(i_Scheme);
List<cPoint3D> i_Points = new List<cPoint3D>();
for (double P = -22.0; P < 22.0; P += 0.1)
{
double d_X = Math.Sin(P) * P;
double d_Y = Math.Cos(P) * P;
double d_Z = P;
if (d_Z > 0.0) d_Z /= 3.0;
cPoint3D i_Point = new cPoint3D(d_X, d_Y, d_Z, "Scatter Point");
if (b_Lines)
{
i_Points.Add(i_Point);
}
else // Shapes
{
// You can store the returned shape in a variable and later modify it's properties
cShape3D i_Shape = i_ShapeData.AddShape(i_Point, eScatterShape.Circle, SIZE, null);
}
}
// You can store the returned lines in a variable and later modify their properties
cLine3D[] i_Lines = i_LineData.AddConnectedLines(i_Points, SIZE, null);
// Depending on your use case you can also specify MaintainXY or MaintainXYZ here
editor3D.Clear();
editor3D.Normalize = eNormalize.Separate;
editor3D.AddRenderData(i_ShapeData, i_LineData);
editor3D.Selection.HighlightColor = Color.FromArgb(90, 90, 90);
editor3D.Selection.Callback = OnSelectEvent;
editor3D.Selection.MultiSelect = true;
editor3D.Selection.Enabled = true;
editor3D.UndoBuffer.Enabled = true;
editor3D.Invalidate();
// For shapes this setting does not make a difference
//checkPointSelection.Checked = false;
//if (!b_Lines)
// checkPointSelection.Enabled = false;
}
//; Machine: ZIM
//; Position: 1
//; Created: 2/15/2023 12:29:13 PM
//; Program: TRAC-CAL V48, Build: 10, 5/13/2022 8:29:25 AM
//; File: 'cncData.xml'
//G71
//G90
//G500
//G01 X8000.000 Y200.000 Z-1400.000 F2000
//G04 F=2
//G01 X7800.000 Y300.000 Z-1400.000 F2000
//G04 F=2
//G01 X7600.000 Y400.000 Z-1400.000 F2000
//G04 F=2
//G01 X7400.000 Y500.000 Z-1400.000 F2000
//G04 F=2
//G01 X7200.000 Y600.000 Z-1400.000 F2000
private eInvalidate OnSelectEvent(eSelEvent e_Event, Keys e_Modifiers, int s32_DeltaX, int s32_DeltaY, cObject3D i_Object)//
{
eInvalidate e_Invalidate = eInvalidate.NoChange;
bool b_CTRL = (e_Modifiers & Keys.Control) > 0;
// The left mouse button went down with ALT key down and CTRL key up
if (e_Event == eSelEvent.MouseDown && !b_CTRL && i_Object != null)
{
i_Object.Selected = !i_Object.Selected;
// After changing the selection status the object must be redrawn.
e_Invalidate = eInvalidate.Invalidate;
}
else if (e_Event == eSelEvent.MouseDrag && b_CTRL)
{
// The user is dragging the mouse with ALT + CTRL keys down. Convert the mouse
// movement in the 2D space into a movement in the 3D space.
cPoint3D i_Project = editor3D.ReverseProject(s32_DeltaX, s32_DeltaY);
// GetSelectedPoints() returns only unique points.
cPoint3D[] i_Selected = editor3D.Selection.GetSelectedPoints(eSelType.All);
foreach (cPoint3D i_Point in i_Selected)
{
switch (me_Demo)
{
case eDemo.Pyramid:
case eDemo.Scatter_Shapes:
case eDemo.Scatter_Plot:
case eDemo.Connected_Lines:
// The pyramid line end points / scatter shapes can be moved freely in
// the 3D space
i_Point.Move(i_Project.X, i_Project.Y, i_Project.Z);
break;
case eDemo.Surface_Fill:
case eDemo.Surface_Grid:
case eDemo.Surface_Fill_Missing:
case eDemo.Surface_Grid_Missing:
// The points in the Surface grid have a fixed X,Y position, only Z can
// be modified.
i_Point.Move(0, 0, i_Project.Z);
break;
default:
Debug.Assert(false);
break;
}
}
// Set flag to recalculate the coordinate system, then Invalidate()
e_Invalidate = eInvalidate.CoordSystem;
}
mi_StatusTimer.Stop();
mi_StatusTimer.Start();
return e_Invalidate;
}
private void button1_Click(object sender, EventArgs e)
{
DemoScatterPlot(false);
}
private void comboMouse_SelectedIndexChanged(object sender, EventArgs e)
{
switch (comboMouse.SelectedIndex)
{
case 0:
editor3D.SetUserInputs(eMouseCtrl.L_Theta_R_Phi);
labelMouseInfo.Text = "Left mouse: Elevate, Right mouse: Rotate";
break;
case 1:
editor3D.SetUserInputs(eMouseCtrl.L_Theta_L_Phi);
labelMouseInfo.Text = "Left mouse: Elevate and Rotate";
break;
case 2:
editor3D.SetUserInputs(eMouseCtrl.M_Theta_M_Phi);
labelMouseInfo.Text = "Middle mouse: Elevate and Rotate";
break;
default:
Debug.Assert(false);
break;
}
labelMouseInfo.Text += ", Left mouse + SHIFT: Move, Left mouse + CTRL or wheel: Zoom, Left mouse + ALT: Select";
}
}
}
+203
View File
@@ -0,0 +1,203 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>25</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AACt5tMNidzBKYTbviZ92LoOedi5AgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAzO/jAbfp2C6J3MGShNu+h3zYujF52LkGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAACS3sYvgtq+anrYuquB2r22ftm7z4DZvKuL3MJWzvDkBM7w5AEAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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