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

Method CreateFrameTable

src/colmap/scene/database_sqlite.cc:1952–1960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1950 }
1951
1952 void CreateFrameTable() const {
1953 const std::string sql =
1954 "CREATE TABLE IF NOT EXISTS frames"
1955 " (frame_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,"
1956 " rig_id INTEGER NOT NULL,"
1957 " FOREIGN KEY(rig_id) REFERENCES rigs(rig_id) ON DELETE CASCADE);";
1958
1959 SQLITE3_EXEC(database_, sql.c_str(), nullptr);
1960 }
1961
1962 void CreateFrameDataTable() const {
1963 const std::string sql =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected