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

#include <force.hpp>

Inheritance diagram for pinocchio::python::ForcePythonVisitor< Force >:
Inheritance graph
[legend]

Classes

struct  Pickle
 

Public Types

enum  { Options = traits<Force>::Options }
 
typedef Eigen::Map< Vector3MapVector3
 
typedef Eigen::Ref< Vector3RefVector3
 
typedef Force::Scalar Scalar
 
typedef Force::Vector3 Vector3
 
typedef Force::Vector6 Vector6
 

Public Member Functions

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

Static Public Member Functions

static void expose ()
 

Static Private Member Functions

static Force::ToVectorConstReturnType __array__ (const Force &self, bp::object, bp::object)
 
static RefVector3 getAngular (Force &self)
 
static RefVector3 getLinear (Force &self)
 
static void setAngular (Force &self, const Vector3 &n)
 
static void setLinear (Force &self, const Vector3 &f)
 
static void setRandom (Force &self)
 
static void setVector (Force &self, const Vector6 &f)
 
static void setZero (Force &self)
 

Detailed Description

template<typename Force>
struct pinocchio::python::ForcePythonVisitor< Force >

Definition at line 54 of file bindings/python/spatial/force.hpp.

Member Typedef Documentation

◆ MapVector3

template<typename Force >
typedef Eigen::Map<Vector3> pinocchio::python::ForcePythonVisitor< Force >::MapVector3

Definition at line 65 of file bindings/python/spatial/force.hpp.

◆ RefVector3

template<typename Force >
typedef Eigen::Ref<Vector3> pinocchio::python::ForcePythonVisitor< Force >::RefVector3

Definition at line 66 of file bindings/python/spatial/force.hpp.

◆ Scalar

template<typename Force >
typedef Force::Scalar pinocchio::python::ForcePythonVisitor< Force >::Scalar

Definition at line 63 of file bindings/python/spatial/force.hpp.

◆ Vector3

template<typename Force >
typedef Force::Vector3 pinocchio::python::ForcePythonVisitor< Force >::Vector3

Definition at line 62 of file bindings/python/spatial/force.hpp.

◆ Vector6

template<typename Force >
typedef Force::Vector6 pinocchio::python::ForcePythonVisitor< Force >::Vector6

Definition at line 61 of file bindings/python/spatial/force.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<typename Force >
anonymous enum
Enumerator
Options 

Definition at line 56 of file bindings/python/spatial/force.hpp.

Member Function Documentation

◆ __array__()

template<typename Force >
static Force::ToVectorConstReturnType pinocchio::python::ForcePythonVisitor< Force >::__array__ ( const Force self,
bp::object  ,
bp::object   
)
inlinestaticprivate

Definition at line 204 of file bindings/python/spatial/force.hpp.

◆ expose()

template<typename Force >
static void pinocchio::python::ForcePythonVisitor< Force >::expose ( )
inlinestatic

Definition at line 175 of file bindings/python/spatial/force.hpp.

◆ getAngular()

template<typename Force >
static RefVector3 pinocchio::python::ForcePythonVisitor< Force >::getAngular ( Force self)
inlinestaticprivate

Definition at line 230 of file bindings/python/spatial/force.hpp.

◆ getLinear()

template<typename Force >
static RefVector3 pinocchio::python::ForcePythonVisitor< Force >::getLinear ( Force self)
inlinestaticprivate

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

◆ setAngular()

template<typename Force >
static void pinocchio::python::ForcePythonVisitor< Force >::setAngular ( Force self,
const Vector3 n 
)
inlinestaticprivate

Definition at line 234 of file bindings/python/spatial/force.hpp.

◆ setLinear()

template<typename Force >
static void pinocchio::python::ForcePythonVisitor< Force >::setLinear ( Force self,
const Vector3 f 
)
inlinestaticprivate

Definition at line 226 of file bindings/python/spatial/force.hpp.

◆ setRandom()

template<typename Force >
static void pinocchio::python::ForcePythonVisitor< Force >::setRandom ( Force self)
inlinestaticprivate

Definition at line 243 of file bindings/python/spatial/force.hpp.

◆ setVector()

template<typename Force >
static void pinocchio::python::ForcePythonVisitor< Force >::setVector ( Force self,
const Vector6 f 
)
inlinestaticprivate

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

◆ setZero()

template<typename Force >
static void pinocchio::python::ForcePythonVisitor< Force >::setZero ( Force self)
inlinestaticprivate

Definition at line 239 of file bindings/python/spatial/force.hpp.

◆ visit()

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

Definition at line 69 of file bindings/python/spatial/force.hpp.


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


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