11 #include "wrap/serialization.h" 12 #include <boost/serialization/export.hpp> 23 m_.doc() =
"pybind11 wrapper of special_cases_py";
27 py::class_<gtsam::NonlinearFactorGraph, std::shared_ptr<gtsam::NonlinearFactorGraph>>(m_gtsam,
"NonlinearFactorGraph")
30 py::class_<gtsam::SfmTrack, std::shared_ptr<gtsam::SfmTrack>>(m_gtsam,
"SfmTrack")
33 py::class_<gtsam::PinholeCamera<gtsam::Cal3Bundler>, std::shared_ptr<gtsam::PinholeCamera<gtsam::Cal3Bundler>>>(m_gtsam,
"PinholeCameraCal3Bundler");
35 py::class_<gtsam::GeneralSFMFactor<gtsam::PinholeCamera<gtsam::Cal3Bundler>,
gtsam::Point3>, std::shared_ptr<gtsam::GeneralSFMFactor<gtsam::PinholeCamera<gtsam::Cal3Bundler>, gtsam::Point3>>>(m_gtsam,
"GeneralSFMFactorCal3Bundler");
38 #include "python/specializations.h"
module_ def_submodule(const char *name, const char *doc=nullptr)
Point2 prior(const Point2 &x)
Prior on a single pose.
PYBIND11_MODULE(special_cases_py, m_)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType arg() const
std::vector< SfmMeasurement > measurements
The 2D image projections (id,(u,v))
Calibration used by Bundler.