#include <transform.h>
Public Member Functions | |
| Transform3f () | |
| Default transform is no movement. | |
| Transform3f (const Matrix3f &R_, const Vec3f &T_) | |
| Construct transform from rotation and translation. | |
| Transform3f (const Quaternion3f &q_, const Vec3f &T_) | |
| Construct transform from rotation and translation. | |
| Transform3f (const Matrix3f &R_) | |
| Construct transform from rotation. | |
| Transform3f (const Quaternion3f &q_) | |
| Construct transform from rotation. | |
| Transform3f (const Vec3f &T_) | |
| Construct transform from translation. | |
| Transform3f (const Transform3f &tf) | |
| Construct transform from another transform. | |
| Transform3f & | operator= (const Transform3f &tf) |
| operator = | |
| const Vec3f & | getTranslation () const |
| get translation | |
| const Matrix3f & | getRotation () const |
| get rotation | |
| const Quaternion3f & | getQuatRotation () const |
| get quaternion | |
| void | setTransform (const Matrix3f &R_, const Vec3f &T_) |
| set transform from rotation and translation | |
| void | setTransform (const Quaternion3f &q_, const Vec3f &T_) |
| set transform from rotation and translation | |
| void | setRotation (const Matrix3f &R_) |
| set transform from rotation | |
| void | setTranslation (const Vec3f &T_) |
| set transform from translation | |
| void | setQuatRotation (const Quaternion3f &q_) |
| set transform from rotation | |
| Vec3f | transform (const Vec3f &v) const |
| transform a given vector by the transform | |
| Transform3f & | inverse () |
| inverse transform | |
| Transform3f | inverseTimes (const Transform3f &other) const |
| inverse the transform and multiply with another | |
| const Transform3f & | operator *= (const Transform3f &other) |
| multiply with another transform | |
| Transform3f | operator * (const Transform3f &other) const |
| multiply with another transform | |
| bool | isIdentity () const |
| check whether the transform is identity | |
| void | setIdentity () |
| set the transform to be identity transform | |
Definition at line 145 of file transform.h.