AliceVision
Photogrammetric Computer Vision Framework
src
aliceVision
sensorDB
Datasheet.hpp
1
// This file is part of the AliceVision project.
2
// Copyright (c) 2016 AliceVision contributors.
3
// Copyright (c) 2012 openMVG contributors.
4
// This Source Code Form is subject to the terms of the Mozilla Public License,
5
// v. 2.0. If a copy of the MPL was not distributed with this file,
6
// You can obtain one at https://mozilla.org/MPL/2.0/.
7
8
#pragma once
9
10
#include <string>
11
12
namespace
aliceVision
{
13
namespace
sensorDB {
14
18
struct
Datasheet
19
{
20
Datasheet
() =
default
;
21
28
Datasheet
(
const
std::string& brand,
const
std::string& model,
const
double
& sensorWidth)
29
: _brand(brand),
30
_model(model),
31
_sensorWidth(sensorWidth)
32
{}
33
34
bool
operator==(
const
Datasheet
& other)
const
;
35
36
std::string _brand;
37
std::string _model;
38
double
_sensorWidth;
39
};
40
41
}
// namespace sensorDB
42
}
// namespace aliceVision
aliceVision
Definition:
checkerDetector.cpp:32
aliceVision::sensorDB::Datasheet
The Database structure.
Definition:
Datasheet.hpp:18
aliceVision::sensorDB::Datasheet::Datasheet
Datasheet(const std::string &brand, const std::string &model, const double &sensorWidth)
Datasheet Constructor.
Definition:
Datasheet.hpp:28
Generated on Tue Jun 2 2026 15:05:44 for AliceVision by
1.8.17