#include <SpaceVecAlg/fwd.h>
Public Types | |
typedef Eigen::Vector3< T > | vector3_t |
typedef Eigen::Vector6< T > | vector6_t |
Public Member Functions | |
MotionVec () | |
MotionVec (const vector6_t &vec) | |
MotionVec (const vector3_t &angular, const vector3_t &linear) | |
const vector3_t & | angular () const |
vector3_t & | angular () |
const vector3_t & | linear () const |
vector3_t & | linear () |
vector6_t | vector () const |
template<typename T2 > | |
MotionVec< T2 > | cast () const |
MotionVec< T > | operator+ (const MotionVec< T > &mv) const |
MotionVec< T > | operator- (const MotionVec< T > &mv) const |
MotionVec< T > | operator- () const |
MotionVec< T > & | operator+= (const MotionVec< T > &mv) |
MotionVec< T > & | operator-= (const MotionVec< T > &mv) |
template<typename T2 , typename std::enable_if< std::is_arithmetic< T2 >::value, int >::type = 0> | |
MotionVec< T > | operator* (T2 scalar) const |
template<typename T2 , typename std::enable_if< std::is_arithmetic< T2 >::value, int >::type = 0> | |
MotionVec< T > & | operator*= (T2 scalar) |
template<typename T2 > | |
MotionVec< T > & | operator/= (T2 scalar) |
template<typename T2 > | |
MotionVec< T > | operator/ (T2 scalar) const |
MotionVec< T > | cross (const MotionVec< T > &mv2) const |
template<typename Derived > | |
void | cross (const Eigen::MatrixBase< Derived > &mv2, Eigen::MatrixBase< Derived > &result) const |
ForceVec< T > | crossDual (const ForceVec< T > &fv2) const |
template<typename Derived > | |
void | crossDual (const Eigen::MatrixBase< Derived > &fv2, Eigen::MatrixBase< Derived > &result) const |
T | dot (const ForceVec< T > &fv2) const |
bool | operator== (const MotionVec< T > &mv) const |
bool | operator!= (const MotionVec< T > &mv) const |
Static Public Member Functions | |
static MotionVec< T > | Zero () |
Zero motion vector. More... | |
Friends | |
class | PTransform< T > |
Spatial Motion Vector compact representations. See Roy Featherstone «Rigid Body Dynamics Algorithms» page 247.
typedef Eigen::Vector3<T> sva::MotionVec< T >::vector3_t |
typedef Eigen::Vector6<T> sva::MotionVec< T >::vector6_t |
|
inline |
|
inline |
vec | Spatial motion vector with angular motion in head and linear motion in tail. |
|
inline |
angular | Angular motion. |
linear | Linear motion. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
Zero motion vector.
|
friend |