pinocchio
4.1.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Toggle main menu visibility
Loading...
Searching...
No Matches
model-graph.hpp
1
//
2
// Copyright (c) 2025 INRIA
3
//
4
5
#pragma once
6
7
#include <boost/python.hpp>
8
#include <boost/python/class.hpp>
9
#include <boost/python/scope.hpp>
10
11
#include "pinocchio/bindings/python/fwd.hpp"
12
13
namespace
pinocchio
14
{
15
namespace
python
16
{
17
template
<
typename
Scalar>
18
struct
GraphNamespace
19
{
20
};
21
22
void
exposeFramesGraph();
23
void
exposeJointsGraph();
24
void
exposeJointLimits();
25
void
exposeEdgesAlgo();
26
void
exposeGeometriesVariant();
27
void
exposeGeometryGraph();
28
void
exposeGeometryBuilder();
29
void
exposeModelGraph();
30
void
exposeModelGraphAlgo();
31
32
void
exposeAlgoGeometry();
33
34
void
exposeModelConfigurationConverter();
35
36
inline
void
exposeGraph()
37
{
38
boost::python::scope graph = boost::python::class_<GraphNamespace<context::Scalar>>(
"graph"
);
39
40
#if defined(PINOCCHIO_PYTHON_INTERFACE_MAIN_MODULE)
41
exposeFramesGraph();
42
exposeJointsGraph();
43
exposeJointLimits();
44
exposeEdgesAlgo();
45
exposeGeometriesVariant();
46
exposeGeometryGraph();
47
exposeGeometryBuilder();
48
exposeModelGraph();
49
exposeModelGraphAlgo();
50
#if defined(PINOCCHIO_WITH_COLLISION)
51
exposeAlgoGeometry();
52
#endif
// if defined(PINOCCHIO_WITH_COLLISION)
53
#endif
// if defined(PINOCCHIO_PYTHON_INTERFACE_MAIN_MODULE)
54
exposeModelConfigurationConverter();
55
}
56
57
}
// namespace python
58
}
// namespace pinocchio
pinocchio
Main pinocchio namespace.
Definition
treeview.dox:11
pinocchio::python::GraphNamespace
Definition
model-graph.hpp:19
include
pinocchio
bindings
python
parsers
model-graph.hpp
Generated by
1.17.0