#include <transform.h>
This class represents a three-dimensional 6 freedom degrees unit transform.
Public Member Functions | |
Transform (const Matrix3x3f &matrix=Matrix3x3f::Identity(), const Vec3f &position=Vec3f::Zero()) | |
void | SetIdentity () |
bool | operator!= (const Transform &other) |
bool | operator== (const Transform &other) |
Vec3f | GetRootVector (const Vec3f &v) const |
void | GetRootVector (const Vec3f &v, Vec3f &w) const |
Vec3f | GetRootCoordinates (const Vec3f &v) const |
void | GetRootCoordinates (const Vec3f &v, Vec3f &w) const |
Public Data Members | |
Matrix3x3f | m_rotationMatrix |
Vec3f | m_translation |
Compute position coordinates in root coordinate system for the local position v.
It applies rotation matrix transformation and then add the translation.
Compute position coordinates in root coordinate system for the local position v.
It applies rotation matrix transformation and then add the translation.
Compute vector coordinates in root coordinate system for the local vector v.
It just applies rotation matrix transformation, ignoring translation.
Compute vector coordinates in root coordinate system for the local vector v.
It just applies rotation matrix transformation, ignoring translation.