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

Method ReadAllRigs

src/colmap/scene/database_sqlite.cc:684–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682 }
683
684 std::vector<Rig> ReadAllRigs() const override {
685 Sqlite3StmtContext context(sql_stmt_read_rigs_);
686
687 std::vector<Rig> rigs;
688
689 ReadRigRows(sql_stmt_read_rigs_,
690 [&rigs](Rig new_rig) { rigs.push_back(std::move(new_rig)); });
691
692 return rigs;
693 }
694
695 Camera ReadCamera(const camera_t camera_id) const override {
696 Sqlite3StmtContext context(sql_stmt_read_camera_);

Callers 9

TESTFunction · 0.45
TEST_PFunction · 0.45
TESTFunction · 0.45
MergeMethod · 0.45
TESTFunction · 0.45
LoadMethod · 0.45
RigVerificationFunction · 0.45
TESTFunction · 0.45

Calls 1

ReadRigRowsFunction · 0.85

Tested by 5

TESTFunction · 0.36
TEST_PFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36