Subversion Repositories seema-scanner

Rev

Rev 25 | Rev 44 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef SMTYPES_H
#define SMTYPES_H

#include <opencv2/opencv.hpp>
#include <QString>

struct SMCalibrationSet {
    cv::Mat frame0;
    cv::Mat frame1;
    float rotationAngle;
    bool checked;
    bool success;
    cv::Mat frame0Result;
    cv::Mat frame1Result;
    SMCalibrationSet(): frame0(cv::Mat()), frame1(cv::Mat()), rotationAngle(-1), checked(false), success(false){}
};


struct SMFrameSequence {
    std::vector<cv::Mat> frames0;
    std::vector<cv::Mat> frames1;
    QString codec;
    float rotationAngle;
    SMFrameSequence(): codec(""), rotationAngle(-1){}
};

#endif // SMTYPES_H