pinocchio  3.7.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
 
Loading...
Searching...
No Matches
JointBinaryVisitorBase< JointVisitorDerived, ReturnType > Struct Template Reference

Base structure for Binary visitation of two JointModels. This structure provides runners to call the right visitor according to the number of arguments. This should be used when deriving new rigid body algorithms. More...

#include <pinocchio/multibody/visitor/joint-binary-visitor.hpp>

Static Public Member Functions

template<typename JointModelDerived1 , typename JointModelDerived2 >
static ReturnType run (const JointModelBase< JointModelDerived1 > &jmodel1, const JointModelBase< JointModelDerived2 > &jmodel2)
 
template<typename JointModelDerived1 , typename JointModelDerived2 , typename ArgsTmp >
static ReturnType run (const JointModelBase< JointModelDerived1 > &jmodel1, const JointModelBase< JointModelDerived2 > &jmodel2, ArgsTmp args)
 
template<typename JointModelDerived1 , typename JointModelDerived2 >
static ReturnType run (const JointModelBase< JointModelDerived1 > &jmodel1, const JointModelBase< JointModelDerived2 > &jmodel2, typename JointModelBase< JointModelDerived1 >::JointDataDerived &jdata1, typename JointModelBase< JointModelDerived2 >::JointDataDerived &jdata2)
 
template<typename JointModelDerived1 , typename JointModelDerived2 , typename ArgsTmp >
static ReturnType run (const JointModelBase< JointModelDerived1 > &jmodel1, const JointModelBase< JointModelDerived2 > &jmodel2, typename JointModelBase< JointModelDerived1 >::JointDataDerived &jdata1, typename JointModelBase< JointModelDerived2 >::JointDataDerived &jdata2, ArgsTmp args)
 
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl>
static ReturnType run (const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel1, const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel2)
 
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl, typename ArgsTmp >
static ReturnType run (const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel1, const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel2, ArgsTmp args)
 
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl>
static ReturnType run (const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel1, const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel2, JointDataTpl< Scalar, Options, JointCollectionTpl > &jdata1, JointDataTpl< Scalar, Options, JointCollectionTpl > &jdata2)
 
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl, typename ArgsTmp >
static ReturnType run (const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel1, const JointModelTpl< Scalar, Options, JointCollectionTpl > &jmodel2, JointDataTpl< Scalar, Options, JointCollectionTpl > &jdata1, JointDataTpl< Scalar, Options, JointCollectionTpl > &jdata2, ArgsTmp args)
 

Detailed Description

template<typename JointVisitorDerived, typename ReturnType = void>
struct pinocchio::fusion::JointBinaryVisitorBase< JointVisitorDerived, ReturnType >

Base structure for Binary visitation of two JointModels. This structure provides runners to call the right visitor according to the number of arguments. This should be used when deriving new rigid body algorithms.

Definition at line 27 of file joint-binary-visitor.hpp.

Member Function Documentation

◆ run() [1/8]

template<typename JointVisitorDerived , typename ReturnType = void>
static ReturnType run ( const JointModelBase< JointModelDerived1 > &  jmodel1,
const JointModelBase< JointModelDerived2 > &  jmodel2 
)
inlinestatic

Definition at line 109 of file joint-binary-visitor.hpp.

◆ run() [2/8]

template<typename JointVisitorDerived , typename ReturnType = void>
static ReturnType run ( const JointModelBase< JointModelDerived1 > &  jmodel1,
const JointModelBase< JointModelDerived2 > &  jmodel2,
ArgsTmp  args 
)
inlinestatic

Definition at line 85 of file joint-binary-visitor.hpp.

◆ run() [3/8]

template<typename JointVisitorDerived , typename ReturnType = void>
static ReturnType run ( const JointModelBase< JointModelDerived1 > &  jmodel1,
const JointModelBase< JointModelDerived2 > &  jmodel2,
typename JointModelBase< JointModelDerived1 >::JointDataDerived &  jdata1,
typename JointModelBase< JointModelDerived2 >::JointDataDerived &  jdata2 
)
inlinestatic

Definition at line 61 of file joint-binary-visitor.hpp.

◆ run() [4/8]

template<typename JointVisitorDerived , typename ReturnType = void>
static ReturnType run ( const JointModelBase< JointModelDerived1 > &  jmodel1,
const JointModelBase< JointModelDerived2 > &  jmodel2,
typename JointModelBase< JointModelDerived1 >::JointDataDerived &  jdata1,
typename JointModelBase< JointModelDerived2 >::JointDataDerived &  jdata2,
ArgsTmp  args 
)
inlinestatic

Definition at line 31 of file joint-binary-visitor.hpp.

◆ run() [5/8]

template<typename JointVisitorDerived , typename ReturnType = void>
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl>
static ReturnType run ( const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel1,
const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel2 
)
inlinestatic

Definition at line 118 of file joint-binary-visitor.hpp.

◆ run() [6/8]

template<typename JointVisitorDerived , typename ReturnType = void>
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl, typename ArgsTmp >
static ReturnType run ( const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel1,
const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel2,
ArgsTmp  args 
)
inlinestatic

Definition at line 99 of file joint-binary-visitor.hpp.

◆ run() [7/8]

template<typename JointVisitorDerived , typename ReturnType = void>
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl>
static ReturnType run ( const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel1,
const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel2,
JointDataTpl< Scalar, Options, JointCollectionTpl > &  jdata1,
JointDataTpl< Scalar, Options, JointCollectionTpl > &  jdata2 
)
inlinestatic

Definition at line 73 of file joint-binary-visitor.hpp.

◆ run() [8/8]

template<typename JointVisitorDerived , typename ReturnType = void>
template<typename Scalar , int Options, template< typename, int > class JointCollectionTpl, typename ArgsTmp >
static ReturnType run ( const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel1,
const JointModelTpl< Scalar, Options, JointCollectionTpl > &  jmodel2,
JointDataTpl< Scalar, Options, JointCollectionTpl > &  jdata1,
JointDataTpl< Scalar, Options, JointCollectionTpl > &  jdata2,
ArgsTmp  args 
)
inlinestatic

Definition at line 48 of file joint-binary-visitor.hpp.


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