pinocchio  2.7.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
ForceRef< const Vector6ArgType > Class Template Reference
Inheritance diagram for ForceRef< const Vector6ArgType >:
Collaboration diagram for ForceRef< const Vector6ArgType >:

Public Types

typedef ForceDense< ForceRefBase
 
typedef traits< ForceRef >::DataRefType DataRefType
 
- Public Types inherited from ForceDense< ForceRef< const Vector6ArgType > >
typedef ForceBase< ForceRef< const Vector6ArgType > > Base
 
typedef traits< ForceRef< const Vector6ArgType > >::ForceRefType ForceRefType
 

Public Member Functions

 ForceRef (typename const Vector6ArgType &f_like)
 
ConstAngularType angular_impl () const
 
 FORCE_TYPEDEF_TPL (ForceRef)
 
ConstLinearType linear_impl () const
 
const ForceRefref () const
 
ToVectorConstReturnType toVector_impl () const
 
- Public Member Functions inherited from ForceDense< ForceRef< const Vector6ArgType > >
ForcePlain __div__ (const OtherScalar &alpha) const
 
ForceRef< const Vector6ArgType > & __mequ__ (const ForceDense< M1 > &v)
 
ForcePlain __minus__ (const ForceDense< M1 > &v) const
 
ForcePlain __mult__ (const OtherScalar &alpha) const
 
ForcePlain __opposite__ () const
 
ForceRef< const Vector6ArgType > & __pequ__ (const ForceDense< M1 > &v)
 
ForcePlain __plus__ (const ForceDense< M1 > &v) const
 
AngularType angular ()
 
ConstAngularType angular () const
 Return the angular part of the force vector. More...
 
void angular (const Eigen::MatrixBase< V3Like > &n)
 Set the angular part of the force vector. More...
 
ForceRef< const Vector6ArgType > & derived ()
 
const ForceRef< const Vector6ArgType > & derived () const
 
void disp_impl (std::ostream &os) const
 
Scalar dot (const MotionDense< F1 > &phi) const
 
 FORCE_TYPEDEF_TPL (ForceRef< const Vector6ArgType >)
 
bool isApprox (const ForceDense< M2 > &f, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isApprox (const ForceRef< const Vector6ArgType > &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isApprox_impl (const ForceDense< D2 > &f, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isEqual_impl (const ForceBase< D2 > &other) const
 
bool isEqual_impl (const ForceDense< D2 > &other) const
 
bool isZero (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isZero_impl (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
LinearType linear ()
 
ConstLinearType linear () const
 Return the linear part of the force vector. More...
 
void linear (const Eigen::MatrixBase< V3Like > &f)
 Set the linear part of the force vector. More...
 
ForcePlain motionAction (const MotionDense< M1 > &v) const
 
void motionAction (const MotionDense< M1 > &v, ForceDense< M2 > &fout) const
 
ForcePlain operator+ (const ForceDense< F1 > &f) const
 
ForceRef< const Vector6ArgType > & operator+= (const ForceBase< F1 > &f)
 
ForceRef< const Vector6ArgType > & operator+= (const ForceDense< F1 > &f)
 
ForcePlain operator- () const
 
ForcePlain operator- (const ForceDense< F1 > &f) const
 
ForceRef< const Vector6ArgType > & operator-= (const ForceDense< M1 > &v)
 
ForceRef< const Vector6ArgType > & operator= (const Eigen::MatrixBase< V6 > &v)
 
ForceRef< const Vector6ArgType > & operator= (const ForceBase< ForceRef< const Vector6ArgType > > &other)
 Copies the Derived Force into *this. More...
 
ForceRef< const Vector6ArgType > & operator= (const ForceDense< D2 > &other)
 
ForceRefType ref ()
 
ForcePlain se3Action_impl (const SE3Tpl< S2, O2 > &m) const
 
void se3Action_impl (const SE3Tpl< S2, O2 > &m, ForceDense< D2 > &f) const
 
ForcePlain se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m) const
 
void se3ActionInverse_impl (const SE3Tpl< S2, O2 > &m, ForceDense< D2 > &f) const
 
ForceRef< const Vector6ArgType > & setFrom (const ForceDense< D2 > &other)
 
ForceRef< const Vector6ArgType > & setRandom ()
 
ForceRef< const Vector6ArgType > & setZero ()
 
- Public Member Functions inherited from ForceBase< ForceRef< const Vector6ArgType > >
AngularType angular ()
 
ConstAngularType angular () const
 Return the angular part of the force vector. More...
 
void angular (const Eigen::MatrixBase< V3Like > &n)
 Set the angular part of the force vector. More...
 
ForceRef< const Vector6ArgType > & derived ()
 
const ForceRef< const Vector6ArgType > & derived () const
 
void disp (std::ostream &os) const
 
Scalar dot (const MotionDense< MotionDerived > &m) const
 
 FORCE_TYPEDEF_TPL (ForceRef< const Vector6ArgType >)
 
bool isApprox (const ForceRef< const Vector6ArgType > &other, const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
bool isZero (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const
 
LinearType linear ()
 
ConstLinearType linear () const
 Return the linear part of the force vector. More...
 
void linear (const Eigen::MatrixBase< V3Like > &f)
 Set the linear part of the force vector. More...
 
MotionAlgebraAction< ForceRef< const Vector6ArgType >, M1 >::ReturnType motionAction (const MotionDense< M1 > &v) const
 
 operator Vector6 () const
 
bool operator!= (const ForceBase< F2 > &other) const
 
ForcePlain operator* (const OtherScalar &alpha) const
 
ForceRef< const Vector6ArgType > operator+ (const ForceBase< ForceRef< const Vector6ArgType > > &phi) const
 
ForceRef< const Vector6ArgType > & operator+= (const ForceBase< ForceRef< const Vector6ArgType > > &phi)
 Replaces *this by *this + other. More...
 
ForceRef< const Vector6ArgType > operator- () const
 
ForceRef< const Vector6ArgType > operator- (const ForceBase< ForceRef< const Vector6ArgType > > &phi) const
 
ForceRef< const Vector6ArgType > & operator-= (const ForceBase< ForceRef< const Vector6ArgType > > &phi)
 Replaces *this by *this - other. More...
 
ForcePlain operator/ (const OtherScalar &alpha) const
 
ForceRef< const Vector6ArgType > & operator= (const ForceBase< ForceRef< const Vector6ArgType > > &other)
 Copies the Derived Force into *this. More...
 
bool operator== (const ForceBase< F2 > &other) const
 
SE3GroupAction< ForceRef< const Vector6ArgType > >::ReturnType se3Action (const SE3Tpl< S2, O2 > &m) const
 Transform from A to B coordinates the Force represented by *this such that. More...
 
SE3GroupAction< ForceRef< const Vector6ArgType > >::ReturnType se3ActionInverse (const SE3Tpl< S2, O2 > &m) const
 Transform from B to A coordinates the Force represented by *this such that. More...
 
ToVectorReturnType toVector ()
 
ToVectorConstReturnType toVector () const
 Return the force as an Eigen vector. More...
 

Protected Attributes

DataRefType m_ref
 

Detailed Description

template<typename Vector6ArgType>
class pinocchio::ForceRef< const Vector6ArgType >

Definition at line 136 of file force-ref.hpp.


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