Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Private Member Functions | List of all members
pinocchio::python::InertiaPythonVisitor< Inertia > Struct Template Reference

#include <inertia.hpp>

Inheritance diagram for pinocchio::python::InertiaPythonVisitor< Inertia >:
Inheritance graph
[legend]

Classes

struct  Pickle
 

Public Types

enum  { Options = Inertia::Options }
 
typedef ForceTpl< Scalar, OptionsForce
 
typedef Inertia::Matrix3 Matrix3
 
typedef Inertia::Matrix6 Matrix6
 
typedef MotionTpl< Scalar, OptionsMotion
 
typedef Inertia::Scalar Scalar
 
typedef Inertia::Vector3 Vector3
 
typedef Inertia::Vector6 Vector6
 
typedef Eigen::Matrix< Scalar, Eigen::Dynamic, 1, OptionsVectorXs
 

Public Member Functions

template<class PyClass >
void visit (PyClass &cl) const
 

Static Public Member Functions

static void expose ()
 
static Inertia fromDynamicParameters_proxy (const VectorXs &params)
 
static Matrix3 getInertia (const Inertia &self)
 
static Scalar getMass (const Inertia &self)
 
static InertiamakeFromMCI (const Scalar &mass, const Vector3 &lever, const Matrix3 &inertia)
 
static void setInertia (Inertia &self, const Matrix3 &symmetric_inertia)
 
static void setLever (Inertia &self, const Vector3 &lever)
 
static void setMass (Inertia &self, Scalar mass)
 
static VectorXs toDynamicParameters_proxy (const Inertia &self)
 

Static Private Member Functions

static Matrix6 __array__ (const Inertia &self, bp::object, bp::object)
 

Detailed Description

template<typename Inertia>
struct pinocchio::python::InertiaPythonVisitor< Inertia >

Definition at line 33 of file bindings/python/spatial/inertia.hpp.

Member Typedef Documentation

◆ Force

template<typename Inertia >
typedef ForceTpl<Scalar, Options> pinocchio::python::InertiaPythonVisitor< Inertia >::Force

Definition at line 47 of file bindings/python/spatial/inertia.hpp.

◆ Matrix3

template<typename Inertia >
typedef Inertia::Matrix3 pinocchio::python::InertiaPythonVisitor< Inertia >::Matrix3

Definition at line 41 of file bindings/python/spatial/inertia.hpp.

◆ Matrix6

template<typename Inertia >
typedef Inertia::Matrix6 pinocchio::python::InertiaPythonVisitor< Inertia >::Matrix6

Definition at line 43 of file bindings/python/spatial/inertia.hpp.

◆ Motion

Definition at line 46 of file bindings/python/spatial/inertia.hpp.

◆ Scalar

template<typename Inertia >
typedef Inertia::Scalar pinocchio::python::InertiaPythonVisitor< Inertia >::Scalar

Definition at line 39 of file bindings/python/spatial/inertia.hpp.

◆ Vector3

template<typename Inertia >
typedef Inertia::Vector3 pinocchio::python::InertiaPythonVisitor< Inertia >::Vector3

Definition at line 40 of file bindings/python/spatial/inertia.hpp.

◆ Vector6

template<typename Inertia >
typedef Inertia::Vector6 pinocchio::python::InertiaPythonVisitor< Inertia >::Vector6

Definition at line 42 of file bindings/python/spatial/inertia.hpp.

◆ VectorXs

template<typename Inertia >
typedef Eigen::Matrix<Scalar, Eigen::Dynamic, 1, Options> pinocchio::python::InertiaPythonVisitor< Inertia >::VectorXs

Definition at line 45 of file bindings/python/spatial/inertia.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename Inertia >
anonymous enum
Enumerator
Options 

Definition at line 35 of file bindings/python/spatial/inertia.hpp.

Member Function Documentation

◆ __array__()

template<typename Inertia >
static Matrix6 pinocchio::python::InertiaPythonVisitor< Inertia >::__array__ ( const Inertia self,
bp::object  ,
bp::object   
)
inlinestaticprivate

Definition at line 302 of file bindings/python/spatial/inertia.hpp.

◆ expose()

template<typename Inertia >
static void pinocchio::python::InertiaPythonVisitor< Inertia >::expose ( )
inlinestatic

Definition at line 280 of file bindings/python/spatial/inertia.hpp.

◆ fromDynamicParameters_proxy()

template<typename Inertia >
static Inertia pinocchio::python::InertiaPythonVisitor< Inertia >::fromDynamicParameters_proxy ( const VectorXs params)
inlinestatic

Definition at line 253 of file bindings/python/spatial/inertia.hpp.

◆ getInertia()

template<typename Inertia >
static Matrix3 pinocchio::python::InertiaPythonVisitor< Inertia >::getInertia ( const Inertia self)
inlinestatic

Definition at line 232 of file bindings/python/spatial/inertia.hpp.

◆ getMass()

template<typename Inertia >
static Scalar pinocchio::python::InertiaPythonVisitor< Inertia >::getMass ( const Inertia self)
inlinestatic

Definition at line 218 of file bindings/python/spatial/inertia.hpp.

◆ makeFromMCI()

template<typename Inertia >
static Inertia* pinocchio::python::InertiaPythonVisitor< Inertia >::makeFromMCI ( const Scalar mass,
const Vector3 lever,
const Matrix3 inertia 
)
inlinestatic

Definition at line 266 of file bindings/python/spatial/inertia.hpp.

◆ setInertia()

template<typename Inertia >
static void pinocchio::python::InertiaPythonVisitor< Inertia >::setInertia ( Inertia self,
const Matrix3 symmetric_inertia 
)
inlinestatic

Definition at line 238 of file bindings/python/spatial/inertia.hpp.

◆ setLever()

template<typename Inertia >
static void pinocchio::python::InertiaPythonVisitor< Inertia >::setLever ( Inertia self,
const Vector3 lever 
)
inlinestatic

Definition at line 227 of file bindings/python/spatial/inertia.hpp.

◆ setMass()

template<typename Inertia >
static void pinocchio::python::InertiaPythonVisitor< Inertia >::setMass ( Inertia self,
Scalar  mass 
)
inlinestatic

Definition at line 222 of file bindings/python/spatial/inertia.hpp.

◆ toDynamicParameters_proxy()

template<typename Inertia >
static VectorXs pinocchio::python::InertiaPythonVisitor< Inertia >::toDynamicParameters_proxy ( const Inertia self)
inlinestatic

Definition at line 248 of file bindings/python/spatial/inertia.hpp.

◆ visit()

template<typename Inertia >
template<class PyClass >
void pinocchio::python::InertiaPythonVisitor< Inertia >::visit ( PyClass &  cl) const
inline

Definition at line 51 of file bindings/python/spatial/inertia.hpp.


The documentation for this struct was generated from the following file:


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:53