Finish up
This commit is contained in:
parent
5efbdcbd6a
commit
0c466644ce
23 changed files with 958 additions and 154 deletions
|
|
@ -18,6 +18,9 @@ public:
|
|||
cv::Mat bgmask;
|
||||
void store() const;
|
||||
void load(size_t cameraId);
|
||||
void loadBgMask(const QString& filename);
|
||||
void loadDarkMap(const QString& filename);
|
||||
void loadRemapMaps(const QString& filename);
|
||||
static QString camerasLocation();
|
||||
static QString remapMapLocation(size_t cameraId);
|
||||
static QString bgmaskLocation(size_t cameraId);
|
||||
|
|
@ -40,7 +43,7 @@ class Profile
|
|||
{
|
||||
static constexpr const char* GROUP = "Profile";
|
||||
|
||||
QString name_ = "NULL";
|
||||
QString name_;
|
||||
|
||||
public:
|
||||
uint64_t id;
|
||||
|
|
@ -49,7 +52,7 @@ public:
|
|||
cv::Mat lightmap;
|
||||
std::vector<CameraSetup> cameras;
|
||||
|
||||
Profile(const QString& name = "NULL");
|
||||
Profile(const QString& name = "Unamed");
|
||||
void store(QSettings& settings) const;
|
||||
void store(const QString& name);
|
||||
void store();
|
||||
|
|
@ -58,6 +61,7 @@ public:
|
|||
void load();
|
||||
void deleteProfile();
|
||||
void setName(const QString name){name_=name;}
|
||||
void setCamerasSetupsFromDescription(const std::vector<cam::Camera::Description>& desc);
|
||||
QString getName() const {return name_;}
|
||||
bool camerasSufficant(const std::vector<cam::Camera::Description>& desc) const;
|
||||
static QList<QString> avaiableProfiles();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue