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
multibody
geometry-object-filter.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022 INRIA
3
//
4
5
#ifndef __pinocchio_multibody_geometry_object_filter_hpp__
6
#define __pinocchio_multibody_geometry_object_filter_hpp__
7
8
#include "
pinocchio/multibody/instance-filter.hpp
"
9
10
namespace
pinocchio
11
{
12
13
struct
GeometryObjectFilterBase
:
InstanceFilterBase
<GeometryObject>
14
{
15
16
};
// struct GeometryObjectFilterBase
17
18
struct
GeometryObjectFilterNothing
final :
GeometryObjectFilterBase
19
{
20
bool
operator()
(
const
GeometryObject
&)
const
21
{
22
return
true
;
23
}
24
25
};
// struct GeometryObjectFilterNothing
26
27
struct
GeometryObjectFilterSelectByJoint
final :
GeometryObjectFilterBase
28
{
29
GeometryObjectFilterSelectByJoint
(
const
size_t
joint_id
)
30
:
joint_id
(
joint_id
)
31
{
32
}
33
34
bool
operator()
(
const
GeometryObject
& geometry_object)
const
35
{
36
return
geometry_object.
parentJoint
==
joint_id
;
37
}
38
39
const
size_t
joint_id
;
40
41
};
// struct GeometryObjectFilterSelectByJoint
42
43
}
// namespace pinocchio
44
45
#endif // #ifndef __pinocchio_multibody_geometry_object_filter_hpp__
pinocchio::ModelItem::parentJoint
JointIndex parentJoint
Index of the parent joint.
Definition:
model-item.hpp:28
instance-filter.hpp
pinocchio::GeometryObjectFilterBase
Definition:
geometry-object-filter.hpp:13
pinocchio::GeometryObject
Definition:
multibody/geometry-object.hpp:87
pinocchio::GeometryObjectFilterSelectByJoint
Definition:
geometry-object-filter.hpp:27
pinocchio::InstanceFilterBase
Instance filter base class.
Definition:
instance-filter.hpp:15
pinocchio::GeometryObjectFilterSelectByJoint::operator()
bool operator()(const GeometryObject &geometry_object) const
Returns true if the input obj matches the filter conditions.
Definition:
geometry-object-filter.hpp:34
pinocchio::GeometryObjectFilterSelectByJoint::GeometryObjectFilterSelectByJoint
GeometryObjectFilterSelectByJoint(const size_t joint_id)
Definition:
geometry-object-filter.hpp:29
pinocchio::GeometryObjectFilterNothing::operator()
bool operator()(const GeometryObject &) const
Returns true if the input obj matches the filter conditions.
Definition:
geometry-object-filter.hpp:20
pinocchio::GeometryObjectFilterSelectByJoint::joint_id
const size_t joint_id
Definition:
geometry-object-filter.hpp:39
pinocchio::GeometryObjectFilterNothing
Definition:
geometry-object-filter.hpp:18
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:33
pinocchio
Author(s):
autogenerated on Sat Apr 19 2025 02:41:33