MVE - Multi-View Environment mve-devel
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
sfm::CameraDatabase Class Reference

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 CameraDatabaseget (void)
 Access to the singleton object.
 

Detailed Description

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.

Member Function Documentation

◆ get()

CameraDatabase * sfm::CameraDatabase::get ( void  )
inlinestatic

Access to the singleton object.

Definition at line 70 of file camera_database.h.

◆ lookup()

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.


The documentation for this class was generated from the following files: