14 typedef typename Vector6ArgType::Scalar Scalar;
20 Options = Vector6::Options
22 typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
23 typedef Eigen::Matrix<Scalar, 4, 4, Options> Matrix4;
24 typedef Eigen::Matrix<Scalar, 6, 6, Options> Matrix6;
25 typedef Matrix6 ActionMatrixType;
26 typedef Matrix4 HomogeneousMatrixType;
32 typedef typename PINOCCHIO_EIGEN_REF_TYPE(
Vector6ArgType) DataRefType;
33 typedef DataRefType ToVectorReturnType;
61 using Base::operator=;
62 using Base::operator==;
63 using Base::operator!=;
80 ToVectorConstReturnType toVector_impl()
const
84 ToVectorReturnType toVector_impl()
90 ConstAngularType angular_impl()
const
92 return ConstAngularType(m_ref.derived(), ANGULAR);
94 ConstLinearType linear_impl()
const
96 return ConstLinearType(m_ref.derived(), LINEAR);
98 AngularType angular_impl()
100 return m_ref.template segment<3>(ANGULAR);
102 LinearType linear_impl()
104 return m_ref.template segment<3>(LINEAR);
107 template<
typename V3>
108 void angular_impl(
const Eigen::MatrixBase<V3> & w)
110 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(V3, 3);
114 template<
typename V3>
115 void linear_impl(
const Eigen::MatrixBase<V3> & v)
117 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(V3, 3);
134 typedef typename Vector6ArgType::Scalar Scalar;
140 Options = Vector6::Options
142 typedef Eigen::Matrix<Scalar, 3, 1, Options> Vector3;
143 typedef Eigen::Matrix<Scalar, 6, 6, Options> Matrix6;
144 typedef Matrix6 ActionMatrixType;
147 typedef ConstLinearType LinearType;
148 typedef ConstAngularType AngularType;
176 ToVectorConstReturnType toVector_impl()
const
182 ConstAngularType angular_impl()
const
184 return ConstAngularType(m_ref.derived(), ANGULAR);
186 ConstLinearType linear_impl()
const
188 return ConstLinearType(m_ref.derived(), LINEAR);