Go to the documentation of this file.
   38 #ifndef COAL_TRANSFORM_H 
   39 #define COAL_TRANSFORM_H 
   46 COAL_DEPRECATED 
typedef Eigen::Quaternion<CoalScalar> 
Quaternion3f;
 
   47 typedef Eigen::Quaternion<CoalScalar> 
Quatf;
 
   50   o << 
"(" << 
q.w() << 
" " << 
q.x() << 
" " << 
q.y() << 
" " << 
q.z() << 
")";
 
   71   template <
typename Matrixx3Like, 
typename Vector3Like>
 
   73               const Eigen::MatrixBase<Vector3Like>& T_)
 
   77   template <
typename Vector3Like>
 
   79       : 
R(q_.toRotationMatrix()), T(T_) {}
 
  122   template <
typename Matrix3Like, 
typename Vector3Like>
 
  124                            const Eigen::MatrixBase<Vector3Like>& T_) {
 
  131     R = q_.toRotationMatrix();
 
  136   template <
typename Derived>
 
  142   template <
typename Derived>
 
  151   template <
typename Derived>
 
  157   template <
typename Derived>
 
  159     return R.transpose() * (
v - T);
 
  164     R.transposeInPlace();
 
  176     return Transform3s(
R.transpose() * other.
R, 
R.transpose() * (other.
T - T));
 
  194           Eigen::NumTraits<CoalScalar>::dummy_precision())
 const {
 
  195     return R.isIdentity(prec) && T.isZero(prec);
 
  212   inline void setRandom();
 
  220   EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 
  223 template <
typename Derived>
 
  226   return Quatf(Eigen::AngleAxis<CoalScalar>(angle, 
axis));
 
  264   basis.col(2) = 
vec.normalized();
 
  265   basis.col(1) = -
vec.unitOrthogonal();
 
  266   basis.col(0) = basis.col(1).cross(
vec);
 
  
Eigen::Matrix< CoalScalar, 3, 1 > Vec3s
Eigen::Quaternion< CoalScalar > Quatf
Quatf uniformRandomQuaternion()
Uniformly random quaternion sphere. Code taken from Pinocchio (https://github.com/stack-of-tasks/pino...
static std::ostream & operator<<(std::ostream &o, const Quatf &q)
COAL_DEPRECATED typedef Eigen::Quaternion< CoalScalar > Quaternion3f
Eigen::Matrix< CoalScalar, 3, 3 > Matrix3s
Matrix3s constructOrthonormalBasisFromVector(const Vec3s &vec)
Construct othonormal basis from vector. The z-axis is the normalized input vector.
Quatf fromAxisAngle(const Eigen::MatrixBase< Derived > &axis, CoalScalar angle)
hpp-fcl
Author(s): 
autogenerated on Fri Feb 14 2025 03:45:51