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

Motion vector. More...

#include <MotionVector.h>

Public Types

typedef Scalar ScalarType
 
typedef ::Eigen::Matrix< Scalar, 6, 1 > MatrixType
 
typedef const MatrixType ConstMatrixType
 
typedef ::Eigen::Block< MatrixType, 3, 1 > AngularType
 
typedef const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstAngularType
 
typedef ::Eigen::Block< MatrixType, 3, 1 > LinearType
 
typedef const ::Eigen::Block< ConstMatrixType, 3, 1 > ConstLinearType
 

Public Member Functions

 MotionVector ()
 
template<typename OtherDerived >
 MotionVector (const ::Eigen::MatrixBase< OtherDerived > &other)
 
virtual ~MotionVector ()
 
AngularType angular ()
 
ConstAngularType angular () const
 
template<typename OtherScalar >
ForceVector< OtherScalar > cross (const ForceVector< OtherScalar > &other) const
 
MotionVector cross (const MotionVector &other) const
 
template<typename OtherScalar >
Scalar dot (const ForceVector< OtherScalar > &other) const
 
LinearType linear ()
 
ConstLinearType linear () const
 
ConstMatrixTypematrix () const
 
template<typename OtherDerived >
MotionVectoroperator= (const ::Eigen::MatrixBase< OtherDerived > &other)
 
MotionVector operator+ (const MotionVector &other) const
 
MotionVector operator- (const MotionVector &other) const
 
template<typename OtherScalar >
MotionVector operator* (const OtherScalar &other) const
 
template<typename OtherScalar >
MotionVector operator/ (const OtherScalar &other) const
 
void setZero ()
 

Private Attributes

MatrixType data
 

Detailed Description

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

Motion vector.

Member Typedef Documentation

◆ AngularType

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

◆ ConstAngularType

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

◆ ConstLinearType

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

◆ ConstMatrixType

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

◆ LinearType

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

◆ MatrixType

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

◆ ScalarType

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

Constructor & Destructor Documentation

◆ MotionVector() [1/2]

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

◆ MotionVector() [2/2]

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

◆ ~MotionVector()

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

Member Function Documentation

◆ angular() [1/2]

template<typename Scalar >
AngularType rl::math::spatial::MotionVector< Scalar >::angular ( )
inline

◆ angular() [2/2]

template<typename Scalar >
ConstAngularType rl::math::spatial::MotionVector< Scalar >::angular ( ) const
inline

◆ cross() [1/2]

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

◆ cross() [2/2]

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

◆ dot()

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

◆ linear() [1/2]

template<typename Scalar >
LinearType rl::math::spatial::MotionVector< Scalar >::linear ( )
inline

◆ linear() [2/2]

template<typename Scalar >
ConstLinearType rl::math::spatial::MotionVector< Scalar >::linear ( ) const
inline

◆ matrix()

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

◆ operator*()

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

◆ operator+()

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

◆ operator-()

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

◆ operator/()

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

◆ operator=()

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

◆ setZero()

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

Member Data Documentation

◆ data

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

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