Go to the documentation of this file.
16 #ifndef __FEULERPARA_H_
17 #define __FEULERPARA_H_
80 void set(
double s1,
double s2,
double s3,
double s4) {
81 m_vec.set(
s1,
s2, s3);
fVec4 operator=(const fVec4 &vec)
friend double & Ang(fEulerPara &ep)
Access the scalar part (cos(theta/2))
fEulerPara mat2ep(const fMat33 &_mat)
void set(const fVec3 &v, double s)
const fVec3 & Axis() const
Access the vector part (a*sin(theta/2))
fEulerPara angvel2epdot(const fEulerPara &_epara, const fVec3 &vel)
void identity()
Set identity (no rotation).
friend fVec4 operator-(const fVec4 &)
void set(double s1, double s2, double s3, double s4)
Set the elements; scalar part is s4.
friend double operator*(const fVec4 &, const fVec4 &)
fVec3 epddot2angacc(const fEulerPara &_e, const fEulerPara &_de, const fEulerPara &_dde)
friend fVec3 & Axis(fEulerPara &ep)
Access the vector part (a*sin(theta/2))
fEulerPara(double s1, double s2, double s3, double s4)
Constructor specifying the four elements; scalar part is s4.
fMat33 ep2mat(const fEulerPara &_epara)
fVec3 epdot2angvel(const fEulerPara &_epara, const fEulerPara &_edot)
fEulerPara(const fVec3 &v, double s)
Constructor specifying vector and scalar parts.
void set(const fVec3 &v, double s)
Set the elements.
double Ang() const
Access the scalar part (cos(theta/2))
fVec3 & Axis()
Access the vector part (a*sin(theta/2))
double & Ang()
Access the scalar part (cos(theta/2))
fEulerPara()
Default constructor.
openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Wed Sep 7 2022 02:51:02