Go to the source code of this file.
Functions | |
IMETHOD Vector | addDelta (const Vector &a, const Vector &da, double dt) |
IMETHOD Rotation | addDelta (const Rotation &a, const Vector &da, double dt) |
IMETHOD Frame | addDelta (const Frame &a, const Twist &da, double dt) |
IMETHOD Twist | addDelta (const Twist &a, const Twist &da, double dt) |
IMETHOD Wrench | addDelta (const Wrench &a, const Wrench &da, double dt) |
IMETHOD Vector | diff (const Vector &a, const Vector &b, double dt) |
IMETHOD Vector | diff (const Rotation &R_a_b1, const Rotation &R_a_b2, double dt) |
IMETHOD Twist | diff (const Frame &F_a_b1, const Frame &F_a_b2, double dt) |
IMETHOD Twist | diff (const Twist &a, const Twist &b, double dt) |
IMETHOD Wrench | diff (const Wrench &a, const Wrench &b, double dt) |
IMETHOD double | dot (const Vector &lhs, const Vector &rhs) |
IMETHOD double | dot (const Twist &lhs, const Wrench &rhs) |
IMETHOD double | dot (const Wrench &rhs, const Twist &lhs) |
IMETHOD bool | Equal (const Vector &a, const Vector &b, double eps) |
IMETHOD bool | Equal (const Frame &a, const Frame &b, double eps) |
IMETHOD bool | Equal (const Wrench &a, const Wrench &b, double eps) |
IMETHOD bool | Equal (const Twist &a, const Twist &b, double eps) |
IMETHOD bool | Equal (const Vector2 &a, const Vector2 &b, double eps) |
IMETHOD bool | Equal (const Rotation2 &a, const Rotation2 &b, double eps) |
IMETHOD bool | Equal (const Frame2 &a, const Frame2 &b, double eps) |
IMETHOD bool | operator!= (const Frame &a, const Frame &b) |
IMETHOD bool | operator!= (const Vector &a, const Vector &b) |
IMETHOD bool | operator!= (const Twist &a, const Twist &b) |
IMETHOD bool | operator!= (const Wrench &a, const Wrench &b) |
IMETHOD bool | operator!= (const Rotation &a, const Rotation &b) |
IMETHOD bool | operator!= (const Vector2 &a, const Vector2 &b) |
Vector | operator* (const Vector &lhs, double rhs) |
Vector | operator* (double lhs, const Vector &rhs) |
Vector | operator* (const Vector &lhs, const Vector &rhs) |
Wrench | operator* (const Wrench &lhs, double rhs) |
Wrench | operator* (double lhs, const Wrench &rhs) |
Twist | operator* (const Twist &lhs, double rhs) |
Twist | operator* (double lhs, const Twist &rhs) |
Twist | operator* (const Twist &lhs, const Twist &rhs) |
Wrench | operator* (const Twist &lhs, const Wrench &rhs) |
Frame | operator* (const Frame &lhs, const Frame &rhs) |
IMETHOD Vector2 | operator* (const Vector2 &lhs, double rhs) |
IMETHOD Vector2 | operator* (double lhs, const Vector2 &rhs) |
IMETHOD Rotation2 | operator* (const Rotation2 &lhs, const Rotation2 &rhs) |
IMETHOD Frame2 | operator* (const Frame2 &lhs, const Frame2 &rhs) |
IMETHOD Vector | operator+ (const Vector &lhs, const Vector &rhs) |
Wrench | operator+ (const Wrench &lhs, const Wrench &rhs) |
Twist | operator+ (const Twist &lhs, const Twist &rhs) |
IMETHOD Vector2 | operator+ (const Vector2 &lhs, const Vector2 &rhs) |
IMETHOD Vector | operator- (const Vector &lhs, const Vector &rhs) |
Wrench | operator- (const Wrench &lhs, const Wrench &rhs) |
Wrench | operator- (const Wrench &arg) |
Twist | operator- (const Twist &lhs, const Twist &rhs) |
Twist | operator- (const Twist &arg) |
Vector | operator- (const Vector &arg) |
IMETHOD Vector2 | operator- (const Vector2 &lhs, const Vector2 &rhs) |
IMETHOD Vector2 | operator- (const Vector2 &arg) |
Vector | operator/ (const Vector &lhs, double rhs) |
Wrench | operator/ (const Wrench &lhs, double rhs) |
Twist | operator/ (const Twist &lhs, double rhs) |
IMETHOD Vector2 | operator/ (const Vector2 &lhs, double rhs) |
IMETHOD bool | operator== (const Frame &a, const Frame &b) |
IMETHOD bool | operator== (const Vector &a, const Vector &b) |
IMETHOD bool | operator== (const Twist &a, const Twist &b) |
IMETHOD bool | operator== (const Wrench &a, const Wrench &b) |
IMETHOD bool | operator== (const Vector2 &a, const Vector2 &b) |
IMETHOD void | posrandom (Vector &a) |
IMETHOD void | posrandom (Twist &a) |
IMETHOD void | posrandom (Wrench &a) |
IMETHOD void | posrandom (Rotation &R) |
IMETHOD void | posrandom (Frame &F) |
IMETHOD void | random (Vector &a) |
addDelta operator for displacement rotational velocity. More... | |
IMETHOD void | random (Twist &a) |
IMETHOD void | random (Wrench &a) |
IMETHOD void | random (Rotation &R) |
IMETHOD void | random (Frame &F) |
IMETHOD Rotation | Rot (const Vector &axis_a_b) |
IMETHOD void | SetToZero (Vector &v) |
IMETHOD void | SetToZero (Twist &v) |
IMETHOD void | SetToZero (Wrench &v) |
IMETHOD void | SetToZero (Vector2 &v) |
Inlined member functions and global functions that relate to the classes in frames.cpp
Definition in file frames.inl.
IMETHOD Vector addDelta | ( | const Vector & | a, |
const Vector & | da, | ||
double | dt | ||
) |
Definition at line 1156 of file frames.inl.
IMETHOD Rotation addDelta | ( | const Rotation & | a, |
const Vector & | da, | ||
double | dt | ||
) |
Definition at line 1160 of file frames.inl.
IMETHOD Frame addDelta | ( | const Frame & | a, |
const Twist & | da, | ||
double | dt | ||
) |
Definition at line 1163 of file frames.inl.
IMETHOD Twist addDelta | ( | const Twist & | a, |
const Twist & | da, | ||
double | dt | ||
) |
Definition at line 1169 of file frames.inl.
IMETHOD Wrench addDelta | ( | const Wrench & | a, |
const Wrench & | da, | ||
double | dt | ||
) |
Definition at line 1172 of file frames.inl.
IMETHOD Vector diff | ( | const Vector & | a, |
const Vector & | b, | ||
double | dt | ||
) |
Definition at line 1129 of file frames.inl.
IMETHOD Vector diff | ( | const Rotation & | R_a_b1, |
const Rotation & | R_a_b2, | ||
double | dt | ||
) |
Definition at line 1133 of file frames.inl.
IMETHOD Twist diff | ( | const Frame & | F_a_b1, |
const Frame & | F_a_b2, | ||
double | dt | ||
) |
Definition at line 1138 of file frames.inl.
IMETHOD Twist diff | ( | const Twist & | a, |
const Twist & | b, | ||
double | dt | ||
) |
Definition at line 1144 of file frames.inl.
IMETHOD Wrench diff | ( | const Wrench & | a, |
const Wrench & | b, | ||
double | dt | ||
) |
Definition at line 1148 of file frames.inl.
IMETHOD double dot | ( | const Vector & | lhs, |
const Vector & | rhs | ||
) |
Definition at line 1012 of file frames.inl.
IMETHOD double dot | ( | const Twist & | lhs, |
const Wrench & | rhs | ||
) |
Definition at line 1016 of file frames.inl.
IMETHOD double dot | ( | const Wrench & | rhs, |
const Twist & | lhs | ||
) |
Definition at line 1020 of file frames.inl.
IMETHOD bool Equal | ( | const Vector & | a, |
const Vector & | b, | ||
double | eps | ||
) |
Definition at line 1032 of file frames.inl.
IMETHOD bool Equal | ( | const Frame & | a, |
const Frame & | b, | ||
double | eps | ||
) |
Definition at line 1039 of file frames.inl.
IMETHOD bool Equal | ( | const Wrench & | a, |
const Wrench & | b, | ||
double | eps | ||
) |
Definition at line 1044 of file frames.inl.
IMETHOD bool Equal | ( | const Twist & | a, |
const Twist & | b, | ||
double | eps | ||
) |
Definition at line 1049 of file frames.inl.
IMETHOD bool Equal | ( | const Vector2 & | a, |
const Vector2 & | b, | ||
double | eps | ||
) |
Definition at line 1054 of file frames.inl.
IMETHOD bool Equal | ( | const Rotation2 & | a, |
const Rotation2 & | b, | ||
double | eps | ||
) |
Definition at line 1059 of file frames.inl.
IMETHOD bool Equal | ( | const Frame2 & | a, |
const Frame2 & | b, | ||
double | eps | ||
) |
Definition at line 1063 of file frames.inl.
IMETHOD bool operator!= | ( | const Frame & | a, |
const Frame & | b | ||
) |
Definition at line 1284 of file frames.inl.
IMETHOD bool operator!= | ( | const Vector & | a, |
const Vector & | b | ||
) |
Definition at line 1298 of file frames.inl.
IMETHOD bool operator!= | ( | const Twist & | a, |
const Twist & | b | ||
) |
Definition at line 1311 of file frames.inl.
IMETHOD bool operator!= | ( | const Wrench & | a, |
const Wrench & | b | ||
) |
Definition at line 1324 of file frames.inl.
IMETHOD bool operator!= | ( | const Rotation & | a, |
const Rotation & | b | ||
) |
Definition at line 1327 of file frames.inl.
IMETHOD bool operator!= | ( | const Vector2 & | a, |
const Vector2 & | b | ||
) |
Definition at line 1340 of file frames.inl.
Vector operator* | ( | const Vector & | lhs, |
double | rhs | ||
) |
Definition at line 83 of file frames.inl.
Vector operator* | ( | double | lhs, |
const Vector & | rhs | ||
) |
Definition at line 92 of file frames.inl.
Vector operator* | ( | const Vector & | lhs, |
const Vector & | rhs | ||
) |
Definition at line 110 of file frames.inl.
Wrench operator* | ( | const Wrench & | lhs, |
double | rhs | ||
) |
Definition at line 242 of file frames.inl.
Wrench operator* | ( | double | lhs, |
const Wrench & | rhs | ||
) |
Definition at line 247 of file frames.inl.
Twist operator* | ( | const Twist & | lhs, |
double | rhs | ||
) |
Definition at line 345 of file frames.inl.
Twist operator* | ( | double | lhs, |
const Twist & | rhs | ||
) |
Definition at line 350 of file frames.inl.
Twist operator* | ( | const Twist & | lhs, |
const Twist & | rhs | ||
) |
Definition at line 379 of file frames.inl.
Wrench operator* | ( | const Twist & | lhs, |
const Wrench & | rhs | ||
) |
Definition at line 383 of file frames.inl.
Frame operator* | ( | const Frame & | lhs, |
const Frame & | rhs | ||
) |
Definition at line 406 of file frames.inl.
IMETHOD Vector2 operator* | ( | const Vector2 & | lhs, |
double | rhs | ||
) |
Definition at line 755 of file frames.inl.
IMETHOD Vector2 operator* | ( | double | lhs, |
const Vector2 & | rhs | ||
) |
Definition at line 760 of file frames.inl.
IMETHOD Rotation2 operator* | ( | const Rotation2 & | lhs, |
const Rotation2 & | rhs | ||
) |
Definition at line 870 of file frames.inl.
IMETHOD Frame2 operator* | ( | const Frame2 & | lhs, |
const Frame2 & | rhs | ||
) |
Definition at line 930 of file frames.inl.
IMETHOD Vector operator+ | ( | const Vector & | lhs, |
const Vector & | rhs | ||
) |
Definition at line 57 of file frames.inl.
Wrench operator+ | ( | const Wrench & | lhs, |
const Wrench & | rhs | ||
) |
Definition at line 258 of file frames.inl.
Twist operator+ | ( | const Twist & | lhs, |
const Twist & | rhs | ||
) |
Definition at line 361 of file frames.inl.
IMETHOD Vector2 operator+ | ( | const Vector2 & | lhs, |
const Vector2 & | rhs | ||
) |
Definition at line 745 of file frames.inl.
IMETHOD Vector operator- | ( | const Vector & | lhs, |
const Vector & | rhs | ||
) |
Definition at line 66 of file frames.inl.
Wrench operator- | ( | const Wrench & | lhs, |
const Wrench & | rhs | ||
) |
Definition at line 263 of file frames.inl.
Wrench operator- | ( | const Wrench & | arg | ) |
Definition at line 269 of file frames.inl.
Twist operator- | ( | const Twist & | lhs, |
const Twist & | rhs | ||
) |
Definition at line 366 of file frames.inl.
Twist operator- | ( | const Twist & | arg | ) |
Definition at line 372 of file frames.inl.
Vector operator- | ( | const Vector & | arg | ) |
Definition at line 449 of file frames.inl.
IMETHOD Vector2 operator- | ( | const Vector2 & | lhs, |
const Vector2 & | rhs | ||
) |
Definition at line 750 of file frames.inl.
IMETHOD Vector2 operator- | ( | const Vector2 & | arg | ) |
Definition at line 813 of file frames.inl.
Vector operator/ | ( | const Vector & | lhs, |
double | rhs | ||
) |
Definition at line 101 of file frames.inl.
Wrench operator/ | ( | const Wrench & | lhs, |
double | rhs | ||
) |
Definition at line 252 of file frames.inl.
Twist operator/ | ( | const Twist & | lhs, |
double | rhs | ||
) |
Definition at line 355 of file frames.inl.
IMETHOD Vector2 operator/ | ( | const Vector2 & | lhs, |
double | rhs | ||
) |
Definition at line 765 of file frames.inl.
IMETHOD bool operator== | ( | const Frame & | a, |
const Frame & | b | ||
) |
Definition at line 1275 of file frames.inl.
IMETHOD bool operator== | ( | const Vector & | a, |
const Vector & | b | ||
) |
Definition at line 1288 of file frames.inl.
IMETHOD bool operator== | ( | const Twist & | a, |
const Twist & | b | ||
) |
Definition at line 1302 of file frames.inl.
IMETHOD bool operator== | ( | const Wrench & | a, |
const Wrench & | b | ||
) |
Definition at line 1315 of file frames.inl.
IMETHOD bool operator== | ( | const Vector2 & | a, |
const Vector2 & | b | ||
) |
Definition at line 1331 of file frames.inl.
IMETHOD void posrandom | ( | Vector & | a | ) |
Definition at line 1243 of file frames.inl.
IMETHOD void posrandom | ( | Twist & | a | ) |
Definition at line 1248 of file frames.inl.
IMETHOD void posrandom | ( | Wrench & | a | ) |
Definition at line 1252 of file frames.inl.
IMETHOD void posrandom | ( | Rotation & | R | ) |
Definition at line 1257 of file frames.inl.
IMETHOD void posrandom | ( | Frame & | F | ) |
Definition at line 1267 of file frames.inl.
IMETHOD void random | ( | Vector & | a | ) |
addDelta operator for displacement rotational velocity.
The Vector arguments here represent a displacement rotational velocity. i.e. a rotation around a fixed axis for a certain angle. For this representation you cannot use diff() but have to use diff_displ().
a | : displacement rotational velocity |
da | : rotational velocity |
IMETHOD Vector addDelta_displ(const Vector& a,const Vector&da,double dt) { return getRot(addDelta(Rot(a),da,dt)); } addDelta operator for displacement twist.
The Vector arguments here represent a displacement rotational velocity. i.e. a rotation around a fixed axis for a certain angle. For this representation you cannot use diff() but have to use diff_displ().
a | : displacement twist |
da | : twist |
IMETHOD Twist addDelta_displ(const Twist& a,const Twist&da,double dt) { return Twist(addDelta(a.vel,da.vel,dt),addDelta_displ(a.rot,da.rot,dt)); }
Definition at line 1214 of file frames.inl.
IMETHOD void random | ( | Twist & | a | ) |
Definition at line 1219 of file frames.inl.
IMETHOD void random | ( | Wrench & | a | ) |
Definition at line 1223 of file frames.inl.
IMETHOD void random | ( | Rotation & | R | ) |
Definition at line 1228 of file frames.inl.
IMETHOD void random | ( | Frame & | F | ) |
Definition at line 1238 of file frames.inl.
IMETHOD Rotation Rot | ( | const Vector & | axis_a_b | ) |
axis_a_b is a rotation vector, its norm is a rotation angle axis_a_b rotates the a frame towards the b frame. This routine returns the rotation matrix R_a_b
Definition at line 1107 of file frames.inl.
IMETHOD void SetToZero | ( | Vector & | v | ) |
Definition at line 1068 of file frames.inl.
IMETHOD void SetToZero | ( | Twist & | v | ) |
Definition at line 1071 of file frames.inl.
IMETHOD void SetToZero | ( | Wrench & | v | ) |
Definition at line 1075 of file frames.inl.
IMETHOD void SetToZero | ( | Vector2 & | v | ) |
Definition at line 1080 of file frames.inl.