Simply3DScan
|
Control for 3d Scanning More...
Public Member Functions | |
delegate void | StartScan () |
delegate void | StopScan () |
ScanControl () | |
Initializes a new instance of the ScanControl class. More... | |
void | Init (ArduinoCommands arduino) |
Initializes the control. More... | |
Protected Member Functions | |
void | InitiateCameraDropdown () |
Initiates the camera dropdown. More... | |
override void | Dispose (bool disposing) |
Verwendete Ressourcen bereinigen. More... | |
void | ScanWorker_DoWork (object sender, DoWorkEventArgs e) |
Handles the DoWork event of the scanWorker control. More... | |
void | ScanWorker_ProgressChanged (object sender, ProgressChangedEventArgs e) |
Handles the ProgressChanged event of the ScanWorker control. More... | |
virtual void | ScanWorker_RunWorkerCompleted (object sender, RunWorkerCompletedEventArgs e) |
Handles the RunWorkerCompleted event of the ScanWorker control. More... | |
void | ToggleButtonCapture_Click (object sender, EventArgs e) |
Handles the Click event of the toggleButtonCapture control. More... | |
void | ComboBoxCameras_SelectedIndexChanged (object sender, EventArgs e) |
Handles the SelectedIndexChanged event of the comboBoxCameras control. More... | |
IEnumerable< ColorPoint3D > | ScanImage (int actualSteps, string imageFolder, int steps, int sweep, ArduinoCommands arduino, CameraControl imaging, Information configuration) |
Scans the image. More... | |
bool | PerformScan (ArduinoCommands arduino, CameraControl cameraControl, Information configuration, int numberOfTotalSteps, Resolution resolution, string imageFolder, IPointWriter writer) |
Performs the scan. More... | |
bool | InitiateWriter (ArduinoCommands arduino, Information configuration, out IPointWriter writer) |
Initiates the writer. More... | |
Static Protected Member Functions | |
static void | MoveLaserToLeftStartPosition (ArduinoCommands arduino, CameraControl cameraControl, Information configuration) |
Moves the laser to left start position. More... | |
static void | GetResolutionAndSteps (Precision precision, Information configuration, out int numberOfTotalSteps, out Resolution resolution) |
Gets the resolution and steps. More... | |
static string | ResetImageFolder (Information configuration) |
Resets the image folder. More... | |
static void | SavePoints (Control control, IPointWriter writer, Information configuration) |
Saves the points. More... | |
Protected Attributes | |
readonly BackgroundWorker | ScanWorker = new BackgroundWorker() |
The scan worker More... | |
readonly Information | ConfigurationInformation = Singleton<Config>.Instance.Information |
The configuration information More... | |
readonly Dictionary< string, string > | VideoSources = new Dictionary<string, string>() |
The video sources More... | |
System.Windows.Forms.Label | LabelSelectCamera |
Syncfusion.Windows.Forms.Gauge.RadialGauge | RadialGaugeProgress |
System.Windows.Forms.ComboBox | ComboBoxCameras |
Syncfusion.Windows.Forms.Tools.RadialSlider | RadialSliderPrecision |
System.Windows.Forms.Label | LabelCapture |
Syncfusion.Windows.Forms.Tools.ToggleButton | ToggleButtonCapture |
System.Windows.Forms.Label | labelPrecision |
CameraControl | ImagingControl |
Package Functions | |
void | Stop () |
Stops this instance. More... | |
void | Start () |
Starts this instance. More... | |
Properties | |
ArduinoCommands | Arduino [get, set] |
The arduino command connection More... | |
Events | |
StartScan | StartScanning |
Occurs when [start scanning]. More... | |
StopScan | StopScanning |
Occurs when [stop scanning]. More... | |
Control for 3d Scanning
Definition at line 20 of file ScanControl.cs.
Simple3DScan.UI.ScanControl.ScanControl | ( | ) |
Initializes a new instance of the ScanControl class.
Definition at line 72 of file ScanControl.cs.
|
protected |
Handles the SelectedIndexChanged event of the comboBoxCameras control.
sender | The source of the event. |
e | The EventArgs instance containing the event data. |
Definition at line 259 of file ScanControl.cs.
|
protected |
Verwendete Ressourcen bereinigen.
disposing | True, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False. |
Definition at line 151 of file ScanControl.cs.
|
staticprotected |
Gets the resolution and steps.
precision | The precision. |
configuration | The configuration. |
numberOfTotalSteps | The number of total steps. |
resolution | The resolution. |
Definition at line 479 of file ScanControl.cs.
void Simple3DScan.UI.ScanControl.Init | ( | ArduinoCommands | arduino | ) |
Initializes the control.
arduino | The arduino. |
Definition at line 95 of file ScanControl.cs.
|
protected |
Initiates the camera dropdown.
Definition at line 112 of file ScanControl.cs.
|
protected |
Initiates the writer.
arduino | The arduino. |
configuration | The configuration. |
writer | The writer. |
Definition at line 519 of file ScanControl.cs.
|
staticprotected |
Moves the laser to left start position.
arduino | The arduino. |
cameraControl | The camera control. |
configuration | The configuration. |
Definition at line 449 of file ScanControl.cs.
|
protected |
Performs the scan.
arduino | The arduino. |
cameraControl | The camera control. |
configuration | The configuration. |
numberOfTotalSteps | The number of total steps. |
resolution | The resolution. |
imageFolder | The image folder. |
writer | The writer. |
Definition at line 417 of file ScanControl.cs.
|
staticprotected |
Resets the image folder.
configuration | The configuration. |
Definition at line 499 of file ScanControl.cs.
|
staticprotected |
Saves the points.
control | The control. |
writer | The writer. |
configuration | The configuration. |
Definition at line 545 of file ScanControl.cs.
|
protected |
Scans the image.
actualSteps | The actual steps. |
imageFolder | The image folder. |
steps | The steps. |
sweep | The sweep. |
arduino | The arduino. |
imaging | The imaging. |
configuration | The configuration. |
Definition at line 311 of file ScanControl.cs.
|
protected |
Handles the DoWork event of the scanWorker control.
sender | The source of the event. |
e | The DoWorkEventArgs instance containing the event data. |
Definition at line 171 of file ScanControl.cs.
|
protected |
Handles the ProgressChanged event of the ScanWorker control.
sender | The source of the event. |
e | The ProgressChangedEventArgs instance containing the event data. |
Definition at line 202 of file ScanControl.cs.
|
protectedvirtual |
Handles the RunWorkerCompleted event of the ScanWorker control.
sender | The source of the event. |
e | The RunWorkerCompletedEventArgs instance containing the event data. |
Definition at line 214 of file ScanControl.cs.
|
package |
Starts this instance.
Definition at line 599 of file ScanControl.cs.
delegate void Simple3DScan.UI.ScanControl.StartScan | ( | ) |
|
package |
Stops this instance.
Definition at line 587 of file ScanControl.cs.
delegate void Simple3DScan.UI.ScanControl.StopScan | ( | ) |
|
protected |
Handles the Click event of the toggleButtonCapture control.
sender | The source of the event. |
e | The EventArgs instance containing the event data. |
Definition at line 235 of file ScanControl.cs.
|
protected |
Definition at line 219 of file ScanControl.Designer.cs.
|
protected |
The configuration information
Definition at line 32 of file ScanControl.cs.
|
protected |
Definition at line 224 of file ScanControl.Designer.cs.
|
protected |
Definition at line 221 of file ScanControl.Designer.cs.
|
protected |
Definition at line 223 of file ScanControl.Designer.cs.
|
protected |
Definition at line 217 of file ScanControl.Designer.cs.
|
protected |
Definition at line 218 of file ScanControl.Designer.cs.
|
protected |
Definition at line 220 of file ScanControl.Designer.cs.
|
protected |
The scan worker
Definition at line 27 of file ScanControl.cs.
|
protected |
Definition at line 222 of file ScanControl.Designer.cs.
|
protected |
The video sources
Definition at line 42 of file ScanControl.cs.
|
getset |
The arduino command connection
Definition at line 37 of file ScanControl.cs.
StartScan Simple3DScan.UI.ScanControl.StartScanning |
Occurs when [start scanning].
Definition at line 54 of file ScanControl.cs.
StopScan Simple3DScan.UI.ScanControl.StopScanning |
Occurs when [stop scanning].
Definition at line 62 of file ScanControl.cs.