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

Method CreatePosePriorTable

src/colmap/scene/database_sqlite.cc:1991–2006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1989 }
1990
1991 void CreatePosePriorTable() const {
1992 const std::string sql =
1993 "CREATE TABLE IF NOT EXISTS pose_priors"
1994 " (pose_prior_id INTEGER PRIMARY KEY NOT NULL,"
1995 " corr_data_id INTEGER NOT NULL,"
1996 " corr_sensor_id INTEGER NOT NULL,"
1997 " corr_sensor_type INTEGER NOT NULL,"
1998 " position BLOB,"
1999 " position_covariance BLOB,"
2000 " gravity BLOB,"
2001 " coordinate_system INTEGER NOT NULL);"
2002 "CREATE UNIQUE INDEX IF NOT EXISTS pose_prior_data_assignment ON "
2003 " pose_priors(corr_data_id, corr_sensor_id, corr_sensor_type);";
2004
2005 SQLITE3_EXEC(database_, sql.c_str(), nullptr);
2006 }
2007
2008 void CreateKeypointsTable() const {
2009 const std::string sql =

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected