SPH
|
#include <AffineMatrix.h>
Static Public Member Functions | |
static AffineMatrix | null () |
static AffineMatrix | identity () |
static AffineMatrix | scale (const Vector &scaling) |
static AffineMatrix | rotateX (const Float angle) |
static AffineMatrix | rotateY (const Float angle) |
static AffineMatrix | rotateZ (const Float angle) |
static AffineMatrix | rotateAxis (const Vector &axis, const Float angle) |
static AffineMatrix | crossProductOperator (const Vector &a) |
Friends | |
INLINE friend AffineMatrix | operator* (const AffineMatrix &t, const Float v) |
INLINE friend AffineMatrix | operator* (const Float v, const AffineMatrix &t) |
INLINE friend AffineMatrix | operator/ (const AffineMatrix &t, const Float v) |
std::ostream & | operator<< (std::ostream &stream, const AffineMatrix &t) |
Definition at line 14 of file AffineMatrix.h.
|
default |
Construct the matrix from vectors as rows.
Translation is stored as 4th components of vectors
Definition at line 24 of file AffineMatrix.h.
Definition at line 39 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 173 of file AffineMatrix.h.
Computes determinant of the matrix.
The translation is ignored, as determinant is defined for square matrices
Definition at line 80 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 132 of file AffineMatrix.h.
|
inline |
Definition at line 86 of file AffineMatrix.h.
|
inline |
Definition at line 123 of file AffineMatrix.h.
|
inline |
Definition at line 111 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 128 of file AffineMatrix.h.
|
inline |
Definition at line 262 of file AffineMatrix.h.
i | Row index |
j | Column index |
Definition at line 29 of file AffineMatrix.h.
Definition at line 34 of file AffineMatrix.h.
|
inline |
Matrix multiplication.
Definition at line 190 of file AffineMatrix.h.
Definition at line 208 of file AffineMatrix.h.
|
inline |
Definition at line 240 of file AffineMatrix.h.
|
inline |
Definition at line 181 of file AffineMatrix.h.
|
inline |
Definition at line 225 of file AffineMatrix.h.
|
inline |
Definition at line 185 of file AffineMatrix.h.
|
inline |
Definition at line 232 of file AffineMatrix.h.
|
inline |
Definition at line 247 of file AffineMatrix.h.
|
inline |
Definition at line 255 of file AffineMatrix.h.
|
inline |
Definition at line 53 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 159 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 141 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 147 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 153 of file AffineMatrix.h.
Definition at line 44 of file AffineMatrix.h.
|
inlinestatic |
Definition at line 136 of file AffineMatrix.h.
|
inline |
Definition at line 58 of file AffineMatrix.h.
Definition at line 49 of file AffineMatrix.h.
|
inline |
Returns the transposed matrix.
Translation vector is copied into the transposed matrix, so that double-transposed matrix is equal to the original matrix.
Definition at line 69 of file AffineMatrix.h.
|
friend |
Definition at line 212 of file AffineMatrix.h.
|
friend |
Definition at line 216 of file AffineMatrix.h.
|
friend |
Definition at line 220 of file AffineMatrix.h.
|
friend |
Definition at line 266 of file AffineMatrix.h.