Simply3DScan
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Simple3DScan.UI.SimpleScanAdvancedMode Class Reference

UI for performing a 3D scan using a FabScan device More...

Inheritance diagram for Simple3DScan.UI.SimpleScanAdvancedMode:
Inheritance graph
[legend]
Collaboration diagram for Simple3DScan.UI.SimpleScanAdvancedMode:
Collaboration graph
[legend]

Public Member Functions

 SimpleScanAdvancedMode (ArduinoCommands arduinoCommands)
 Initializes a new instance of the SimpleScanAdvancedMode class. More...
 

Protected Member Functions

void ScanWorker_DoWork (object sender, DoWorkEventArgs e)
 Handles the DoWork event of the scanWorker control. More...
 
void InitScanBackgroundworker ()
 Initializes the scan backgroundworker. 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)
 
void InitialLoad ()
 Initials the load. More...
 
void ToggleButtonCapture_Click (object sender, EventArgs e)
 Handles the Click event of the toggleButtonCapture control. More...
 
void InitiateCameraDropdown ()
 Initiates the camera dropdown. More...
 
void ComboBoxCameras_SelectedIndexChanged (object sender, EventArgs e)
 Handles the SelectedIndexChanged event of the comboBoxCameras control. More...
 
override void Dispose (bool disposing)
 Verwendete Ressourcen bereinigen. More...
 
- Protected Member Functions inherited from Simple3DScan.UI.SimpleScanBase
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...
 

Protected Attributes

Syncfusion.Windows.Forms.Gauge.RadialGauge RadialGaugeProgress
 The radial gauge progress More...
 
CameraControl ImagingControl
 The imaging control More...
 
ToggleButton ToggleButtonCapture
 The toggle button capture More...
 
Label LabelSelectCamera
 The label select camera More...
 
ComboBox ComboBoxCameras
 The ComboBox cameras More...
 
Label LabelCapture
 The label capture More...
 
RadialSlider RadialSliderPrecision
 The radial slider precision More...
 
- Protected Attributes inherited from Simple3DScan.UI.SimpleScanBase
readonly BackgroundWorker ScanWorker = new BackgroundWorker()
 The scan worker More...
 
readonly Information ConfigurationInformation = Singleton<Config>.Instance.Information
 The configuration information More...
 
ArduinoCommands Arduino
 The arduino command connection More...
 
readonly Dictionary< string, string > VideoSources = new Dictionary<string, string>()
 The video sources More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Simple3DScan.UI.SimpleScanBase
static IEnumerable< ColorPoint3DScanImage (int actualSteps, string imageFolder, int steps, ArduinoCommands arduino, CameraControl imaging, Information configuration)
 Scans the image. More...
 
static void MoveLaserToLeftStartPosition (ArduinoCommands arduino, CameraControl cameraControl, Information configuration)
 Moves the laser to left start position. More...
 
static void GetResolutonAndSteps (out int numberOfTotalSteps, Precision precision, out Resolution resolution, Information configuration)
 Gets the resoluton 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...
 

Detailed Description

UI for performing a 3D scan using a FabScan device

Constructor & Destructor Documentation

Simple3DScan.UI.SimpleScanAdvancedMode.SimpleScanAdvancedMode ( ArduinoCommands  arduinoCommands)

Initializes a new instance of the SimpleScanAdvancedMode class.

Parameters
arduinoCommandsThe arduino commands.
Exceptions
System.ArgumentNullExceptionarduinoCommands

Member Function Documentation

void Simple3DScan.UI.SimpleScanAdvancedMode.ComboBoxCameras_SelectedIndexChanged ( object  sender,
EventArgs  e 
)
protected

Handles the SelectedIndexChanged event of the comboBoxCameras control.

Parameters
senderThe source of the event.
eThe EventArgs instance containing the event data.

Here is the call graph for this function:

override void Simple3DScan.UI.SimpleScanAdvancedMode.Dispose ( bool  disposing)
protected

Verwendete Ressourcen bereinigen.

Parameters
disposingTrue, wenn verwaltete Ressourcen gelöscht werden sollen; andernfalls False.
void Simple3DScan.UI.SimpleScanAdvancedMode.InitialLoad ( )
protected

Initials the load.

void Simple3DScan.UI.SimpleScanAdvancedMode.InitiateCameraDropdown ( )
protected

Initiates the camera dropdown.

void Simple3DScan.UI.SimpleScanAdvancedMode.InitScanBackgroundworker ( )
protected

Initializes the scan backgroundworker.

void Simple3DScan.UI.SimpleScanAdvancedMode.ScanWorker_DoWork ( object  sender,
DoWorkEventArgs  e 
)
protected

Handles the DoWork event of the scanWorker control.

Parameters
senderThe source of the event.
eThe DoWorkEventArgs instance containing the event data.
void Simple3DScan.UI.SimpleScanAdvancedMode.ScanWorker_ProgressChanged ( object  sender,
ProgressChangedEventArgs  e 
)
protected

Handles the ProgressChanged event of the ScanWorker control.

Parameters
senderThe source of the event.
eThe ProgressChangedEventArgs instance containing the event data.
virtual void Simple3DScan.UI.SimpleScanAdvancedMode.ScanWorker_RunWorkerCompleted ( object  sender,
RunWorkerCompletedEventArgs  e 
)
protectedvirtual
void Simple3DScan.UI.SimpleScanAdvancedMode.ToggleButtonCapture_Click ( object  sender,
EventArgs  e 
)
protected

Handles the Click event of the toggleButtonCapture control.

Parameters
senderThe source of the event.
eThe EventArgs instance containing the event data.

Member Data Documentation

ComboBox Simple3DScan.UI.SimpleScanAdvancedMode.ComboBoxCameras
protected

The ComboBox cameras

CameraControl Simple3DScan.UI.SimpleScanAdvancedMode.ImagingControl
protected

The imaging control

Label Simple3DScan.UI.SimpleScanAdvancedMode.LabelCapture
protected

The label capture

Label Simple3DScan.UI.SimpleScanAdvancedMode.LabelSelectCamera
protected

The label select camera

Syncfusion.Windows.Forms.Gauge.RadialGauge Simple3DScan.UI.SimpleScanAdvancedMode.RadialGaugeProgress
protected

The radial gauge progress

RadialSlider Simple3DScan.UI.SimpleScanAdvancedMode.RadialSliderPrecision
protected

The radial slider precision

ToggleButton Simple3DScan.UI.SimpleScanAdvancedMode.ToggleButtonCapture
protected

The toggle button capture


The documentation for this class was generated from the following files: