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

Method CreateCameraTable

src/colmap/scene/database_sqlite.cc:1938–1950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1936 }
1937
1938 void CreateCameraTable() const {
1939 const std::string sql =
1940 "CREATE TABLE IF NOT EXISTS cameras"
1941 " (camera_id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,"
1942 " model INTEGER NOT NULL,"
1943 " width INTEGER NOT NULL,"
1944 " height INTEGER NOT NULL,"
1945 " params BLOB,"
1946 " prior_focal_length INTEGER NOT "
1947 "NULL);";
1948
1949 SQLITE3_EXEC(database_, sql.c_str(), nullptr);
1950 }
1951
1952 void CreateFrameTable() const {
1953 const std::string sql =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected