|
coal 3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
|
Simple transform class used locally by InterpMotion. More...
#include <coal/math/transform.h>
Public Member Functions | |
| Transform3s () | |
| Default transform is no movement. | |
| template<typename Matrixx3Like , typename Vector3Like > | |
| Transform3s (const Eigen::MatrixBase< Matrixx3Like > &R_, const Eigen::MatrixBase< Vector3Like > &T_) | |
| Construct transform from rotation and translation. | |
| template<typename Vector3Like > | |
| Transform3s (const Quats &q_, const Eigen::MatrixBase< Vector3Like > &T_) | |
| Construct transform from rotation and translation. | |
| Transform3s (const Matrix3s &R_) | |
| Construct transform from rotation. | |
| Transform3s (const Quats &q_) | |
| Construct transform from rotation. | |
| Transform3s (const Vec3s &T_) | |
| Construct transform from translation. | |
| Transform3s (const Transform3s &tf) | |
| Construct transform from other transform. | |
| Transform3s & | operator= (const Transform3s &tf) |
| operator = | |
| const Vec3s & | getTranslation () const |
| get translation | |
| const Vec3s & | translation () const |
| get translation | |
| Vec3s & | translation () |
| get translation | |
| const Matrix3s & | getRotation () const |
| get rotation | |
| const Matrix3s & | rotation () const |
| get rotation | |
| Matrix3s & | rotation () |
| get rotation | |
| Quats | getQuatRotation () const |
| get quaternion | |
| template<typename Matrix3Like , typename Vector3Like > | |
| void | setTransform (const Eigen::MatrixBase< Matrix3Like > &R_, const Eigen::MatrixBase< Vector3Like > &T_) |
| set transform from rotation and translation | |
| void | setTransform (const Quats &q_, const Vec3s &T_) |
| set transform from rotation and translation | |
| template<typename Derived > | |
| void | setRotation (const Eigen::MatrixBase< Derived > &R_) |
| set transform from rotation | |
| template<typename Derived > | |
| void | setTranslation (const Eigen::MatrixBase< Derived > &T_) |
| set transform from translation | |
| void | setQuatRotation (const Quats &q_) |
| set transform from rotation | |
| template<typename Derived > | |
| Vec3s | transform (const Eigen::MatrixBase< Derived > &v) const |
| transform a given vector by the transform | |
| template<typename Derived > | |
| Vec3s | inverseTransform (const Eigen::MatrixBase< Derived > &v) const |
| transform a given vector by the inverse of the transform | |
| Transform3s & | inverseInPlace () |
| inverse transform | |
| Transform3s | inverse () |
| inverse transform | |
| Transform3s | inverseTimes (const Transform3s &other) const |
| inverse the transform and multiply with another | |
| const Transform3s & | operator*= (const Transform3s &other) |
| multiply with another transform | |
| Transform3s | operator* (const Transform3s &other) const |
| multiply with another transform | |
| bool | isIdentity (const Scalar &prec=Eigen::NumTraits< Scalar >::dummy_precision()) const |
| check whether the transform is identity | |
| void | setIdentity () |
| set the transform to be identity transform | |
| void | setRandom () |
| set the transform to a random transform | |
| bool | operator== (const Transform3s &other) const |
| bool | operator!= (const Transform3s &other) const |
Static Public Member Functions | |
| static Transform3s | Identity () |
| static Transform3s | Random () |
| return a random transform | |
Simple transform class used locally by InterpMotion.
|
inline |
Default transform is no movement.
|
inline |
Construct transform from rotation and translation.
|
inline |
Construct transform from rotation and translation.
|
inline |
Construct transform from rotation.
|
inline |
Construct transform from rotation.
|
inline |
Construct transform from translation.
|
inline |
Construct transform from other transform.
|
inline |
get quaternion
|
inline |
get rotation
|
inline |
get translation
|
inlinestatic |
|
inline |
inverse transform
|
inline |
inverse transform
|
inline |
inverse the transform and multiply with another
|
inline |
transform a given vector by the inverse of the transform
|
inline |
check whether the transform is identity
|
inline |
|
inline |
multiply with another transform
|
inline |
multiply with another transform
|
inline |
operator =
|
inline |
|
inlinestatic |
return a random transform
|
inline |
get rotation
|
inline |
get rotation
|
inline |
set the transform to be identity transform
|
inline |
set transform from rotation
|
inline |
set the transform to a random transform
|
inline |
set transform from rotation
|
inline |
set transform from rotation and translation
set transform from rotation and translation
|
inline |
set transform from translation
|
inline |
transform a given vector by the transform
|
inline |
get translation
|
inline |
get translation