MVE - Multi-View Environment mve-devel
|
Camera database which, given a maker and model string, will look for a camera model in the database and return the model on successful lookup. More...
#include <camera_database.h>
Public Member Functions | |
CameraModel const * | lookup (std::string const &maker, std::string const &model) const |
Lookup of a camera model. | |
Static Public Member Functions | |
static CameraDatabase * | get (void) |
Access to the singleton object. | |
Camera database which, given a maker and model string, will look for a camera model in the database and return the model on successful lookup.
If the lookup fails, a null pointer is returned.
Definition at line 46 of file camera_database.h.
|
inlinestatic |
Access to the singleton object.
Definition at line 70 of file camera_database.h.
CameraModel const * sfm::CameraDatabase::lookup | ( | std::string const & | maker, |
std::string const & | model | ||
) | const |
Lookup of a camera model.
Returns null on failure.
Definition at line 67 of file camera_database.cc.