mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-09 00:09:58 +00:00
76bf5e9dba
-Settings window can only be opened once
-When the client can't open a device, it tries multiple times
-Recording bins are now saved with a unique ID per device, to allow multiple clients to record on the same PC
-Synchronized & Unsynchronized devices can be both used in one server
-Included a workaround for a bug in the Azure Kinect SDK regarding exposure (microsoft/Azure-Kinect-Sensor-SDK#1378)
824 lines
39 KiB
C#
824 lines
39 KiB
C#
namespace KinectServer
|
|
{
|
|
partial class SettingsForm
|
|
{
|
|
/// <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.lbMerge = new System.Windows.Forms.Label();
|
|
this.chMerge = new System.Windows.Forms.CheckBox();
|
|
this.lbICPIters = new System.Windows.Forms.Label();
|
|
this.txtICPIters = new System.Windows.Forms.TextBox();
|
|
this.grClient = new System.Windows.Forms.GroupBox();
|
|
this.grExposure = new System.Windows.Forms.GroupBox();
|
|
this.lbManualExposure = new System.Windows.Forms.Label();
|
|
this.chAutoExposureEnabled = new System.Windows.Forms.CheckBox();
|
|
this.trManualExposure = new System.Windows.Forms.TrackBar();
|
|
this.grTempSync = new System.Windows.Forms.GroupBox();
|
|
this.btSyncDisable = new System.Windows.Forms.Button();
|
|
this.btSyncEnable = new System.Windows.Forms.Button();
|
|
this.lbTempSync = new System.Windows.Forms.Label();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.grBody = new System.Windows.Forms.GroupBox();
|
|
this.chSkeletons = new System.Windows.Forms.CheckBox();
|
|
this.chBodyData = new System.Windows.Forms.CheckBox();
|
|
this.grMarkers = new System.Windows.Forms.GroupBox();
|
|
this.lbX2 = new System.Windows.Forms.Label();
|
|
this.btRemove = new System.Windows.Forms.Button();
|
|
this.txtOrientationZ = new System.Windows.Forms.TextBox();
|
|
this.txtId = new System.Windows.Forms.TextBox();
|
|
this.lbY2 = new System.Windows.Forms.Label();
|
|
this.txtOrientationY = new System.Windows.Forms.TextBox();
|
|
this.lbId = new System.Windows.Forms.Label();
|
|
this.lbZ2 = new System.Windows.Forms.Label();
|
|
this.txtOrientationX = new System.Windows.Forms.TextBox();
|
|
this.btAdd = new System.Windows.Forms.Button();
|
|
this.lbTranslation = new System.Windows.Forms.Label();
|
|
this.lbOrientation = new System.Windows.Forms.Label();
|
|
this.txtTranslationZ = new System.Windows.Forms.TextBox();
|
|
this.txtTranslationX = new System.Windows.Forms.TextBox();
|
|
this.lisMarkers = new System.Windows.Forms.ListBox();
|
|
this.txtTranslationY = new System.Windows.Forms.TextBox();
|
|
this.grBounding = new System.Windows.Forms.GroupBox();
|
|
this.lbMin = new System.Windows.Forms.Label();
|
|
this.txtMaxZ = new System.Windows.Forms.TextBox();
|
|
this.txtMaxY = new System.Windows.Forms.TextBox();
|
|
this.txtMinX = new System.Windows.Forms.TextBox();
|
|
this.txtMaxX = new System.Windows.Forms.TextBox();
|
|
this.txtMinY = new System.Windows.Forms.TextBox();
|
|
this.lbMax = new System.Windows.Forms.Label();
|
|
this.txtMinZ = new System.Windows.Forms.TextBox();
|
|
this.lbZ = new System.Windows.Forms.Label();
|
|
this.lbY = new System.Windows.Forms.Label();
|
|
this.lbX = new System.Windows.Forms.Label();
|
|
this.grFiltering = new System.Windows.Forms.GroupBox();
|
|
this.txtFilterNeighbors = new System.Windows.Forms.TextBox();
|
|
this.chFilter = new System.Windows.Forms.CheckBox();
|
|
this.lbFilterNeighbors = new System.Windows.Forms.Label();
|
|
this.lbFilterDistance = new System.Windows.Forms.Label();
|
|
this.txtFilterDistance = new System.Windows.Forms.TextBox();
|
|
this.grServer = new System.Windows.Forms.GroupBox();
|
|
this.cbCompressionLevel = new System.Windows.Forms.ComboBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.rBinaryPly = new System.Windows.Forms.RadioButton();
|
|
this.lbFormat = new System.Windows.Forms.Label();
|
|
this.rAsciiPly = new System.Windows.Forms.RadioButton();
|
|
this.txtRefinIters = new System.Windows.Forms.TextBox();
|
|
this.lbOuterIters = new System.Windows.Forms.Label();
|
|
this.grClient.SuspendLayout();
|
|
this.grExposure.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.trManualExposure)).BeginInit();
|
|
this.grTempSync.SuspendLayout();
|
|
this.grBody.SuspendLayout();
|
|
this.grMarkers.SuspendLayout();
|
|
this.grBounding.SuspendLayout();
|
|
this.grFiltering.SuspendLayout();
|
|
this.grServer.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// lbMerge
|
|
//
|
|
this.lbMerge.AutoSize = true;
|
|
this.lbMerge.Location = new System.Drawing.Point(5, 45);
|
|
this.lbMerge.Name = "lbMerge";
|
|
this.lbMerge.Size = new System.Drawing.Size(69, 13);
|
|
this.lbMerge.TabIndex = 22;
|
|
this.lbMerge.Text = "Scan saving:";
|
|
//
|
|
// chMerge
|
|
//
|
|
this.chMerge.AutoSize = true;
|
|
this.chMerge.Location = new System.Drawing.Point(104, 45);
|
|
this.chMerge.Name = "chMerge";
|
|
this.chMerge.Size = new System.Drawing.Size(86, 17);
|
|
this.chMerge.TabIndex = 23;
|
|
this.chMerge.Text = "merge scans";
|
|
this.chMerge.UseVisualStyleBackColor = true;
|
|
this.chMerge.CheckedChanged += new System.EventHandler(this.chMerge_CheckedChanged);
|
|
//
|
|
// lbICPIters
|
|
//
|
|
this.lbICPIters.AutoSize = true;
|
|
this.lbICPIters.Location = new System.Drawing.Point(5, 22);
|
|
this.lbICPIters.Name = "lbICPIters";
|
|
this.lbICPIters.Size = new System.Drawing.Size(86, 13);
|
|
this.lbICPIters.TabIndex = 24;
|
|
this.lbICPIters.Text = "Num of ICP iters:";
|
|
//
|
|
// txtICPIters
|
|
//
|
|
this.txtICPIters.Location = new System.Drawing.Point(104, 20);
|
|
this.txtICPIters.Name = "txtICPIters";
|
|
this.txtICPIters.Size = new System.Drawing.Size(38, 20);
|
|
this.txtICPIters.TabIndex = 25;
|
|
this.txtICPIters.TextChanged += new System.EventHandler(this.txtICPIters_TextChanged);
|
|
//
|
|
// grClient
|
|
//
|
|
this.grClient.Controls.Add(this.grExposure);
|
|
this.grClient.Controls.Add(this.grTempSync);
|
|
this.grClient.Controls.Add(this.grBody);
|
|
this.grClient.Controls.Add(this.grMarkers);
|
|
this.grClient.Controls.Add(this.grBounding);
|
|
this.grClient.Controls.Add(this.grFiltering);
|
|
this.grClient.Location = new System.Drawing.Point(12, 12);
|
|
this.grClient.Name = "grClient";
|
|
this.grClient.Size = new System.Drawing.Size(632, 408);
|
|
this.grClient.TabIndex = 43;
|
|
this.grClient.TabStop = false;
|
|
this.grClient.Text = "KinectClient settings";
|
|
//
|
|
// grExposure
|
|
//
|
|
this.grExposure.Controls.Add(this.lbManualExposure);
|
|
this.grExposure.Controls.Add(this.chAutoExposureEnabled);
|
|
this.grExposure.Controls.Add(this.trManualExposure);
|
|
this.grExposure.Location = new System.Drawing.Point(9, 283);
|
|
this.grExposure.Name = "grExposure";
|
|
this.grExposure.Size = new System.Drawing.Size(249, 115);
|
|
this.grExposure.TabIndex = 49;
|
|
this.grExposure.TabStop = false;
|
|
this.grExposure.Text = "Exposure Settings";
|
|
//
|
|
// lbManualExposure
|
|
//
|
|
this.lbManualExposure.AutoSize = true;
|
|
this.lbManualExposure.Location = new System.Drawing.Point(79, 52);
|
|
this.lbManualExposure.Name = "lbManualExposure";
|
|
this.lbManualExposure.Size = new System.Drawing.Size(91, 13);
|
|
this.lbManualExposure.TabIndex = 7;
|
|
this.lbManualExposure.Text = "Manual exposure:";
|
|
//
|
|
// chAutoExposureEnabled
|
|
//
|
|
this.chAutoExposureEnabled.AutoSize = true;
|
|
this.chAutoExposureEnabled.Checked = true;
|
|
this.chAutoExposureEnabled.CheckState = System.Windows.Forms.CheckState.Checked;
|
|
this.chAutoExposureEnabled.Location = new System.Drawing.Point(11, 20);
|
|
this.chAutoExposureEnabled.Name = "chAutoExposureEnabled";
|
|
this.chAutoExposureEnabled.Size = new System.Drawing.Size(135, 17);
|
|
this.chAutoExposureEnabled.TabIndex = 6;
|
|
this.chAutoExposureEnabled.Text = "Auto exposure enabled";
|
|
this.chAutoExposureEnabled.UseVisualStyleBackColor = true;
|
|
this.chAutoExposureEnabled.CheckedChanged += new System.EventHandler(this.chAutoExposureEnabled_CheckedChanged);
|
|
//
|
|
// trManualExposure
|
|
//
|
|
this.trManualExposure.Enabled = false;
|
|
this.trManualExposure.LargeChange = 1;
|
|
this.trManualExposure.Location = new System.Drawing.Point(6, 62);
|
|
this.trManualExposure.Maximum = -5;
|
|
this.trManualExposure.Minimum = -11;
|
|
this.trManualExposure.Name = "trManualExposure";
|
|
this.trManualExposure.Size = new System.Drawing.Size(237, 45);
|
|
this.trManualExposure.TabIndex = 5;
|
|
this.trManualExposure.Value = -8;
|
|
this.trManualExposure.Scroll += new System.EventHandler(this.trManualExposure_Scroll);
|
|
//
|
|
// grTempSync
|
|
//
|
|
this.grTempSync.Controls.Add(this.btSyncDisable);
|
|
this.grTempSync.Controls.Add(this.btSyncEnable);
|
|
this.grTempSync.Controls.Add(this.lbTempSync);
|
|
this.grTempSync.Controls.Add(this.label1);
|
|
this.grTempSync.Location = new System.Drawing.Point(271, 211);
|
|
this.grTempSync.Name = "grTempSync";
|
|
this.grTempSync.Size = new System.Drawing.Size(355, 97);
|
|
this.grTempSync.TabIndex = 48;
|
|
this.grTempSync.TabStop = false;
|
|
this.grTempSync.Text = "Temporal Sync";
|
|
//
|
|
// btSyncDisable
|
|
//
|
|
this.btSyncDisable.Location = new System.Drawing.Point(104, 19);
|
|
this.btSyncDisable.Name = "btSyncDisable";
|
|
this.btSyncDisable.Size = new System.Drawing.Size(92, 23);
|
|
this.btSyncDisable.TabIndex = 4;
|
|
this.btSyncDisable.Text = "Disable";
|
|
this.btSyncDisable.UseVisualStyleBackColor = true;
|
|
this.btSyncDisable.Click += new System.EventHandler(this.btSyncDisable_click);
|
|
//
|
|
// btSyncEnable
|
|
//
|
|
this.btSyncEnable.Location = new System.Drawing.Point(6, 19);
|
|
this.btSyncEnable.Name = "btSyncEnable";
|
|
this.btSyncEnable.Size = new System.Drawing.Size(92, 23);
|
|
this.btSyncEnable.TabIndex = 3;
|
|
this.btSyncEnable.Text = "Enable";
|
|
this.btSyncEnable.UseVisualStyleBackColor = true;
|
|
this.btSyncEnable.Click += new System.EventHandler(this.btSyncEnable_click);
|
|
//
|
|
// lbTempSync
|
|
//
|
|
this.lbTempSync.Location = new System.Drawing.Point(3, 45);
|
|
this.lbTempSync.Name = "lbTempSync";
|
|
this.lbTempSync.Size = new System.Drawing.Size(342, 47);
|
|
this.lbTempSync.TabIndex = 2;
|
|
this.lbTempSync.Text = "Before activating, make sure that all Kinects are connected to the server and pro" +
|
|
"perly connected via the sync cables. When Temporal Sync is activated, the exposu" +
|
|
"re needs to be set manually!";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Location = new System.Drawing.Point(7, 41);
|
|
this.label1.MaximumSize = new System.Drawing.Size(0, 60);
|
|
this.label1.MinimumSize = new System.Drawing.Size(0, 30);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(0, 30);
|
|
this.label1.TabIndex = 1;
|
|
this.label1.Text = "Notice: All devices need to be connected to the server and via sync cabel before" +
|
|
" enabeling! First Device in Server List will become the master";
|
|
//
|
|
// grBody
|
|
//
|
|
this.grBody.Controls.Add(this.chSkeletons);
|
|
this.grBody.Controls.Add(this.chBodyData);
|
|
this.grBody.Location = new System.Drawing.Point(9, 211);
|
|
this.grBody.Name = "grBody";
|
|
this.grBody.Size = new System.Drawing.Size(249, 66);
|
|
this.grBody.TabIndex = 47;
|
|
this.grBody.TabStop = false;
|
|
this.grBody.Text = "Body data";
|
|
//
|
|
// chSkeletons
|
|
//
|
|
this.chSkeletons.AutoSize = true;
|
|
this.chSkeletons.Enabled = false;
|
|
this.chSkeletons.Location = new System.Drawing.Point(11, 41);
|
|
this.chSkeletons.Name = "chSkeletons";
|
|
this.chSkeletons.Size = new System.Drawing.Size(154, 17);
|
|
this.chSkeletons.TabIndex = 21;
|
|
this.chSkeletons.Text = "show skeletons in live view";
|
|
this.chSkeletons.UseVisualStyleBackColor = true;
|
|
this.chSkeletons.CheckedChanged += new System.EventHandler(this.chSkeletons_CheckedChanged);
|
|
//
|
|
// chBodyData
|
|
//
|
|
this.chBodyData.AutoSize = true;
|
|
this.chBodyData.Enabled = false;
|
|
this.chBodyData.Location = new System.Drawing.Point(11, 19);
|
|
this.chBodyData.Name = "chBodyData";
|
|
this.chBodyData.Size = new System.Drawing.Size(113, 17);
|
|
this.chBodyData.TabIndex = 19;
|
|
this.chBodyData.Text = "stream only bodies";
|
|
this.chBodyData.UseVisualStyleBackColor = true;
|
|
this.chBodyData.CheckedChanged += new System.EventHandler(this.chBodyData_CheckedChanged);
|
|
//
|
|
// grMarkers
|
|
//
|
|
this.grMarkers.Controls.Add(this.lbX2);
|
|
this.grMarkers.Controls.Add(this.btRemove);
|
|
this.grMarkers.Controls.Add(this.txtOrientationZ);
|
|
this.grMarkers.Controls.Add(this.txtId);
|
|
this.grMarkers.Controls.Add(this.lbY2);
|
|
this.grMarkers.Controls.Add(this.txtOrientationY);
|
|
this.grMarkers.Controls.Add(this.lbId);
|
|
this.grMarkers.Controls.Add(this.lbZ2);
|
|
this.grMarkers.Controls.Add(this.txtOrientationX);
|
|
this.grMarkers.Controls.Add(this.btAdd);
|
|
this.grMarkers.Controls.Add(this.lbTranslation);
|
|
this.grMarkers.Controls.Add(this.lbOrientation);
|
|
this.grMarkers.Controls.Add(this.txtTranslationZ);
|
|
this.grMarkers.Controls.Add(this.txtTranslationX);
|
|
this.grMarkers.Controls.Add(this.lisMarkers);
|
|
this.grMarkers.Controls.Add(this.txtTranslationY);
|
|
this.grMarkers.Location = new System.Drawing.Point(271, 19);
|
|
this.grMarkers.Name = "grMarkers";
|
|
this.grMarkers.Size = new System.Drawing.Size(353, 185);
|
|
this.grMarkers.TabIndex = 45;
|
|
this.grMarkers.TabStop = false;
|
|
this.grMarkers.Text = "Calibration markers";
|
|
//
|
|
// lbX2
|
|
//
|
|
this.lbX2.AutoSize = true;
|
|
this.lbX2.Location = new System.Drawing.Point(230, 19);
|
|
this.lbX2.Name = "lbX2";
|
|
this.lbX2.Size = new System.Drawing.Size(14, 13);
|
|
this.lbX2.TabIndex = 49;
|
|
this.lbX2.Text = "X";
|
|
//
|
|
// btRemove
|
|
//
|
|
this.btRemove.Location = new System.Drawing.Point(233, 127);
|
|
this.btRemove.Name = "btRemove";
|
|
this.btRemove.Size = new System.Drawing.Size(92, 23);
|
|
this.btRemove.TabIndex = 59;
|
|
this.btRemove.Text = "Remove marker";
|
|
this.btRemove.UseVisualStyleBackColor = true;
|
|
this.btRemove.Click += new System.EventHandler(this.btRemove_Click);
|
|
//
|
|
// txtOrientationZ
|
|
//
|
|
this.txtOrientationZ.Location = new System.Drawing.Point(305, 38);
|
|
this.txtOrientationZ.Name = "txtOrientationZ";
|
|
this.txtOrientationZ.Size = new System.Drawing.Size(38, 20);
|
|
this.txtOrientationZ.TabIndex = 48;
|
|
this.txtOrientationZ.TextChanged += new System.EventHandler(this.txtOrientationZ_TextChanged);
|
|
//
|
|
// txtId
|
|
//
|
|
this.txtId.Location = new System.Drawing.Point(217, 93);
|
|
this.txtId.Name = "txtId";
|
|
this.txtId.Size = new System.Drawing.Size(38, 20);
|
|
this.txtId.TabIndex = 58;
|
|
this.txtId.TextChanged += new System.EventHandler(this.txtId_TextChanged);
|
|
//
|
|
// lbY2
|
|
//
|
|
this.lbY2.AutoSize = true;
|
|
this.lbY2.Location = new System.Drawing.Point(274, 19);
|
|
this.lbY2.Name = "lbY2";
|
|
this.lbY2.Size = new System.Drawing.Size(14, 13);
|
|
this.lbY2.TabIndex = 50;
|
|
this.lbY2.Text = "Y";
|
|
//
|
|
// txtOrientationY
|
|
//
|
|
this.txtOrientationY.Location = new System.Drawing.Point(261, 38);
|
|
this.txtOrientationY.Name = "txtOrientationY";
|
|
this.txtOrientationY.Size = new System.Drawing.Size(38, 20);
|
|
this.txtOrientationY.TabIndex = 47;
|
|
this.txtOrientationY.TextChanged += new System.EventHandler(this.txtOrientationY_TextChanged);
|
|
//
|
|
// lbId
|
|
//
|
|
this.lbId.AutoSize = true;
|
|
this.lbId.Location = new System.Drawing.Point(132, 96);
|
|
this.lbId.Name = "lbId";
|
|
this.lbId.Size = new System.Drawing.Size(54, 13);
|
|
this.lbId.TabIndex = 57;
|
|
this.lbId.Text = "Marker id:";
|
|
//
|
|
// lbZ2
|
|
//
|
|
this.lbZ2.AutoSize = true;
|
|
this.lbZ2.Location = new System.Drawing.Point(317, 19);
|
|
this.lbZ2.Name = "lbZ2";
|
|
this.lbZ2.Size = new System.Drawing.Size(14, 13);
|
|
this.lbZ2.TabIndex = 51;
|
|
this.lbZ2.Text = "Z";
|
|
//
|
|
// txtOrientationX
|
|
//
|
|
this.txtOrientationX.Location = new System.Drawing.Point(217, 38);
|
|
this.txtOrientationX.Name = "txtOrientationX";
|
|
this.txtOrientationX.Size = new System.Drawing.Size(38, 20);
|
|
this.txtOrientationX.TabIndex = 46;
|
|
this.txtOrientationX.TextChanged += new System.EventHandler(this.txtOrientationX_TextChanged);
|
|
//
|
|
// btAdd
|
|
//
|
|
this.btAdd.Location = new System.Drawing.Point(135, 127);
|
|
this.btAdd.Name = "btAdd";
|
|
this.btAdd.Size = new System.Drawing.Size(92, 23);
|
|
this.btAdd.TabIndex = 56;
|
|
this.btAdd.Text = "Add marker";
|
|
this.btAdd.UseVisualStyleBackColor = true;
|
|
this.btAdd.Click += new System.EventHandler(this.btAdd_Click);
|
|
//
|
|
// lbTranslation
|
|
//
|
|
this.lbTranslation.AutoSize = true;
|
|
this.lbTranslation.Location = new System.Drawing.Point(132, 68);
|
|
this.lbTranslation.Name = "lbTranslation";
|
|
this.lbTranslation.Size = new System.Drawing.Size(62, 13);
|
|
this.lbTranslation.TabIndex = 52;
|
|
this.lbTranslation.Text = "Translation:";
|
|
//
|
|
// lbOrientation
|
|
//
|
|
this.lbOrientation.AutoSize = true;
|
|
this.lbOrientation.Location = new System.Drawing.Point(132, 41);
|
|
this.lbOrientation.Name = "lbOrientation";
|
|
this.lbOrientation.Size = new System.Drawing.Size(61, 13);
|
|
this.lbOrientation.TabIndex = 45;
|
|
this.lbOrientation.Text = "Orientation:";
|
|
//
|
|
// txtTranslationZ
|
|
//
|
|
this.txtTranslationZ.Location = new System.Drawing.Point(305, 65);
|
|
this.txtTranslationZ.Name = "txtTranslationZ";
|
|
this.txtTranslationZ.Size = new System.Drawing.Size(38, 20);
|
|
this.txtTranslationZ.TabIndex = 55;
|
|
this.txtTranslationZ.TextChanged += new System.EventHandler(this.txtTranslationZ_TextChanged);
|
|
//
|
|
// txtTranslationX
|
|
//
|
|
this.txtTranslationX.Location = new System.Drawing.Point(217, 65);
|
|
this.txtTranslationX.Name = "txtTranslationX";
|
|
this.txtTranslationX.Size = new System.Drawing.Size(38, 20);
|
|
this.txtTranslationX.TabIndex = 53;
|
|
this.txtTranslationX.TextChanged += new System.EventHandler(this.txtTranslationX_TextChanged);
|
|
//
|
|
// lisMarkers
|
|
//
|
|
this.lisMarkers.FormattingEnabled = true;
|
|
this.lisMarkers.Location = new System.Drawing.Point(6, 41);
|
|
this.lisMarkers.Name = "lisMarkers";
|
|
this.lisMarkers.Size = new System.Drawing.Size(120, 108);
|
|
this.lisMarkers.TabIndex = 43;
|
|
this.lisMarkers.SelectedIndexChanged += new System.EventHandler(this.lisMarkers_SelectedIndexChanged);
|
|
//
|
|
// txtTranslationY
|
|
//
|
|
this.txtTranslationY.Location = new System.Drawing.Point(261, 65);
|
|
this.txtTranslationY.Name = "txtTranslationY";
|
|
this.txtTranslationY.Size = new System.Drawing.Size(38, 20);
|
|
this.txtTranslationY.TabIndex = 54;
|
|
this.txtTranslationY.TextChanged += new System.EventHandler(this.txtTranslationY_TextChanged);
|
|
//
|
|
// grBounding
|
|
//
|
|
this.grBounding.Controls.Add(this.lbMin);
|
|
this.grBounding.Controls.Add(this.txtMaxZ);
|
|
this.grBounding.Controls.Add(this.txtMaxY);
|
|
this.grBounding.Controls.Add(this.txtMinX);
|
|
this.grBounding.Controls.Add(this.txtMaxX);
|
|
this.grBounding.Controls.Add(this.txtMinY);
|
|
this.grBounding.Controls.Add(this.lbMax);
|
|
this.grBounding.Controls.Add(this.txtMinZ);
|
|
this.grBounding.Controls.Add(this.lbZ);
|
|
this.grBounding.Controls.Add(this.lbY);
|
|
this.grBounding.Controls.Add(this.lbX);
|
|
this.grBounding.Location = new System.Drawing.Point(9, 19);
|
|
this.grBounding.Name = "grBounding";
|
|
this.grBounding.Size = new System.Drawing.Size(249, 91);
|
|
this.grBounding.TabIndex = 46;
|
|
this.grBounding.TabStop = false;
|
|
this.grBounding.Text = "Bounding box";
|
|
//
|
|
// lbMin
|
|
//
|
|
this.lbMin.AutoSize = true;
|
|
this.lbMin.Location = new System.Drawing.Point(8, 38);
|
|
this.lbMin.Name = "lbMin";
|
|
this.lbMin.Size = new System.Drawing.Size(65, 13);
|
|
this.lbMin.TabIndex = 13;
|
|
this.lbMin.Text = "Min bounds:";
|
|
//
|
|
// txtMaxZ
|
|
//
|
|
this.txtMaxZ.Location = new System.Drawing.Point(181, 62);
|
|
this.txtMaxZ.Name = "txtMaxZ";
|
|
this.txtMaxZ.Size = new System.Drawing.Size(38, 20);
|
|
this.txtMaxZ.TabIndex = 23;
|
|
this.txtMaxZ.TextChanged += new System.EventHandler(this.txtMaxZ_TextChanged);
|
|
//
|
|
// txtMaxY
|
|
//
|
|
this.txtMaxY.Location = new System.Drawing.Point(137, 62);
|
|
this.txtMaxY.Name = "txtMaxY";
|
|
this.txtMaxY.Size = new System.Drawing.Size(38, 20);
|
|
this.txtMaxY.TabIndex = 22;
|
|
this.txtMaxY.TextChanged += new System.EventHandler(this.txtMaxY_TextChanged);
|
|
//
|
|
// txtMinX
|
|
//
|
|
this.txtMinX.Location = new System.Drawing.Point(93, 35);
|
|
this.txtMinX.Name = "txtMinX";
|
|
this.txtMinX.Size = new System.Drawing.Size(38, 20);
|
|
this.txtMinX.TabIndex = 14;
|
|
this.txtMinX.TextChanged += new System.EventHandler(this.txtMinX_TextChanged);
|
|
//
|
|
// txtMaxX
|
|
//
|
|
this.txtMaxX.Location = new System.Drawing.Point(93, 62);
|
|
this.txtMaxX.Name = "txtMaxX";
|
|
this.txtMaxX.Size = new System.Drawing.Size(38, 20);
|
|
this.txtMaxX.TabIndex = 21;
|
|
this.txtMaxX.TextChanged += new System.EventHandler(this.txtMaxX_TextChanged);
|
|
//
|
|
// txtMinY
|
|
//
|
|
this.txtMinY.Location = new System.Drawing.Point(137, 35);
|
|
this.txtMinY.Name = "txtMinY";
|
|
this.txtMinY.Size = new System.Drawing.Size(38, 20);
|
|
this.txtMinY.TabIndex = 15;
|
|
this.txtMinY.TextChanged += new System.EventHandler(this.txtMinY_TextChanged);
|
|
//
|
|
// lbMax
|
|
//
|
|
this.lbMax.AutoSize = true;
|
|
this.lbMax.Location = new System.Drawing.Point(8, 65);
|
|
this.lbMax.Name = "lbMax";
|
|
this.lbMax.Size = new System.Drawing.Size(68, 13);
|
|
this.lbMax.TabIndex = 20;
|
|
this.lbMax.Text = "Max bounds:";
|
|
//
|
|
// txtMinZ
|
|
//
|
|
this.txtMinZ.Location = new System.Drawing.Point(181, 35);
|
|
this.txtMinZ.Name = "txtMinZ";
|
|
this.txtMinZ.Size = new System.Drawing.Size(38, 20);
|
|
this.txtMinZ.TabIndex = 16;
|
|
this.txtMinZ.TextChanged += new System.EventHandler(this.txtMinZ_TextChanged);
|
|
//
|
|
// lbZ
|
|
//
|
|
this.lbZ.AutoSize = true;
|
|
this.lbZ.Location = new System.Drawing.Point(193, 16);
|
|
this.lbZ.Name = "lbZ";
|
|
this.lbZ.Size = new System.Drawing.Size(14, 13);
|
|
this.lbZ.TabIndex = 19;
|
|
this.lbZ.Text = "Z";
|
|
//
|
|
// lbY
|
|
//
|
|
this.lbY.AutoSize = true;
|
|
this.lbY.Location = new System.Drawing.Point(150, 16);
|
|
this.lbY.Name = "lbY";
|
|
this.lbY.Size = new System.Drawing.Size(14, 13);
|
|
this.lbY.TabIndex = 18;
|
|
this.lbY.Text = "Y";
|
|
//
|
|
// lbX
|
|
//
|
|
this.lbX.AutoSize = true;
|
|
this.lbX.Location = new System.Drawing.Point(106, 16);
|
|
this.lbX.Name = "lbX";
|
|
this.lbX.Size = new System.Drawing.Size(14, 13);
|
|
this.lbX.TabIndex = 17;
|
|
this.lbX.Text = "X";
|
|
//
|
|
// grFiltering
|
|
//
|
|
this.grFiltering.Controls.Add(this.txtFilterNeighbors);
|
|
this.grFiltering.Controls.Add(this.chFilter);
|
|
this.grFiltering.Controls.Add(this.lbFilterNeighbors);
|
|
this.grFiltering.Controls.Add(this.lbFilterDistance);
|
|
this.grFiltering.Controls.Add(this.txtFilterDistance);
|
|
this.grFiltering.Location = new System.Drawing.Point(9, 116);
|
|
this.grFiltering.Name = "grFiltering";
|
|
this.grFiltering.Size = new System.Drawing.Size(249, 88);
|
|
this.grFiltering.TabIndex = 45;
|
|
this.grFiltering.TabStop = false;
|
|
this.grFiltering.Text = "Filtering";
|
|
//
|
|
// txtFilterNeighbors
|
|
//
|
|
this.txtFilterNeighbors.Location = new System.Drawing.Point(93, 39);
|
|
this.txtFilterNeighbors.Name = "txtFilterNeighbors";
|
|
this.txtFilterNeighbors.Size = new System.Drawing.Size(38, 20);
|
|
this.txtFilterNeighbors.TabIndex = 20;
|
|
this.txtFilterNeighbors.TextChanged += new System.EventHandler(this.txtFilterNeighbors_TextChanged);
|
|
//
|
|
// chFilter
|
|
//
|
|
this.chFilter.AutoSize = true;
|
|
this.chFilter.Location = new System.Drawing.Point(93, 16);
|
|
this.chFilter.Name = "chFilter";
|
|
this.chFilter.Size = new System.Drawing.Size(100, 17);
|
|
this.chFilter.TabIndex = 18;
|
|
this.chFilter.Text = "filtering enabled";
|
|
this.chFilter.UseVisualStyleBackColor = true;
|
|
this.chFilter.CheckedChanged += new System.EventHandler(this.chFilter_CheckedChanged);
|
|
//
|
|
// lbFilterNeighbors
|
|
//
|
|
this.lbFilterNeighbors.AutoSize = true;
|
|
this.lbFilterNeighbors.Location = new System.Drawing.Point(8, 42);
|
|
this.lbFilterNeighbors.Name = "lbFilterNeighbors";
|
|
this.lbFilterNeighbors.Size = new System.Drawing.Size(67, 13);
|
|
this.lbFilterNeighbors.TabIndex = 19;
|
|
this.lbFilterNeighbors.Text = "N neighbors:";
|
|
//
|
|
// lbFilterDistance
|
|
//
|
|
this.lbFilterDistance.AutoSize = true;
|
|
this.lbFilterDistance.Location = new System.Drawing.Point(8, 68);
|
|
this.lbFilterDistance.Name = "lbFilterDistance";
|
|
this.lbFilterDistance.Size = new System.Drawing.Size(73, 13);
|
|
this.lbFilterDistance.TabIndex = 21;
|
|
this.lbFilterDistance.Text = "Max distance:";
|
|
//
|
|
// txtFilterDistance
|
|
//
|
|
this.txtFilterDistance.Location = new System.Drawing.Point(93, 65);
|
|
this.txtFilterDistance.Name = "txtFilterDistance";
|
|
this.txtFilterDistance.Size = new System.Drawing.Size(38, 20);
|
|
this.txtFilterDistance.TabIndex = 22;
|
|
this.txtFilterDistance.TextChanged += new System.EventHandler(this.txtFilterDistance_TextChanged);
|
|
//
|
|
// grServer
|
|
//
|
|
this.grServer.Controls.Add(this.cbCompressionLevel);
|
|
this.grServer.Controls.Add(this.label2);
|
|
this.grServer.Controls.Add(this.rBinaryPly);
|
|
this.grServer.Controls.Add(this.lbFormat);
|
|
this.grServer.Controls.Add(this.rAsciiPly);
|
|
this.grServer.Controls.Add(this.txtRefinIters);
|
|
this.grServer.Controls.Add(this.lbOuterIters);
|
|
this.grServer.Controls.Add(this.lbMerge);
|
|
this.grServer.Controls.Add(this.txtICPIters);
|
|
this.grServer.Controls.Add(this.chMerge);
|
|
this.grServer.Controls.Add(this.lbICPIters);
|
|
this.grServer.Location = new System.Drawing.Point(12, 426);
|
|
this.grServer.Name = "grServer";
|
|
this.grServer.Size = new System.Drawing.Size(632, 114);
|
|
this.grServer.TabIndex = 44;
|
|
this.grServer.TabStop = false;
|
|
this.grServer.Text = "KinectServer settings";
|
|
//
|
|
// cbCompressionLevel
|
|
//
|
|
this.cbCompressionLevel.FormattingEnabled = true;
|
|
this.cbCompressionLevel.Items.AddRange(new object[] {
|
|
"0 (no compression)",
|
|
"1",
|
|
"2 (recommended)",
|
|
"3",
|
|
"5",
|
|
"7",
|
|
"9",
|
|
"11",
|
|
"13",
|
|
"15",
|
|
"17",
|
|
"19"});
|
|
this.cbCompressionLevel.Location = new System.Drawing.Point(103, 88);
|
|
this.cbCompressionLevel.Margin = new System.Windows.Forms.Padding(2);
|
|
this.cbCompressionLevel.Name = "cbCompressionLevel";
|
|
this.cbCompressionLevel.Size = new System.Drawing.Size(114, 21);
|
|
this.cbCompressionLevel.TabIndex = 32;
|
|
this.cbCompressionLevel.SelectedIndexChanged += new System.EventHandler(this.cbCompressionLevel_SelectedIndexChanged);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(5, 90);
|
|
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(95, 13);
|
|
this.label2.TabIndex = 31;
|
|
this.label2.Text = "Compression level:";
|
|
//
|
|
// rBinaryPly
|
|
//
|
|
this.rBinaryPly.AutoSize = true;
|
|
this.rBinaryPly.Location = new System.Drawing.Point(185, 68);
|
|
this.rBinaryPly.Name = "rBinaryPly";
|
|
this.rBinaryPly.Size = new System.Drawing.Size(76, 17);
|
|
this.rBinaryPly.TabIndex = 30;
|
|
this.rBinaryPly.TabStop = true;
|
|
this.rBinaryPly.Text = "binary PLY";
|
|
this.rBinaryPly.UseVisualStyleBackColor = true;
|
|
this.rBinaryPly.CheckedChanged += new System.EventHandler(this.PlyFormat_CheckedChanged);
|
|
//
|
|
// lbFormat
|
|
//
|
|
this.lbFormat.AutoSize = true;
|
|
this.lbFormat.Location = new System.Drawing.Point(5, 69);
|
|
this.lbFormat.Name = "lbFormat";
|
|
this.lbFormat.Size = new System.Drawing.Size(58, 13);
|
|
this.lbFormat.TabIndex = 29;
|
|
this.lbFormat.Text = "File format:";
|
|
//
|
|
// rAsciiPly
|
|
//
|
|
this.rAsciiPly.AutoSize = true;
|
|
this.rAsciiPly.Location = new System.Drawing.Point(104, 68);
|
|
this.rAsciiPly.Name = "rAsciiPly";
|
|
this.rAsciiPly.Size = new System.Drawing.Size(75, 17);
|
|
this.rAsciiPly.TabIndex = 28;
|
|
this.rAsciiPly.TabStop = true;
|
|
this.rAsciiPly.Text = "ASCII PLY";
|
|
this.rAsciiPly.UseVisualStyleBackColor = true;
|
|
this.rAsciiPly.CheckedChanged += new System.EventHandler(this.PlyFormat_CheckedChanged);
|
|
//
|
|
// txtRefinIters
|
|
//
|
|
this.txtRefinIters.Location = new System.Drawing.Point(272, 20);
|
|
this.txtRefinIters.Name = "txtRefinIters";
|
|
this.txtRefinIters.Size = new System.Drawing.Size(38, 20);
|
|
this.txtRefinIters.TabIndex = 27;
|
|
this.txtRefinIters.TextChanged += new System.EventHandler(this.txtRefinIters_TextChanged);
|
|
//
|
|
// lbOuterIters
|
|
//
|
|
this.lbOuterIters.AutoSize = true;
|
|
this.lbOuterIters.Location = new System.Drawing.Point(148, 23);
|
|
this.lbOuterIters.Name = "lbOuterIters";
|
|
this.lbOuterIters.Size = new System.Drawing.Size(118, 13);
|
|
this.lbOuterIters.TabIndex = 26;
|
|
this.lbOuterIters.Text = "Num of refinement iters:";
|
|
//
|
|
// SettingsForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(656, 554);
|
|
this.Controls.Add(this.grServer);
|
|
this.Controls.Add(this.grClient);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
|
|
this.MaximizeBox = false;
|
|
this.Name = "SettingsForm";
|
|
this.Text = "Settings";
|
|
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.SettingsForm_FormClosed);
|
|
this.Load += new System.EventHandler(this.SettingsForm_Load);
|
|
this.grClient.ResumeLayout(false);
|
|
this.grExposure.ResumeLayout(false);
|
|
this.grExposure.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)(this.trManualExposure)).EndInit();
|
|
this.grTempSync.ResumeLayout(false);
|
|
this.grBody.ResumeLayout(false);
|
|
this.grBody.PerformLayout();
|
|
this.grMarkers.ResumeLayout(false);
|
|
this.grMarkers.PerformLayout();
|
|
this.grBounding.ResumeLayout(false);
|
|
this.grBounding.PerformLayout();
|
|
this.grFiltering.ResumeLayout(false);
|
|
this.grFiltering.PerformLayout();
|
|
this.grServer.ResumeLayout(false);
|
|
this.grServer.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label lbMerge;
|
|
private System.Windows.Forms.CheckBox chMerge;
|
|
private System.Windows.Forms.Label lbICPIters;
|
|
private System.Windows.Forms.TextBox txtICPIters;
|
|
private System.Windows.Forms.GroupBox grClient;
|
|
private System.Windows.Forms.GroupBox grServer;
|
|
private System.Windows.Forms.TextBox txtRefinIters;
|
|
private System.Windows.Forms.Label lbOuterIters;
|
|
private System.Windows.Forms.GroupBox grFiltering;
|
|
private System.Windows.Forms.TextBox txtFilterNeighbors;
|
|
private System.Windows.Forms.CheckBox chFilter;
|
|
private System.Windows.Forms.Label lbFilterNeighbors;
|
|
private System.Windows.Forms.Label lbFilterDistance;
|
|
private System.Windows.Forms.TextBox txtFilterDistance;
|
|
private System.Windows.Forms.GroupBox grMarkers;
|
|
private System.Windows.Forms.Label lbX2;
|
|
private System.Windows.Forms.Button btRemove;
|
|
private System.Windows.Forms.TextBox txtOrientationZ;
|
|
private System.Windows.Forms.TextBox txtId;
|
|
private System.Windows.Forms.Label lbY2;
|
|
private System.Windows.Forms.TextBox txtOrientationY;
|
|
private System.Windows.Forms.Label lbId;
|
|
private System.Windows.Forms.Label lbZ2;
|
|
private System.Windows.Forms.TextBox txtOrientationX;
|
|
private System.Windows.Forms.Button btAdd;
|
|
private System.Windows.Forms.Label lbTranslation;
|
|
private System.Windows.Forms.Label lbOrientation;
|
|
private System.Windows.Forms.TextBox txtTranslationZ;
|
|
private System.Windows.Forms.TextBox txtTranslationX;
|
|
private System.Windows.Forms.ListBox lisMarkers;
|
|
private System.Windows.Forms.TextBox txtTranslationY;
|
|
private System.Windows.Forms.GroupBox grBounding;
|
|
private System.Windows.Forms.Label lbMin;
|
|
private System.Windows.Forms.TextBox txtMaxZ;
|
|
private System.Windows.Forms.TextBox txtMaxY;
|
|
private System.Windows.Forms.TextBox txtMinX;
|
|
private System.Windows.Forms.TextBox txtMaxX;
|
|
private System.Windows.Forms.TextBox txtMinY;
|
|
private System.Windows.Forms.Label lbMax;
|
|
private System.Windows.Forms.TextBox txtMinZ;
|
|
private System.Windows.Forms.Label lbZ;
|
|
private System.Windows.Forms.Label lbY;
|
|
private System.Windows.Forms.Label lbX;
|
|
private System.Windows.Forms.GroupBox grBody;
|
|
private System.Windows.Forms.CheckBox chBodyData;
|
|
private System.Windows.Forms.RadioButton rBinaryPly;
|
|
private System.Windows.Forms.Label lbFormat;
|
|
private System.Windows.Forms.RadioButton rAsciiPly;
|
|
private System.Windows.Forms.CheckBox chSkeletons;
|
|
private System.Windows.Forms.ComboBox cbCompressionLevel;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.GroupBox grTempSync;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.Label lbTempSync;
|
|
private System.Windows.Forms.Button btSyncDisable;
|
|
private System.Windows.Forms.Button btSyncEnable;
|
|
private System.Windows.Forms.TrackBar trManualExposure;
|
|
private System.Windows.Forms.GroupBox grExposure;
|
|
private System.Windows.Forms.Label lbManualExposure;
|
|
private System.Windows.Forms.CheckBox chAutoExposureEnabled;
|
|
}
|
|
} |