Base class describing a Wrench. More...
#include <Wrench.h>
Public Types | |
typedef Base::BaseType | BaseType |
typedef internal::traits < Derived >::Coefficients | Coefficients |
typedef Matrix< Scalar, 3, 1 > | Force |
typedef LieAlgebraDual< Matrix < Scalar, 3, 1 > > | Torque |
Public Member Functions | |
template<class RotationDerived > | |
Wrench< Scalar > | changeFrame (const LieGroupBase< Quaternion< Scalar >, RotationDerived > &) const |
template<class OtherDerived > | |
Wrench< Scalar > | changePoint (const MatrixBase< OtherDerived > &point) const |
Scalar | fx () const |
Scalar & | fx () |
Scalar | fy () const |
Scalar & | fy () |
Scalar | fz () const |
Scalar & | fz () |
Map< Force > | getForce () |
Map< const Force > | getForce () const |
Map< Torque > | getTorque () |
Map< const Torque > | getTorque () const |
Scalar | tx () const |
Scalar & | tx () |
Scalar | ty () const |
Scalar & | ty () |
Scalar | tz () const |
Scalar & | tz () |
Protected Types | |
typedef LieAlgebraDualBase < Matrix< typename internal::traits< Derived > ::Scalar, 6, 1 >, Derived > | Base |
Base class describing a Wrench.
Derived | the derived class holding the coefficients which are of type Matrix<Scalar, 6, 1> or Map<Matrix<Scalar, 6, 1> > |
This class abstracts the underlying mathematical definition and add some accessors. A wrench has two part, a torque and a force. It uses an Matrix internally to store its coefficients.
typedef LieAlgebraDualBase<Matrix<typename internal::traits<Derived>::Scalar, 6, 1>, Derived> WrenchBase< Derived >::Base [protected] |
The inherited class
Reimplemented from LieAlgebraDualBase< Matrix< internal::traits< Derived >::Scalar, 6, 1 >, Derived >.
Reimplemented in Map< Wrench< _Scalar >, MapOptions, StrideType >, and Wrench< _Scalar >.
typedef Base::BaseType WrenchBase< Derived >::BaseType |
The wrapped class
Reimplemented from LieAlgebraDualBase< Matrix< internal::traits< Derived >::Scalar, 6, 1 >, Derived >.
Reimplemented in Wrench< _Scalar >.
typedef internal::traits<Derived>::Coefficients WrenchBase< Derived >::Coefficients |
The kind of stored coefficients
Reimplemented from LieAlgebraDualBase< Matrix< internal::traits< Derived >::Scalar, 6, 1 >, Derived >.
Reimplemented in Map< Wrench< _Scalar >, MapOptions, StrideType >, and Wrench< _Scalar >.
typedef Matrix<Scalar, 3, 1> WrenchBase< Derived >::Force |
typedef LieAlgebraDual<Matrix<Scalar, 3, 1> > WrenchBase< Derived >::Torque |
Wrench< typename internal::traits< WrenchBase< Derived > >::Scalar > WrenchBase< Derived >::changeFrame | ( | const LieGroupBase< Quaternion< Scalar >, RotationDerived > & | rot | ) | const [inline] |
Wrench< typename internal::traits< WrenchBase< Derived > >::Scalar > WrenchBase< Derived >::changePoint | ( | const MatrixBase< OtherDerived > & | point | ) | const [inline] |
Scalar WrenchBase< Derived >::fx | ( | ) | const [inline] |
Scalar& WrenchBase< Derived >::fx | ( | ) | [inline] |
Scalar WrenchBase< Derived >::fy | ( | ) | const [inline] |
Scalar& WrenchBase< Derived >::fy | ( | ) | [inline] |
Scalar WrenchBase< Derived >::fz | ( | ) | const [inline] |
Scalar& WrenchBase< Derived >::fz | ( | ) | [inline] |
Map<Force> WrenchBase< Derived >::getForce | ( | ) | [inline] |
Map<const Force> WrenchBase< Derived >::getForce | ( | ) | const [inline] |
Map<Torque> WrenchBase< Derived >::getTorque | ( | ) | [inline] |
Map<const Torque> WrenchBase< Derived >::getTorque | ( | ) | const [inline] |
Scalar WrenchBase< Derived >::tx | ( | ) | const [inline] |
Scalar& WrenchBase< Derived >::tx | ( | ) | [inline] |
Scalar WrenchBase< Derived >::ty | ( | ) | const [inline] |
Scalar& WrenchBase< Derived >::ty | ( | ) | [inline] |
Scalar WrenchBase< Derived >::tz | ( | ) | const [inline] |
Scalar& WrenchBase< Derived >::tz | ( | ) | [inline] |