Simply3DScan
Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
Simple3DScan.UI.SimpleScanBase Class Reference
Inheritance diagram for Simple3DScan.UI.SimpleScanBase:
Inheritance graph
[legend]
Collaboration diagram for Simple3DScan.UI.SimpleScanBase:
Collaboration graph
[legend]

Protected Member Functions

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 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...
 

Protected Attributes

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...
 

Member Function Documentation

static void Simple3DScan.UI.SimpleScanBase.GetResolutonAndSteps ( out int  numberOfTotalSteps,
Precision  precision,
out Resolution  resolution,
Information  configuration 
)
staticprotected

Gets the resoluton and steps.

Parameters
numberOfTotalStepsThe number of total steps.
precisionThe precision.
resolutionThe resolution.
configurationThe configuration.
bool Simple3DScan.UI.SimpleScanBase.InitiateWriter ( ArduinoCommands  arduino,
Information  configuration,
out IPointWriter  writer 
)
protected

Initiates the writer.

Parameters
arduinoThe arduino.
configurationThe configuration.
writerThe writer.
Returns

Here is the call graph for this function:

static void Simple3DScan.UI.SimpleScanBase.MoveLaserToLeftStartPosition ( ArduinoCommands  arduino,
CameraControl  cameraControl,
Information  configuration 
)
staticprotected

Moves the laser to left start position.

Parameters
arduinoThe arduino.
cameraControlThe camera control.
configurationThe configuration.
bool Simple3DScan.UI.SimpleScanBase.PerformScan ( ArduinoCommands  arduino,
CameraControl  cameraControl,
Information  configuration,
int  numberOfTotalSteps,
Resolution  resolution,
string  imageFolder,
IPointWriter  writer 
)
protected

Performs the scan.

Parameters
arduinoThe arduino.
cameraControlThe camera control.
configurationThe configuration.
numberOfTotalStepsThe number of total steps.
resolutionThe resolution.
imageFolderThe image folder.
writerThe writer.
Returns

Here is the call graph for this function:

static string Simple3DScan.UI.SimpleScanBase.ResetImageFolder ( Information  configuration)
staticprotected

Resets the image folder.

Parameters
configurationThe configuration.
Returns

Here is the call graph for this function:

static void Simple3DScan.UI.SimpleScanBase.SavePoints ( Control  control,
IPointWriter  writer,
Information  configuration 
)
staticprotected

Saves the points.

Parameters
controlThe control.
writerThe writer.
configurationThe configuration.

Here is the call graph for this function:

static IEnumerable<ColorPoint3D> Simple3DScan.UI.SimpleScanBase.ScanImage ( int  actualSteps,
string  imageFolder,
int  steps,
ArduinoCommands  arduino,
CameraControl  imaging,
Information  configuration 
)
staticprotected

Scans the image.

Parameters
actualStepsThe actual steps.
imageFolderThe image folder.
stepsThe steps.
arduinoThe arduino.
imagingThe imaging.
configurationThe configuration.
Returns

Member Data Documentation

ArduinoCommands Simple3DScan.UI.SimpleScanBase.Arduino
protected

The arduino command connection

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

The configuration information

readonly BackgroundWorker Simple3DScan.UI.SimpleScanBase.ScanWorker = new BackgroundWorker()
protected

The scan worker

readonly Dictionary<string, string> Simple3DScan.UI.SimpleScanBase.VideoSources = new Dictionary<string, string>()
protected

The video sources


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