#include <TransformMatrix.h>
Public Member Functions | |
TransformMatrix () | |
TransformMatrix (const TransformMatrix< T > &src) | |
virtual | ~TransformMatrix () |
void | reset () |
template<class Vector> void | transform (const Vector &v, Vector &vt) const |
method for transforming a 3-element vector. | |
template<class Vector> void | transformHomogen (const Vector &v, Vector &vt) const |
method for transforming a 4-element vector (homogenous coordinates). | |
void | translate (T x, T y, T z) |
method applying a translation to the matrix. | |
void | rotateAroundZ (T phi) |
method applying a rotation around the z axis | |
T | operator() (size_t row, size_t column) const |
access operator for an element value | |
T & | operator() (size_t row, size_t column) |
bool | operator== (const TransformMatrix< T > &other) const |
bool | operator!= (const TransformMatrix< T > &other) |
void | operator+= (const TransformMatrix< T > &other) |
void | operator-= (const TransformMatrix< T > &other) |
void | operator *= (const TransformMatrix< T > &b) |
void | operator *= (T scale) |
Definition at line 23 of file TransformMatrix.h.
|
default constructor, results in a unity matrix Definition at line 26 of file TransformMatrix.h. |
|
copy constructor Definition at line 31 of file TransformMatrix.h. |
|
destructor Definition at line 34 of file TransformMatrix.h. |
|
matrix scaling operation (element-wise multiplication with a scalar)
Definition at line 126 of file TransformMatrix.h. |
|
multiply-with operator (matrix multiplication).
Definition at line 199 of file TransformMatrix.h. References TransformMatrix< T >::matrixdata. |
|
comparison for inequality
Definition at line 101 of file TransformMatrix.h. References TransformMatrix< T >::matrixdata. |
|
access operator for an element value
Definition at line 87 of file TransformMatrix.h. |
|
access operator for an element value
Definition at line 79 of file TransformMatrix.h. |
|
add-to operator (element-wise addition)
Definition at line 107 of file TransformMatrix.h. References TransformMatrix< T >::matrixdata. |
|
subtract-from operator (element-wise substraction)
Definition at line 113 of file TransformMatrix.h. References TransformMatrix< T >::matrixdata. |
|
comparison for equality
Definition at line 94 of file TransformMatrix.h. References TransformMatrix< T >::matrixdata. |
|
method resetting the matrix to the unity matrix Definition at line 39 of file TransformMatrix.h. |
|
method applying a rotation around the z axis
Definition at line 271 of file TransformMatrix.h. |
|
method for transforming a 3-element vector.
Definition at line 236 of file TransformMatrix.h. |
|
method for transforming a 4-element vector (homogenous coordinates).
Definition at line 243 of file TransformMatrix.h. |
|
method applying a translation to the matrix.
Definition at line 252 of file TransformMatrix.h. |