Line 40... |
Line 40... |
40 |
// List pattern modes
|
40 |
// List pattern modes
|
41 |
ui->algorithmComboBox->addItem("Gray Coding", "GrayCode");
|
41 |
ui->algorithmComboBox->addItem("Gray Coding", "GrayCode");
|
42 |
ui->algorithmComboBox->addItem("Gray Coding Horizontal+Vertical (experimental)", "GrayCodeHorzVert");
|
42 |
ui->algorithmComboBox->addItem("Gray Coding Horizontal+Vertical (experimental)", "GrayCodeHorzVert");
|
43 |
ui->algorithmComboBox->addItem("Phase Shifting 2 frequency heterodyne", "PhaseShiftTwoFreq");
|
43 |
ui->algorithmComboBox->addItem("Phase Shifting 2 frequency heterodyne", "PhaseShiftTwoFreq");
|
44 |
ui->algorithmComboBox->addItem("Phase Shifting 3 frequency (experimental)", "PhaseShiftThreeFreq");
|
44 |
ui->algorithmComboBox->addItem("Phase Shifting 3 frequency (experimental)", "PhaseShiftThreeFreq");
|
- |
|
45 |
ui->algorithmComboBox->addItem("Embedded Phase Shifting (experimental)", "PhaseShiftEmbedded");
|
45 |
ui->algorithmComboBox->addItem("Line Shifting", "LineShift");
|
46 |
ui->algorithmComboBox->addItem("Line Shifting", "LineShift");
|
46 |
|
47 |
|
47 |
// Set all elements to current application settings
|
48 |
// Set all elements to current application settings
|
48 |
unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
|
49 |
unsigned int patternModeIndex = ui->algorithmComboBox->findData(settings.value("algorithm"));
|
49 |
ui->algorithmComboBox->setCurrentIndex(patternModeIndex);
|
50 |
ui->algorithmComboBox->setCurrentIndex(patternModeIndex);
|