ML Reference
|
#include "mlLinearAlgebraSystem.h"
#include "mlLinearAlgebraDefs.h"
#include "mlFloatingPointMatrix.h"
#include "mlMatrix3.h"
#include "mlVector4.h"
#include "mlVector3.h"
Go to the source code of this file.
Classes | |
class | ml::Tmat4< DT > |
A 4x4 matrix class consisting of four row vectors. More... | |
Namespaces | |
ml | |
Main documentation file for ML users and developers. | |
Typedefs | |
Specializations for float, double, and long double. | |
typedef Tmat4< MLfloat > | ml::Matrix4f |
A 4x4 matrix of type float. More... | |
typedef Tmat4< MLdouble > | ml::Matrix4d |
A 4x4 matrix of type double. More... | |
typedef Tmat4< MLldouble > | ml::Matrix4ld |
A 4x4 matrix of type long double. More... | |
typedef Tmat4< MLdouble > | ml::Matrix4 |
The standard 4x4 matrix of type double. More... | |
Functions | |
Global functions and operators for class Tmat4. | |
template<class DT > | |
Tmat4< DT > | ml::operator- (const Tmat4< DT > &a) |
Returns the matrix a with all values negated. More... | |
template<class DT > | |
Tmat4< DT > | ml::operator+ (const Tmat4< DT > &a, const Tmat4< DT > &b) |
Returns the component-wise sum of matrix a and matrix b . More... | |
template<class DT > | |
Tmat4< DT > | ml::operator- (const Tmat4< DT > &a, const Tmat4< DT > &b) |
Returns the component-wise difference of matrix a and matrix b . More... | |
template<class DT > | |
Tmat4< DT > | ml::operator* (const Tmat4< DT > &a, const DT d) |
Returns the component-wise multiplication of matrix a with scalar d . More... | |
template<class DT > | |
Tmat4< DT > | ml::operator* (const DT d, const Tmat4< DT > &a) |
Returns the component-wise multiplication of scalar d with matrix a . More... | |
template<class DT > | |
Tmat4< DT > | ml::operator/ (const Tmat4< DT > &a, const DT d) |
Returns the component-wise division of matrix a by scalar d . More... | |
Tmat4<DT> member functions | |
template<class DT > | |
Tmat4< DT > | ml::identity3D () |
Returns a 4x4 homogeneous identity3D matrix; synonym for Tmat4<DT>::getIdentity(). More... | |
template<class DT > | |
Tmat4< DT > | ml::translation3D (const Tvec3< DT > &v) |
Returns a 4x4 homogeneous translation matrix with default identity matrix contents and the upper three components in right column given by 3D vector v . More... | |
template<class DT > | |
Tmat4< DT > | ml::rotation3D (Tvec3< DT > Axis, const DT angleRad) |
Returns a 4x4 homogeneous 3D rotation matrix describing a rotation with angle angleRad around axis Axis . More... | |
template<class DT > | |
Tmat4< DT > | ml::scaling3D (const Tvec3< DT > &scaleVector) |
Scaling 3D. More... | |
template<class DT > | |
Tmat4< DT > | ml::perspective3D (const DT d) |
Creates a 4x4 homogeneous perspective projection matrix with perspective shortening value given by d that must differ from zero to avoid errors. More... | |
template<class DT > | |
std::ostream & | std::operator<< (std::ostream &os, const ml::Tmat4< DT > &m) |
Support for standardI/O streams. More... | |
template<class DT > | |
std::istream & | std::operator>> (std::istream &is, ml::Tmat4< DT > &m) |
Functions and operators for class Tmat4. | |
#define | _ML_MAT4_RC(i, j) |
Helper macro only locally defined for Tmat4 matrix multiplication. More... | |
template<class DT > | |
Tmat4< DT > | ml::operator* (const Tmat4< DT > &a, const Tmat4< DT > &b) |
a * b. More... | |
template<class DT > | |
bool | ml::operator== (const Tmat4< DT > &a, const Tmat4< DT > &b) |
a == b ? Returns true if yes. More... | |
template<class DT > | |
bool | ml::operator!= (const Tmat4< DT > &a, const Tmat4< DT > &b) |
a != b ? Returns true if yes. More... | |
#define _ML_MAT4_RC | ( | i, | |
j | |||
) |
Helper macro only locally defined for Tmat4 matrix multiplication.
Definition at line 344 of file mlMatrix4.h.
|
inline |
Support for standardI/O streams.
Definition at line 725 of file mlMatrix4.h.
References std::operator<<().
|
inline |
Definition at line 732 of file mlMatrix4.h.
References ml::is(), and std::operator>>().