Robotics Library  0.7.0
Public Types | Public Member Functions | Private Attributes | List of all members
rl::math::spatial::ForceVector< Scalar > Class Template Reference

Force vector. More...

#include <ForceVector.h>

Public Types

typedef Scalar ScalarType
 
typedef ::Eigen::Matrix< Scalar, 6, 1 > MatrixType
 
typedef const MatrixType ConstMatrixType
 
typedef ::Eigen::Block< MatrixType, 3, 1 > MomentType
 
typedef const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstMomentType
 
typedef ::Eigen::Block< MatrixType, 3, 1 > ForceType
 
typedef const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstForceType
 

Public Member Functions

 ForceVector ()
 
template<typename OtherDerived >
 ForceVector (const ::Eigen::MatrixBase< OtherDerived > &other)
 
virtual ~ForceVector ()
 
template<typename OtherScalar >
Scalar dot (const MotionVector< OtherScalar > &other) const
 
ForceType force ()
 
ConstForceType force () const
 
ConstMatrixTypematrix () const
 
MomentType moment ()
 
ConstMomentType moment () const
 
template<typename OtherDerived >
ForceVectoroperator= (const ::Eigen::MatrixBase< OtherDerived > &other)
 
ForceVector operator+ (const ForceVector &other) const
 
ForceVector operator- (const ForceVector &other) const
 
template<typename OtherScalar >
ForceVector operator* (const OtherScalar &other) const
 
template<typename OtherScalar >
ForceVector operator/ (const OtherScalar &other) const
 
ArticulatedBodyInertia< Scalar > operator* (const ForceVector &other) const
 
void setZero ()
 

Private Attributes

MatrixType data
 

Detailed Description

template<typename Scalar>
class rl::math::spatial::ForceVector< Scalar >

Force vector.

Member Typedef Documentation

◆ ConstForceType

template<typename Scalar >
typedef const ::Eigen::Block<ConstMatrixType, 3, 1> rl::math::spatial::ForceVector< Scalar >::ConstForceType

◆ ConstMatrixType

template<typename Scalar >
typedef const MatrixType rl::math::spatial::ForceVector< Scalar >::ConstMatrixType

◆ ConstMomentType

template<typename Scalar >
typedef const ::Eigen::Block<ConstMatrixType, 3, 1> rl::math::spatial::ForceVector< Scalar >::ConstMomentType

◆ ForceType

template<typename Scalar >
typedef ::Eigen::Block<MatrixType, 3, 1> rl::math::spatial::ForceVector< Scalar >::ForceType

◆ MatrixType

template<typename Scalar >
typedef ::Eigen::Matrix<Scalar, 6, 1> rl::math::spatial::ForceVector< Scalar >::MatrixType

◆ MomentType

template<typename Scalar >
typedef ::Eigen::Block<MatrixType, 3, 1> rl::math::spatial::ForceVector< Scalar >::MomentType

◆ ScalarType

template<typename Scalar >
typedef Scalar rl::math::spatial::ForceVector< Scalar >::ScalarType

Constructor & Destructor Documentation

◆ ForceVector() [1/2]

template<typename Scalar >
rl::math::spatial::ForceVector< Scalar >::ForceVector ( )
inline

◆ ForceVector() [2/2]

template<typename Scalar >
template<typename OtherDerived >
rl::math::spatial::ForceVector< Scalar >::ForceVector ( const ::Eigen::MatrixBase< OtherDerived > &  other)
inline

◆ ~ForceVector()

template<typename Scalar >
virtual rl::math::spatial::ForceVector< Scalar >::~ForceVector ( )
inlinevirtual

Member Function Documentation

◆ dot()

template<typename Scalar >
template<typename OtherScalar >
Scalar rl::math::spatial::ForceVector< Scalar >::dot ( const MotionVector< OtherScalar > &  other) const
inline

◆ force() [1/2]

template<typename Scalar >
ForceType rl::math::spatial::ForceVector< Scalar >::force ( )
inline

◆ force() [2/2]

template<typename Scalar >
ConstForceType rl::math::spatial::ForceVector< Scalar >::force ( ) const
inline

◆ matrix()

template<typename Scalar >
ConstMatrixType& rl::math::spatial::ForceVector< Scalar >::matrix ( ) const
inline

◆ moment() [1/2]

template<typename Scalar >
MomentType rl::math::spatial::ForceVector< Scalar >::moment ( )
inline

◆ moment() [2/2]

template<typename Scalar >
ConstMomentType rl::math::spatial::ForceVector< Scalar >::moment ( ) const
inline

◆ operator*() [1/2]

template<typename Scalar >
ArticulatedBodyInertia<Scalar> rl::math::spatial::ForceVector< Scalar >::operator* ( const ForceVector< Scalar > &  other) const

◆ operator*() [2/2]

template<typename Scalar >
template<typename OtherScalar >
ForceVector rl::math::spatial::ForceVector< Scalar >::operator* ( const OtherScalar &  other) const
inline

◆ operator+()

template<typename Scalar >
ForceVector rl::math::spatial::ForceVector< Scalar >::operator+ ( const ForceVector< Scalar > &  other) const
inline

◆ operator-()

template<typename Scalar >
ForceVector rl::math::spatial::ForceVector< Scalar >::operator- ( const ForceVector< Scalar > &  other) const
inline

◆ operator/()

template<typename Scalar >
template<typename OtherScalar >
ForceVector rl::math::spatial::ForceVector< Scalar >::operator/ ( const OtherScalar &  other) const
inline

◆ operator=()

template<typename Scalar >
template<typename OtherDerived >
ForceVector& rl::math::spatial::ForceVector< Scalar >::operator= ( const ::Eigen::MatrixBase< OtherDerived > &  other)
inline

◆ setZero()

template<typename Scalar >
void rl::math::spatial::ForceVector< Scalar >::setZero ( )
inline

Member Data Documentation

◆ data

template<typename Scalar >
MatrixType rl::math::spatial::ForceVector< Scalar >::data
private

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