#include <Transform3.h>
Inheritance diagram for LinAlg::Transform3< T >:

This version supports translation, rotation, and uniform scales.
Public Member Functions | |
| Transform3 () | |
| The identity transform. | |
| Transform3 (const Mat4< T > &values) | |
| Initialize from a matrix of values. | |
| Transform3 (const Matrix< T, 4 > &values) | |
| Initialize from a matrix of values. | |
| Transform3 (const Mat3< T > &R, const Vec3< T > &t) | |
| Initialize from a rotation/scaling matrix and a translation vector. | |
| Transform3 (const Transform3 &other) | |
| Copy an affine transform. | |
| Transform3 & | operator= (const Transform3 &other) |
| Assign an affine transform to this one. | |
| T | getScale () const |
| Return the uniform scaling factor. | |
| T | getScaleSqr () const |
| Return the uniform scaling factor squared. | |
| Vec3< T > | getTranslation () const |
| Return the translation. | |
| Transform3 | inverse () const |
| Calculate the inverse of the transfromation. | |
| Vec3< T > | transPoint (const Vec3< T > &v) const |
| Transform a point. | |
| Vec3< T > | transVector (const Vec3< T > &v) const |
| Transform a vector. | |
Static Public Member Functions | |
Various affine transforms creators. | |
| Transform3 | identity () |
| Return the identity transform. | |
| Transform3 | translation (const Vec3< T > &v) |
| Return a translation transform. | |
| Transform3 | scale (const T &s) |
| Return a uniform scaling transform. | |
| Transform3 | rotation (const T angle, const Vec3< T > &v) |
Return a rotation transform of angle radians about the unit vector axis. | |
| Transform3 | rotation (const Vec3< T > &axisAngle) |
Return a rotation transform of axis.length() radians about the unit vector in the direction of axis. | |
|
||||||||||
|
Return a rotation transform of
|
|
||||||||||||||||
|
Return a rotation transform of
|
© 2005-2008 Adrian Secord.