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

Function BindReconstructionManager

src/pycolmap/scene/reconstruction_manager.cc:13–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11namespace py = pybind11;
12
13void BindReconstructionManager(py::module& m) {
14 py::classh<ReconstructionManager>(m, "ReconstructionManager")
15 .def(py::init<>())
16 .def("size", &ReconstructionManager::Size)
17 .def("get",
18 py::overload_cast<size_t>(&ReconstructionManager::Get),
19 "idx"_a)
20 .def("add", &ReconstructionManager::Add)
21 .def("delete", &ReconstructionManager::Delete, "idx"_a)
22 .def("clear", &ReconstructionManager::Clear)
23 .def("read", &ReconstructionManager::Read, "path"_a)
24 .def("write", &ReconstructionManager::Write, "path"_a);
25}

Callers 1

BindSceneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected