Macros | Functions
cpp2pybind11.cpp File Reference
#include <pinocchio/bindings/python/pybind11.hpp>
#include <pybind11/pybind11.h>
#include <boost/python.hpp>
#include <pinocchio/bindings/python/pybind11-all.hpp>
Include dependency graph for cpp2pybind11.cpp:

Go to the source code of this file.

Macros

#define JOINT_MODEL_COLLECTION   ::pinocchio::JointCollectionDefaultTpl
 
#define OPTIONS   0
 
#define SCALAR   double
 

Functions

template<typename T >
intptr_t get_ptr (T &m)
 
pinocchio::Modelmake_model ()
 
pinocchio::SE3 multiply_se3 (pinocchio::SE3 const &a, pinocchio::SE3 const &b)
 
 PYBIND11_MODULE (cpp2pybind11, m)
 
pinocchio::Modelreturn_same_model_copy (pinocchio::Model &m)
 
pinocchio::Modelreturn_same_model_nocopy (pinocchio::Model &m)
 
void test1 (int i)
 
void testModel1 (pinocchio::Model &model)
 
intptr_t testModel2 (pinocchio::Model &model, int i)
 
intptr_t testModel3 (pinocchio::Model const &model, int i)
 
void testModel_manual (pybind11::object model)
 

Macro Definition Documentation

◆ JOINT_MODEL_COLLECTION

#define JOINT_MODEL_COLLECTION   ::pinocchio::JointCollectionDefaultTpl

Definition at line 10 of file cpp2pybind11.cpp.

◆ OPTIONS

#define OPTIONS   0

Definition at line 9 of file cpp2pybind11.cpp.

◆ SCALAR

#define SCALAR   double

Definition at line 8 of file cpp2pybind11.cpp.

Function Documentation

◆ get_ptr()

template<typename T >
intptr_t get_ptr ( T &  m)

Definition at line 35 of file cpp2pybind11.cpp.

◆ make_model()

pinocchio::Model* make_model ( )

Definition at line 13 of file cpp2pybind11.cpp.

◆ multiply_se3()

pinocchio::SE3 multiply_se3 ( pinocchio::SE3 const &  a,
pinocchio::SE3 const &  b 
)

Definition at line 29 of file cpp2pybind11.cpp.

◆ PYBIND11_MODULE()

PYBIND11_MODULE ( cpp2pybind11  ,
m   
)

Definition at line 69 of file cpp2pybind11.cpp.

◆ return_same_model_copy()

pinocchio::Model& return_same_model_copy ( pinocchio::Model m)

Definition at line 20 of file cpp2pybind11.cpp.

◆ return_same_model_nocopy()

pinocchio::Model* return_same_model_nocopy ( pinocchio::Model m)

Definition at line 24 of file cpp2pybind11.cpp.

◆ test1()

void test1 ( int  i)

Definition at line 41 of file cpp2pybind11.cpp.

◆ testModel1()

void testModel1 ( pinocchio::Model model)

Definition at line 45 of file cpp2pybind11.cpp.

◆ testModel2()

intptr_t testModel2 ( pinocchio::Model model,
int  i 
)

Definition at line 50 of file cpp2pybind11.cpp.

◆ testModel3()

intptr_t testModel3 ( pinocchio::Model const &  model,
int  i 
)

Definition at line 56 of file cpp2pybind11.cpp.

◆ testModel_manual()

void testModel_manual ( pybind11::object  model)

Definition at line 62 of file cpp2pybind11.cpp.



pinocchio
Author(s):
autogenerated on Sun Dec 22 2024 03:41:13