Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
bindings
python
multibody
fcl
expose-fcl.cpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2017-2021 CNRS INRIA
3
//
4
5
#include "
pinocchio/bindings/python/fwd.hpp
"
6
#include "
pinocchio/bindings/python/multibody/fcl/transform.hpp
"
7
#include "
pinocchio/bindings/python/serialization/serialization.hpp
"
8
9
#define HPP_FCL_SKIP_EIGEN_BOOST_SERIALIZATION
10
#include <hpp/fcl/serialization/BVH_model.h>
11
#undef HPP_FCL_SKIP_EIGEN_BOOST_SERIALIZATION
12
13
namespace
pinocchio
14
{
15
namespace
python
16
{
17
void
exposeFCL
()
18
{
19
namespace
bp
=
boost::python
;
20
bp::import(
"hppfcl"
);
21
22
using namespace
::hpp::fcl;
23
24
// Register implicit conversion SE3 <=> ::hpp::fcl::Transform3f
25
bp::implicitly_convertible< SE3,Transform3f >();
26
bp::implicitly_convertible< Transform3f,SE3 >();
27
28
// Expose serialization of basic geometries to binary buffers
29
serialize< BVHModel<OBB> >();
30
serialize< BVHModel<RSS> >();
31
serialize< BVHModel<OBBRSS> >();
32
}
33
34
}
// namespace python
35
}
// namespace pinocchio
fwd.hpp
serialization.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:30
transform.hpp
boost::python
pinocchio::python::exposeFCL
void exposeFCL()
Definition:
expose-fcl.cpp:17
python
Definition:
cmake/_unittests/python/jrl_cmakemodule/python.py:1
pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:02