MCPcopy Create free account
hub / github.com/colmap/colmap / AccessDatabase

Method AccessDatabase

src/colmap/controllers/matcher_cache.cc:75–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75void FeatureMatcherCache::AccessDatabase(
76 const std::function<void(Database& database)>& func) {
77 std::lock_guard<std::mutex> lock(database_mutex_);
78 func(*database_);
79}
80
81const Camera& FeatureMatcherCache::GetCamera(const camera_t camera_id) {
82 MaybeLoadCameras();

Callers 3

NextMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64