multicontact-api 4.1.0
API to define and store Contact phases and Contact Sequences
Loading...
Searching...
No Matches
multicontact_api::python::ContactPhasePythonVisitor< ContactPhase > Struct Template Reference

#include <multicontact-api/bindings/python/scenario/contact-phase.hpp>

Inheritance diagram for multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >:
Collaboration diagram for multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >:

Public Types

typedef ContactPhase::Scalar Scalar
typedef ContactPhase::ContactPatch ContactPatch
typedef ContactPhase::SE3 SE3
typedef ContactPhase::t_strings t_strings
typedef ContactPhase::curve_ptr curve_ptr
typedef ContactPhase::curve_SE3_ptr curve_SE3_ptr
typedef ContactPhase::point3_t point3_t
typedef ContactPhase::point6_t point6_t
typedef ContactPhase::pointX_t pointX_t
typedef ndcurves::t_pointX_t t_pointX_t
typedef ndcurves::t_time_t t_time_t
typedef ndcurves::pointX_list_t pointX_list_t
typedef ndcurves::time_waypoints_t time_waypoints_t

Public Member Functions

 BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS (isConsistent_overloads, ContactPhase::isConsistent, 0, 1) template< class PyClass > void visit(PyClass &cl) const

Static Public Member Functions

static void expose (const std::string &class_name)

Static Protected Member Functions

static Scalar getTimeInitial (ContactPhase &self)
static void setTimeInitial (ContactPhase &self, const Scalar &time)
static Scalar getTimeFinal (ContactPhase &self)
static void setTimeFinal (ContactPhase &self, const Scalar &time)
static Scalar getDuration (ContactPhase &self)
static void setDuration (ContactPhase &self, const Scalar &time)
static curve_ptr contactForcesFromKey (ContactPhase &self, const std::string &eeName)
static curve_ptr contactNormalForcesFromKey (ContactPhase &self, const std::string &eeName)
static curve_SE3_ptr effectorTrajectoriesFromKey (ContactPhase &self, const std::string &eeName)
static ContactPatchcontactPatchFromKey (ContactPhase &self, const std::string &eeName)
template<class T>
static bp::list toPythonList (std::vector< T > vector)
static bp::list effectorsInContactAsList (ContactPhase &self)
static bp::list effectorsWithTrajectoryAsList (ContactPhase &self)
static bp::list getContactsBrokenAsList (ContactPhase &self, const ContactPhase &to)
static bp::list getContactsCreatedAsList (ContactPhase &self, const ContactPhase &to)
static bp::list getContactsRepositionedAsList (ContactPhase &self, const ContactPhase &to)
static bp::list getContactsVariationsAsList (ContactPhase &self, const ContactPhase &to)
template<class T>
static bp::dict toPythonDict (std::map< std::string, T > map)
static bp::dict contactPatchesAsDict (ContactPhase &self)
static bp::dict contactForcesAsDict (ContactPhase &self)
static bp::dict contactNormalForcesAsDict (ContactPhase &self)
static bp::dict effectorTrajectoriesAsDict (ContactPhase &self)
static void setCOMtrajectoryFromPoints (ContactPhase &self, const pointX_list_t &points, const pointX_list_t &points_derivative, const pointX_list_t &points_second_derivative, const time_waypoints_t &time_points)
static void setJointsTrajectoryFromPoints (ContactPhase &self, const pointX_list_t &points, const pointX_list_t &points_derivative, const pointX_list_t &points_second_derivative, const time_waypoints_t &time_points)
static void setAMtrajectoryFromPoints (ContactPhase &self, const pointX_list_t &points, const pointX_list_t &points_derivative, const time_waypoints_t &time_points)
static ContactPhase copy (const ContactPhase &self)

Member Typedef Documentation

◆ ContactPatch

template<typename ContactPhase>
typedef ContactPhase::ContactPatch multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::ContactPatch

◆ curve_ptr

template<typename ContactPhase>
typedef ContactPhase::curve_ptr multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::curve_ptr

◆ curve_SE3_ptr

template<typename ContactPhase>
typedef ContactPhase::curve_SE3_ptr multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::curve_SE3_ptr

◆ point3_t

template<typename ContactPhase>
typedef ContactPhase::point3_t multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::point3_t

◆ point6_t

template<typename ContactPhase>
typedef ContactPhase::point6_t multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::point6_t

◆ pointX_list_t

template<typename ContactPhase>
typedef ndcurves::pointX_list_t multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::pointX_list_t

◆ pointX_t

template<typename ContactPhase>
typedef ContactPhase::pointX_t multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::pointX_t

◆ Scalar

template<typename ContactPhase>
typedef ContactPhase::Scalar multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::Scalar

◆ SE3

template<typename ContactPhase>
typedef ContactPhase::SE3 multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::SE3

◆ t_pointX_t

template<typename ContactPhase>
typedef ndcurves::t_pointX_t multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::t_pointX_t

◆ t_strings

template<typename ContactPhase>
typedef ContactPhase::t_strings multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::t_strings

◆ t_time_t

template<typename ContactPhase>
typedef ndcurves::t_time_t multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::t_time_t

◆ time_waypoints_t

template<typename ContactPhase>
typedef ndcurves::time_waypoints_t multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::time_waypoints_t

Member Function Documentation

◆ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS()

template<typename ContactPhase>
multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(isConsistent_overloads,
ContactPhase::isConsistent,
0,
1 ) const &
inline

◆ contactForcesAsDict()

template<typename ContactPhase>
bp::dict multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::contactForcesAsDict(ContactPhase &self)
inlinestaticprotected

◆ contactForcesFromKey()

template<typename ContactPhase>
curve_ptr multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::contactForcesFromKey(ContactPhase &self,
const std::string &eeName )
inlinestaticprotected

◆ contactNormalForcesAsDict()

template<typename ContactPhase>
bp::dict multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::contactNormalForcesAsDict(ContactPhase &self)
inlinestaticprotected

◆ contactNormalForcesFromKey()

template<typename ContactPhase>
curve_ptr multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::contactNormalForcesFromKey(ContactPhase &self,
const std::string &eeName )
inlinestaticprotected

◆ contactPatchesAsDict()

template<typename ContactPhase>
bp::dict multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::contactPatchesAsDict(ContactPhase &self)
inlinestaticprotected

◆ contactPatchFromKey()

template<typename ContactPhase>
ContactPatch & multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::contactPatchFromKey(ContactPhase &self,
const std::string &eeName )
inlinestaticprotected

◆ copy()

template<typename ContactPhase>
ContactPhase multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::copy(const ContactPhase &self)
inlinestaticprotected

◆ effectorsInContactAsList()

template<typename ContactPhase>
bp::list multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::effectorsInContactAsList(ContactPhase &self)
inlinestaticprotected

◆ effectorsWithTrajectoryAsList()

template<typename ContactPhase>
bp::list multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::effectorsWithTrajectoryAsList(ContactPhase &self)
inlinestaticprotected

◆ effectorTrajectoriesAsDict()

template<typename ContactPhase>
bp::dict multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::effectorTrajectoriesAsDict(ContactPhase &self)
inlinestaticprotected

◆ effectorTrajectoriesFromKey()

template<typename ContactPhase>
curve_SE3_ptr multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::effectorTrajectoriesFromKey(ContactPhase &self,
const std::string &eeName )
inlinestaticprotected

◆ expose()

template<typename ContactPhase>
void multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::expose(const std::string &class_name)
inlinestatic

◆ getContactsBrokenAsList()

template<typename ContactPhase>
bp::list multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::getContactsBrokenAsList(ContactPhase &self,
const ContactPhase &to )
inlinestaticprotected

◆ getContactsCreatedAsList()

template<typename ContactPhase>
bp::list multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::getContactsCreatedAsList(ContactPhase &self,
const ContactPhase &to )
inlinestaticprotected

◆ getContactsRepositionedAsList()

template<typename ContactPhase>
bp::list multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::getContactsRepositionedAsList(ContactPhase &self,
const ContactPhase &to )
inlinestaticprotected

◆ getContactsVariationsAsList()

template<typename ContactPhase>
bp::list multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::getContactsVariationsAsList(ContactPhase &self,
const ContactPhase &to )
inlinestaticprotected

◆ getDuration()

template<typename ContactPhase>
Scalar multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::getDuration(ContactPhase &self)
inlinestaticprotected

◆ getTimeFinal()

template<typename ContactPhase>
Scalar multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::getTimeFinal(ContactPhase &self)
inlinestaticprotected

◆ getTimeInitial()

template<typename ContactPhase>
Scalar multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::getTimeInitial(ContactPhase &self)
inlinestaticprotected

◆ setAMtrajectoryFromPoints()

template<typename ContactPhase>
void multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::setAMtrajectoryFromPoints(ContactPhase &self,
const pointX_list_t &points,
const pointX_list_t &points_derivative,
const time_waypoints_t &time_points )
inlinestaticprotected

◆ setCOMtrajectoryFromPoints()

template<typename ContactPhase>
void multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::setCOMtrajectoryFromPoints(ContactPhase &self,
const pointX_list_t &points,
const pointX_list_t &points_derivative,
const pointX_list_t &points_second_derivative,
const time_waypoints_t &time_points )
inlinestaticprotected

◆ setDuration()

template<typename ContactPhase>
void multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::setDuration(ContactPhase &self,
const Scalar &time )
inlinestaticprotected

◆ setJointsTrajectoryFromPoints()

template<typename ContactPhase>
void multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::setJointsTrajectoryFromPoints(ContactPhase &self,
const pointX_list_t &points,
const pointX_list_t &points_derivative,
const pointX_list_t &points_second_derivative,
const time_waypoints_t &time_points )
inlinestaticprotected

◆ setTimeFinal()

template<typename ContactPhase>
void multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::setTimeFinal(ContactPhase &self,
const Scalar &time )
inlinestaticprotected

◆ setTimeInitial()

template<typename ContactPhase>
void multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::setTimeInitial(ContactPhase &self,
const Scalar &time )
inlinestaticprotected

◆ toPythonDict()

template<typename ContactPhase>
template<class T>
bp::dict multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::toPythonDict(std::map< std::string, T >map)
inlinestaticprotected

◆ toPythonList()

template<typename ContactPhase>
template<class T>
bp::list multicontact_api::python::ContactPhasePythonVisitor< ContactPhase >::toPythonList(std::vector< T >vector)
inlinestaticprotected

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