Subversion Repositories seema-scanner

Rev

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

Rev 185 Rev 192
Line 2... Line 2...
2
 
2
 
3
#include "AlgorithmGrayCode.h"
3
#include "AlgorithmGrayCode.h"
4
#include "AlgorithmGrayCodeHorzVert.h"
4
#include "AlgorithmGrayCodeHorzVert.h"
5
#include "AlgorithmPhaseShiftTwoFreq.h"
5
#include "AlgorithmPhaseShiftTwoFreq.h"
6
#include "AlgorithmPhaseShiftThreeFreq.h"
6
#include "AlgorithmPhaseShiftThreeFreq.h"
-
 
7
#include "AlgorithmPhaseShiftEmbedded.h"
7
#include "AlgorithmLineShift.h"
8
#include "AlgorithmLineShift.h"
8
 
9
 
9
#include <QCoreApplication>
10
#include <QCoreApplication>
10
#include <QSettings>
11
#include <QSettings>
11
 
12
 
Line 45... Line 46...
45
        algorithm = new AlgorithmGrayCodeHorzVert(resX, resY);
46
        algorithm = new AlgorithmGrayCodeHorzVert(resX, resY);
46
    else if(codec == "PhaseShiftTwoFreq")
47
    else if(codec == "PhaseShiftTwoFreq")
47
        algorithm = new AlgorithmPhaseShiftTwoFreq(resX, resY);
48
        algorithm = new AlgorithmPhaseShiftTwoFreq(resX, resY);
48
    else if(codec == "PhaseShiftThreeFreq")
49
    else if(codec == "PhaseShiftThreeFreq")
49
        algorithm = new AlgorithmPhaseShiftThreeFreq(resX, resY);
50
        algorithm = new AlgorithmPhaseShiftThreeFreq(resX, resY);
-
 
51
    else if(codec == "PhaseShiftEmbedded")
-
 
52
        algorithm = new AlgorithmPhaseShiftEmbedded(resX, resY);
50
    else if(codec == "LineShift")
53
    else if(codec == "LineShift")
51
        algorithm = new AlgorithmLineShift(resX, resY);
54
        algorithm = new AlgorithmLineShift(resX, resY);
52
    else
55
    else
53
        std::cerr << "SLScanWorker: invalid codec " << codec.toStdString() << std::endl;
56
        std::cerr << "SLScanWorker: invalid codec " << codec.toStdString() << std::endl;
54
 
57