#include <Mat44f.h>
Inheritance diagram for nvmath::Mat44f:
Public Member Functions | |
NVSG_API | Mat44f (void) |
Default constructor. | |
NVSG_API | Mat44f (float a00, float a01, float a02, float a03, float a10, float a11, float a12, float a13, float a20, float a21, float a22, float a23, float a30, float a31, float a32, float a33) |
Constructor using 16 floats. | |
NVSG_API | Mat44f (const Vec4f &row0, const Vec4f &row1, const Vec4f &row2, const Vec4f &row3) |
Constructor using four row vectors. | |
NVSG_API | Mat44f (const Vec3f &trans, const Quatf &rot) |
Constructor by Translation, Rotation, and optional Scaling. | |
NVSG_API | Mat44f (const Matnnf< 4 > &m) |
Copy constructor. | |
NVSG_API void | set (const Vec4f &row0, const Vec4f &row1, const Vec4f &row2, const Vec4f &row3) |
Set the matrix with four row vectors. | |
Related Functions | |
(Note that these are not member functions.) | |
void | decompose (const Mat44f &mat, Vec3f &scaling, Vec3f &shearing, Quatf &orientation, Vec3f &translation) |
NVSG_API Mat44f | operator * (const Mat44f &m0, const Mat44f &m1) |
This class is used to handle full transformations (including rotations, scalings, translations, and projections).
|
Default constructor. For performance reasons no initialization is performed. |
|
Constructor using 16 floats. The 16 floats are used as the matrix elements. No normalization is performed. |
|
Constructor using four row vectors. The four vectors are used as the four rows of the matrix. No normalization is performed.
|
|
Constructor by Translation, Rotation, and optional Scaling. This constructs a matrix that represents the concatenation T * R.
|
|
Copy constructor.
|
|
Set the matrix with four row vectors.
|
|
Decompose the matrix mat into scaling, shearing, orientation, and translation.
|
|
Matrix multiplication with a matrix (i.e. concatenation) operator.
|