Class for accessing the configuration.  
 More...
Class for accessing the configuration. 
Definition at line 12 of file Config.cs.
 
  
  
      
        
          | static Arduino Configuration.Config.CreateDefaultArduinoSettings  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default arduino settings. 
- Returns
 
Definition at line 173 of file Config.cs.
 
 
  
  
      
        
          | static Camera Configuration.Config.CreateDefaultCamera  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default camera. 
- Returns
 
Definition at line 97 of file Config.cs.
  103                 WorldCoordinates = 
new Coordinates {X = 0.0f, 
Y = 5.57f, Z = 30.9f},
 
 
 
 
  
  
      
        
          | static Filter Configuration.Config.CreateDefaultFilter  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default filter. 
- Returns
 
Definition at line 218 of file Config.cs.
  223                 SaturationMin = 0.05f,
 
  225                 LuminanceMin = 0.05f,
 
  229                 UseColorFilter = 
true,
 
  233                 FilterGreenMax = 255,
 
  237                 UseThresholdFilter = 
true,
 
  239                 UseErosionFilter = 
true,
 
  240                 UseDiletationFilter = 
true 
 
 
 
  
  
      
        
          | static Laser Configuration.Config.CreateDefaultLaser  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default laser. 
- Returns
 
Definition at line 128 of file Config.cs.
  132                 WorldCoordinates = 
new Coordinates {X = 14.0f, 
Y = 6.4f, Z = 28.8f},
 
 
 
 
  
  
      
        
          | static Motor Configuration.Config.CreateDefaultMotor  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default motor. 
- Returns
 
Definition at line 114 of file Config.cs.
  120                 MicroStepsEnabled = 
true 
 
 
 
  
  
      
        
          | static Places Configuration.Config.CreateDefaultPlaces  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default places. 
- Returns
 
Definition at line 186 of file Config.cs.
  190                 ImageSubPath = 
"Images",
 
  192                 LastFilePath = String.Empty,
 
FileFormat
File output format 
 
 
 
 
  
  
      
        
          | static List<Resolution> Configuration.Config.CreateDefaultResolutions  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default resolutions. 
- Returns
 
Definition at line 202 of file Config.cs.
  204             return new List<Resolution>
 
  206                 new Resolution(
Precision.Excellent, 1.125f, 10, 4),
 
  207                 new Resolution(
Precision.Good, 2.25f, 20, 6),
 
  208                 new Resolution(
Precision.Average, 4.5f, 40, 8),
 
  209                 new Resolution(
Precision.BelowAverage, 9.0f, 80, 10),
 
  210                 new Resolution(
Precision.Beasty, 18.0f, 160, 12)
 
Precision
Information about the precision of a scan 
 
 
 
 
  
  
      
        
          | static Turntable Configuration.Config.CreateDefaultTurntable  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default turntable. 
- Returns
 
Definition at line 146 of file Config.cs.
  150                 WorldCoordinates = 
new Coordinates {X = 0.0f, 
Y = 0.0f, Z = 7.5f},
 
 
 
 
  
  
      
        
          | static Line Configuration.Config.CreateDefaultVisibleLimits  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
static   | 
  
 
Creates the default visible limits. 
- Returns
 
Definition at line 160 of file Config.cs.
  164                 PercentFromTop = 75f,
 
  165                 Color = Color.FromKnownColor(KnownColor.Blue)
 
 
 
 
      
        
          | void Configuration.Config.ReadConfiguration  | 
          ( | 
           | ) | 
           | 
        
      
 
Reads the configuration from file. 
Definition at line 27 of file Config.cs.
   29             if (!File.Exists(fileName))
 
   36             XmlSerializer reader = 
new XmlSerializer(typeof (
Information));
 
   37             StreamReader file = 
new StreamReader(fileName);
 
   41             this.SetMissingValues();
 
Information Information
Gets the information. 
 
 
 
 
      
        
          | void Configuration.Config.WriteConfiguration  | 
          ( | 
           | ) | 
           | 
        
      
 
Writes the configuration to file. 
Definition at line 64 of file Config.cs.
   66             XmlSerializer writer = 
new XmlSerializer(typeof(
Information));
 
   67             StreamWriter file = 
new StreamWriter(fileName);
 
Information Information
Gets the information. 
 
 
 
 
Gets the information. 
The information. 
Definition at line 22 of file Config.cs.
 
 
The documentation for this class was generated from the following file:
- C:/Entwicklung/Simple3DScan/Simple3DScan/Configuration/Config.cs