Select Git revision
sandboxSetup.h
sandboxSetup.h 1.13 KiB
#ifndef SANDBOXSETUP_H
#define SANDBOXSETUP_H
#include <opencv2/opencv.hpp>
#include "beamer.h"
#include "beamerProjection.h"
#include "camera.h"
#include "borderedit.h"
#include "sandboxConfig.h"
class SandboxSetup{
private:
char *defaultConfigFilePath = (char *)"./sandbox_conf.yaml";
double toDegrees(double radians);
void initWindowsFullScreen(char *windowName);
public:
SandboxSetup();
BeamerProjection projection;
Camera camera;
Beamer beamer;
// save config in file => persistant
int saveConfigFrom(char *path);
int saveConfig();
int saveFrameProcessProfil();
// edit variables of config => not persistant
int setupProjection();
int setupBeamerResolution();
int setupBeamerLocation();
int loadFrameProcessProfil();
void setBeamerResolution(cv::Size resolution);
void setBeamerPosition(cv::Point3f pos);
void setCroppingMask(cv::Rect mask);
void setAdjustingMatrix(cv::Mat matrix);
void setFrameProcessProfil(FrameProcessProfil profil);
};
#endif