Simply3DScan
Simple3DScan.UI.ManualControl Class Reference

Manual Control of arduino and imaging More...

Inheritance diagram for Simple3DScan.UI.ManualControl:
Collaboration diagram for Simple3DScan.UI.ManualControl:

Public Member Functions

 ManualControl ()
 Initializes a new instance of the ManualControl class. More...
 
void Init (ArduinoCommands arduino)
 Initializes the control. More...
 

Protected Member Functions

override void Dispose (bool disposing)
 

Protected Attributes

readonly Information ConfigurationInformation = Singleton<Config>.Instance.Information
 The configuration information More...
 

Package Functions

void Stop ()
 Stops this instance. More...
 
void Start ()
 Starts this instance. More...
 

Properties

ArduinoCommands Arduino [get, set]
 The arduino command connection More...
 

Detailed Description

Manual Control of arduino and imaging

Definition at line 15 of file ManualControl.cs.

Constructor & Destructor Documentation

Simple3DScan.UI.ManualControl.ManualControl ( )

Initializes a new instance of the ManualControl class.

Definition at line 35 of file ManualControl.cs.

36  {
37  this.InitializeComponent();
38  }

Member Function Documentation

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

Parameters
disposingtrue, um sowohl verwaltete als auch nicht verwaltete Ressourcen freizugeben, false, um ausschließlich nicht verwaltete Ressourcen freizugeben.

Definition at line 232 of file ManualControl.cs.

233  {
234  if (disposing)
235  {
236  this.components?.Dispose();
237  }
238  this.imagingControl.StopImaging();
239 
240  base.Dispose(disposing);
241  }
void StopImaging()
Stops the imaging.
void Simple3DScan.UI.ManualControl.Init ( ArduinoCommands  arduino)

Initializes the control.

Parameters
arduinoThe arduino.

Definition at line 46 of file ManualControl.cs.

47  {
48  this.Arduino = arduino;
49  this.Arduino.ActivateLaser(false);
50 
51  ButtonRenderer styleRenderer = new ButtonRenderer();
52  this.toggleButtonLaser.Renderer = styleRenderer;
53  this.toggleButtonLight.Renderer = styleRenderer;
54  }
Class holding configuration to access an arduino
Definition: Arduino.cs:7
void Simple3DScan.UI.ManualControl.Start ( )
package

Starts this instance.

Definition at line 219 of file ManualControl.cs.

220  {
221  this.imagingControl.StartImaging(this.ConfigurationInformation.Camera.Name);
222  }
void StartImaging(string source)
Starts the imaging.
Camera Camera
Gets or sets the camera.
Definition: Information.cs:24
string Name
Gets or sets the name.
Definition: Camera.cs:15
readonly Information ConfigurationInformation
The configuration information
void Simple3DScan.UI.ManualControl.Stop ( )
package

Stops this instance.

Definition at line 209 of file ManualControl.cs.

210  {
211  this.imagingControl.StopImaging();
212  }
void StopImaging()
Stops the imaging.

Member Data Documentation

readonly Information Simple3DScan.UI.ManualControl.ConfigurationInformation = Singleton<Config>.Instance.Information
protected

The configuration information

Definition at line 21 of file ManualControl.cs.

Property Documentation

ArduinoCommands Simple3DScan.UI.ManualControl.Arduino
getset

The arduino command connection

Definition at line 26 of file ManualControl.cs.


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