Line 1... |
Line 1... |
1 |
#include "SMCaptureWorker.h"
|
1 |
#include "SMCaptureWorker.h"
|
2 |
|
2 |
|
3 |
#include "AlgorithmGrayCode.h"
|
3 |
#include "AlgorithmGrayCode.h"
|
4 |
#include "AlgorithmGrayCodeHorzVert.h"
|
4 |
#include "AlgorithmGrayCodeHorzVert.h"
|
- |
|
5 |
#include "AlgorithmGrayCodeMax.h"
|
5 |
#include "AlgorithmPhaseShiftTwoFreq.h"
|
6 |
#include "AlgorithmPhaseShiftTwoFreq.h"
|
6 |
#include "AlgorithmPhaseShiftThreeFreq.h"
|
7 |
#include "AlgorithmPhaseShiftThreeFreq.h"
|
7 |
#include "AlgorithmLineShift.h"
|
8 |
#include "AlgorithmLineShift.h"
|
8 |
|
9 |
|
9 |
#include <QCoreApplication>
|
10 |
#include <QCoreApplication>
|
Line 55... |
Line 56... |
55 |
codec = settings.value("algorithm", "GrayCode").toString();
|
56 |
codec = settings.value("algorithm", "GrayCode").toString();
|
56 |
if(codec == "GrayCode")
|
57 |
if(codec == "GrayCode")
|
57 |
algorithm = new AlgorithmGrayCode(screenCols, screenRows);
|
58 |
algorithm = new AlgorithmGrayCode(screenCols, screenRows);
|
58 |
else if(codec == "GrayCodeHorzVert")
|
59 |
else if(codec == "GrayCodeHorzVert")
|
59 |
algorithm = new AlgorithmGrayCodeHorzVert(screenCols, screenRows);
|
60 |
algorithm = new AlgorithmGrayCodeHorzVert(screenCols, screenRows);
|
- |
|
61 |
else if(codec == "GrayCodeMax")
|
- |
|
62 |
algorithm = new AlgorithmGrayCodeMax(screenCols, screenRows);
|
60 |
else if(codec == "PhaseShiftTwoFreq")
|
63 |
else if(codec == "PhaseShiftTwoFreq")
|
61 |
algorithm = new AlgorithmPhaseShiftTwoFreq(screenCols, screenRows);
|
64 |
algorithm = new AlgorithmPhaseShiftTwoFreq(screenCols, screenRows);
|
62 |
else if(codec == "PhaseShiftThreeFreq")
|
65 |
else if(codec == "PhaseShiftThreeFreq")
|
63 |
algorithm = new AlgorithmPhaseShiftThreeFreq(screenCols, screenRows);
|
66 |
algorithm = new AlgorithmPhaseShiftThreeFreq(screenCols, screenRows);
|
64 |
else if(codec == "LineShift")
|
67 |
else if(codec == "LineShift")
|