pinocchio  3.9.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Loading...
Searching...
No Matches
model-graph.hpp
1//
2// Copyright (c) 2025 INRIA
3//
4
5#ifndef __pinocchio_python_parsers_model_graph_hpp__
6#define __pinocchio_python_parsers_model_graph_hpp__
7
8#include <boost/python/class.hpp>
9#include <boost/python/scope.hpp>
10
11#include "pinocchio/bindings/python/fwd.hpp"
12
13namespace pinocchio
14{
15 namespace python
16 {
17 template<typename Scalar>
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_HPP_FCL)
51 exposeAlgoGeometry();
52 #endif // if defined(PINOCCHIO_WITH_HPP_FCL)
53#endif // if defined(PINOCCHIO_PYTHON_INTERFACE_MAIN_MODULE)
54 exposeModelConfigurationConverter();
55 }
56
57 } // namespace python
58} // namespace pinocchio
59
60#endif // ifndef __pinocchio_python_parsers_mjcf_hpp__
Main pinocchio namespace.
Definition treeview.dox:11