specializations.h
Go to the documentation of this file.
1 // Please refer to: https://pybind11.readthedocs.io/en/stable/advanced/cast/stl.html
2 // These are required to save one copy operation on Python calls
3 #ifdef GTSAM_ALLOCATOR_TBB
4 py::bind_vector<std::vector<gtsam::Key, tbb::tbb_allocator<gtsam::Key> > >(m_, "KeyVector");
5 #else
6 py::bind_vector<std::vector<gtsam::Key> >(m_, "KeyVector");
7 #endif
8 py::bind_vector<std::vector<gtsam::Point2, Eigen::aligned_allocator<gtsam::Point2> > >(m_, "Point2Vector");
9 py::bind_vector<std::vector<gtsam::Point3Pair> >(m_, "Point3Pairs");
10 py::bind_vector<std::vector<gtsam::Pose3Pair> >(m_, "Pose3Pairs");
11 py::bind_vector<std::vector<gtsam::Pose3> >(m_, "Pose3Vector");
12 py::bind_vector<std::vector<boost::shared_ptr<gtsam::BetweenFactor<gtsam::Pose3> > > >(m_, "BetweenFactorPose3s");
13 py::bind_vector<std::vector<boost::shared_ptr<gtsam::BetweenFactor<gtsam::Pose2> > > >(m_, "BetweenFactorPose2s");
14 py::bind_vector<std::vector<gtsam::BinaryMeasurement<gtsam::Unit3> > >(m_, "BinaryMeasurementsUnit3");
15 py::bind_map<gtsam::IndexPairSetMap>(m_, "IndexPairSetMap");
16 py::bind_vector<gtsam::IndexPairVector>(m_, "IndexPairVector");
17 py::bind_map<gtsam::KeyPairDoubleMap>(m_, "KeyPairDoubleMap");
18 py::bind_vector<gtsam::CameraSet<gtsam::PinholeCamera<gtsam::Cal3_S2> > >(m_, "CameraSetCal3_S2");
19 py::bind_vector<gtsam::CameraSet<gtsam::PinholeCamera<gtsam::Cal3Bundler> > >(m_, "CameraSetCal3Bundler");


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:44:49