specializations/geometry.h
Go to the documentation of this file.
1 /* Please refer to:
2  * https://pybind11.readthedocs.io/en/stable/advanced/cast/stl.html
3  * These are required to save one copy operation on Python calls.
4  *
5  * NOTES
6  * =================
7  *
8  * `py::bind_vector` and similar machinery gives the std container a Python-like
9  * interface, but without the `<pybind11/stl.h>` copying mechanism. Combined
10  * with `PYBIND11_MAKE_OPAQUE` this allows the types to be modified with Python,
11  * and saves one copy operation.
12  */
13 
14 py::bind_vector<gtsam::CameraSet<gtsam::PinholeCamera<gtsam::Cal3_S2>>>(
15  m_, "CameraSetCal3_S2");
16 py::bind_vector<gtsam::CameraSet<gtsam::PinholeCamera<gtsam::Cal3DS2>>>(
17  m_, "CameraSetCal3DS2");
18 py::bind_vector<gtsam::CameraSet<gtsam::PinholeCamera<gtsam::Cal3Bundler>>>(
19  m_, "CameraSetCal3Bundler");
20 py::bind_vector<gtsam::CameraSet<gtsam::PinholeCamera<gtsam::Cal3Unified>>>(
21  m_, "CameraSetCal3Unified");
22 py::bind_vector<gtsam::CameraSet<gtsam::PinholeCamera<gtsam::Cal3Fisheye>>>(
23  m_, "CameraSetCal3Fisheye");


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:18