include
pinocchio
bindings
python
context
bindings/python/context/default.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2020-2023 INRIA
3
//
4
5
#ifndef __pinocchio_python_context_default_hpp__
6
#define __pinocchio_python_context_default_hpp__
7
8
#define PINOCCHIO_PYTHON_SCALAR_TYPE PINOCCHIO_PYTHON_SCALAR_TYPE_DEFAULT
9
#define PINOCCHIO_PYTHON_INTERFACE_MAIN_MODULE
10
#define PINOCCHIO_PYTHON_PLAIN_SCALAR_TYPE
11
12
#include "
pinocchio/bindings/python/context/generic.hpp
"
13
#include <
eigenpy/eigenpy.hpp
>
14
15
namespace
pinocchio
16
{
17
namespace
python
18
{
19
20
inline
void
exposeSpecificTypeFeatures
() {};
21
22
inline
boost::python::object
getScalarType
()
23
{
24
namespace
bp
=
boost::python
;
25
return
bp::object(bp::handle<>(bp::borrowed(
reinterpret_cast<
PyObject *
>
(&PyFloat_Type))));
26
}
27
}
// namespace python
28
}
// namespace pinocchio
29
30
#undef PINOCCHIO_PYTHON_SCALAR_TYPE
31
#endif // #ifndef __pinocchio_python_context_default_hpp__
boost::python
eigenpy.hpp
pinocchio::python::getScalarType
boost::python::object getScalarType()
Definition:
boost_number.cpp:19
pinocchio::python::exposeSpecificTypeFeatures
void exposeSpecificTypeFeatures()
Definition:
boost_number.cpp:14
python
generic.hpp
pinocchio
Main pinocchio namespace.
Definition:
timings.cpp:27
pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:08