Rev 100 | Rev 123 | 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 <pcl/point_cloud.h>
#include <pcl/point_types.h>
#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;
int id;
QString codec;
float rotationAngle;
bool reconstructed;
SMFrameSequence(): id(-1), codec(""), rotationAngle(-1), reconstructed(false){}
};
struct SMPointCloud {
pcl::PointCloud<pcl::PointXYZRGB>::Ptr pointCloud;
float rotationAngle;
int id;
cv::Matx33f R;
cv::Vec3f T;
SMPointCloud(): pointCloud(), rotationAngle(-1){}
};
#endif // SMTYPES_H