Subversion Repositories seema-scanner

Rev

Rev 170 | Rev 192 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 170 Rev 182
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"
-
 
6
#include "AlgorithmPhaseShiftTwoFreq.h"
5
#include "AlgorithmPhaseShiftTwoFreq.h"
7
#include "AlgorithmPhaseShiftThreeFreq.h"
6
#include "AlgorithmPhaseShiftThreeFreq.h"
8
#include "AlgorithmLineShift.h"
7
#include "AlgorithmLineShift.h"
9
 
8
 
10
#include <QCoreApplication>
9
#include <QCoreApplication>
Line 61... Line 60...
61
    codec = settings.value("algorithm", "GrayCode").toString();
60
    codec = settings.value("algorithm", "GrayCode").toString();
62
    if(codec == "GrayCode")
61
    if(codec == "GrayCode")
63
        algorithm = new AlgorithmGrayCode(screenCols, screenRows);
62
        algorithm = new AlgorithmGrayCode(screenCols, screenRows);
64
    else if(codec == "GrayCodeHorzVert")
63
    else if(codec == "GrayCodeHorzVert")
65
        algorithm = new AlgorithmGrayCodeHorzVert(screenCols, screenRows);
64
        algorithm = new AlgorithmGrayCodeHorzVert(screenCols, screenRows);
66
    else if(codec == "GrayCodeMax")
-
 
67
        algorithm = new AlgorithmGrayCodeMax(screenCols, screenRows);
-
 
68
    else if(codec == "PhaseShiftTwoFreq")
65
    else if(codec == "PhaseShiftTwoFreq")
69
        algorithm = new AlgorithmPhaseShiftTwoFreq(screenCols, screenRows);
66
        algorithm = new AlgorithmPhaseShiftTwoFreq(screenCols, screenRows);
70
    else if(codec == "PhaseShiftThreeFreq")
67
    else if(codec == "PhaseShiftThreeFreq")
71
        algorithm = new AlgorithmPhaseShiftThreeFreq(screenCols, screenRows);
68
        algorithm = new AlgorithmPhaseShiftThreeFreq(screenCols, screenRows);
72
    else if(codec == "LineShift")
69
    else if(codec == "LineShift")