Verified Commit 641e58a4 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: serialize basic shapes from FCL

parent 2da34f31
......@@ -8,6 +8,7 @@
#define HPP_FCL_SKIP_EIGEN_BOOST_SERIALIZATION
#include <hpp/fcl/serialization/BVH_model.h>
#include <hpp/fcl/serialization/geometric_shapes.h>
#undef HPP_FCL_SKIP_EIGEN_BOOST_SERIALIZATION
namespace pinocchio
......@@ -26,6 +27,15 @@ namespace pinocchio
bp::implicitly_convertible< Transform3f,SE3 >();
// Expose serialization of basic geometries to binary buffers
serialize<TriangleP>();
serialize<Sphere>();
serialize<Capsule>();
serialize<Box>();
serialize<Cone>();
serialize<Capsule>();
serialize<Plane>();
serialize<Halfspace>();
serialize< BVHModel<OBB> >();
serialize< BVHModel<RSS> >();
serialize< BVHModel<OBBRSS> >();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment