Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
g
i
j
l
m
n
p
q
r
s
t
u
v
x
y
z
Enumerations
Enumerator
a
b
c
e
f
g
j
l
m
o
p
r
s
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
p
q
r
s
t
u
v
z
Enumerations
Enumerator
a
b
c
d
f
i
l
m
n
o
r
s
u
v
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
Typedefs
a
c
d
g
j
m
p
r
s
t
v
Enumerator
Macros
_
a
b
d
e
f
h
i
j
k
m
o
p
q
r
s
v
Examples
include
pinocchio
collision
collision/fcl-pinocchio-conversions.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2015-2024 CNRS INRIA
3
//
4
5
#ifndef __pinocchio_collision_fcl_convertion_hpp__
6
#define __pinocchio_collision_fcl_convertion_hpp__
7
8
#include <
hpp/fcl/math/transform.h
>
9
#include "
pinocchio/spatial/se3.hpp
"
10
11
namespace
pinocchio
12
{
13
template
<
typename
Scalar>
14
inline
hpp::fcl::Transform3f
toFclTransform3f
(
const
SE3Tpl<Scalar>
&
m
)
15
{
16
SE3Tpl<double, 0>
m_ =
m
.template cast<double>();
17
return
hpp::fcl::Transform3f
(m_.
rotation
(), m_.
translation
());
18
}
19
20
inline
SE3
toPinocchioSE3
(
const
hpp::fcl::Transform3f
& tf)
21
{
22
typedef
SE3::Scalar
Scalar
;
23
return
SE3
(tf.
getRotation
().cast<
Scalar
>(), tf.
getTranslation
().cast<
Scalar
>());
24
}
25
26
}
// namespace pinocchio
27
28
#endif // ifndef __pinocchio_collision_fcl_convertion_hpp__
test-cpp2pybind11.m
m
Definition:
test-cpp2pybind11.py:25
pinocchio::SE3Tpl
Definition:
context/casadi.hpp:30
pinocchio::SE3
context::SE3 SE3
Definition:
spatial/fwd.hpp:59
transform.h
pinocchio::SE3Tpl::translation
ConstLinearRef translation() const
Definition:
se3-base.hpp:52
pinocchio::toFclTransform3f
hpp::fcl::Transform3f toFclTransform3f(const SE3Tpl< Scalar > &m)
Definition:
collision/fcl-pinocchio-conversions.hpp:14
se3.hpp
pinocchio::SE3Tpl::rotation
ConstAngularRef rotation() const
Definition:
se3-base.hpp:48
pinocchio::toPinocchioSE3
SE3 toPinocchioSE3(const hpp::fcl::Transform3f &tf)
Definition:
collision/fcl-pinocchio-conversions.hpp:20
hpp::fcl::Transform3f::getTranslation
const Vec3f & getTranslation() const
hpp::fcl::Transform3f::getRotation
const Matrix3f & getRotation() const
hpp::fcl::Transform3f
Scalar
double Scalar
Definition:
timings-cppad-jit.cpp:37
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:33
pinocchio
Author(s):
autogenerated on Wed Apr 16 2025 02:41:47