11 #include "wrap/serialization.h" 12 #include <boost/serialization/export.hpp> 23 m_.doc() =
"pybind11 wrapper of operator_py";
27 py::class_<gtsam::Pose3, std::shared_ptr<gtsam::Pose3>>(m_gtsam,
"Pose3")
29 .def(py::init<gtsam::Rot3, gtsam::Point3>(),
py::arg(
"R"),
py::arg(
"t"))
32 py::class_<gtsam::Container<gtsam::Matrix>, std::shared_ptr<gtsam::Container<gtsam::Matrix>>>(m_gtsam,
"ContainerMatrix")
33 .def(
"__call__", >sam::Container<gtsam::Matrix>::operator())
34 .def(
"__getitem__", >sam::Container<gtsam::Matrix>::operator[]);
37 #include "python/specializations.h"
module_ def_submodule(const char *name, const char *doc=nullptr)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType arg() const
PYBIND11_MODULE(operator_py, m_)