![]() |
Scanframe Modular Application 0.1.0
|
A 4x4 matrix class used in arrays and has layout of 16x GLfloat. More...
#include <Matrix.h>
Public Member Functions | |
Matrix () | |
Default constructor initializing with a black color. | |
Matrix (const QMatrix4x4 &matrix) | |
Constructor for Qt QMatrix4x4. | |
Matrix (const Matrix44 &matrix) | |
Constructor for Qt QMatrix4x4. | |
operator const float * () const | |
Gets the float pointer and allows omitting a call for the #data() method. | |
operator float * () | |
Gets the float pointer and allows omitting a call for the #data() method. | |
bool | isZero () const |
Checks if the 'w' value is non-zero. | |
operator QMatrix4x4 () const | |
Conversion operator when passing this class where a QMatrix4x4 is needed. | |
operator Matrix44 () const | |
Conversion operator when passing this class where a #Matrix44 is needed. | |
Matrix & | operator= (const QMatrix4x4 &matrix) |
Assignment operator accepting a QMatrix4x4 instance. | |
Matrix & | operator= (const Matrix44 &matrix) |
Assignment operator accepting a #Matrix44 instance. | |
A 4x4 matrix class used in arrays and has layout of 16x GLfloat.
sf::xgl::Matrix::Matrix | ( | ) |
Default constructor initializing with a black color.
|
explicit |
Constructor for Qt QMatrix4x4.
|
explicit |
Constructor for Qt QMatrix4x4.
bool sf::xgl::Matrix::isZero | ( | ) | const |
Checks if the 'w' value is non-zero.
sf::xgl::Matrix::operator const float * | ( | ) | const |
Gets the float pointer and allows omitting a call for the #data() method.
sf::xgl::Matrix::operator float * | ( | ) |
Gets the float pointer and allows omitting a call for the #data() method.
sf::xgl::Matrix::operator Matrix44 | ( | ) | const |
Conversion operator when passing this class where a #Matrix44 is needed.
sf::xgl::Matrix::operator QMatrix4x4 | ( | ) | const |
Conversion operator when passing this class where a QMatrix4x4 is needed.
Matrix & sf::xgl::Matrix::operator= | ( | const Matrix44 & | matrix | ) |
Assignment operator accepting a #Matrix44 instance.
Matrix & sf::xgl::Matrix::operator= | ( | const QMatrix4x4 & | matrix | ) |
Assignment operator accepting a QMatrix4x4 instance.