|
double | value (int row, int column) const |
| Retrieve single value from Matrix4x4.
|
|
Vector3d | axis (int idx) |
| Retrieve reference to single value from Matrix4x4.
|
|
Point3d | origin () |
| Retrieve Matrix4x4 origin.
|
|
bool | isEmpty () const |
| Test if Matrix4x4 is empty.
|
|
Matrix4x4 & | clear () |
| Clear current Matrix4x4.
|
|
Matrix4x4 & | normalize () |
| Normalize current Matrix4x4.
|
|
Matrix4x4 & | multiplyEq (const Matrix4x4 m2) |
| Multiply current Matrix4x4 with specified Matrix4x4.
|
|
QObject | multiply (const Matrix4x4 m2) |
| Multiply current Matrix4x4 with specified Matrix4x4.
|
|
Point3d | multiply (const Point3d p) |
| Multiply specified Point3d with current Matrix4x4.
|
|
QObject | multiply (const Vector3d v) |
| Multiply specified Vector3d with current Matrix4x4.
|
|
Matrix4x4 & | translate (const Vector3d v) |
| Translate current Matrix4x4 with specified Vector3d.
|
|
Matrix4x4 & | translate (double dx, double dy, double dz=0.0) |
| Translate current Matrix4x4.
|
|
Matrix4x4 & | scale (double sx, double sy, double sz=1.0) |
| Scale current Matrix4x4.
|
|
Matrix4x4 & | rotateRadians (double rad, Vector3d v) |
| Rotate current Matrix4x4.
|
|
Matrix4x4 & | rotateDegrees (double deg, Vector3d v) |
| Rotate current Matrix4x4.
|
|
Matrix4x4 & | skew (double sk) |
| Shear current Matrix4x4.
|
|
Matrix4x4 & | orthogonalProject (double left, double right, double bottom, double top, double zNear, double zFar) |
| Calculate an orthogonal projection Matrix4x4.
|
|
Matrix4x4 & | perspectiveProject (double left, double right, double bottom, double top, double zNear, double zFar) |
| Calculate a perspective projection Matrix4x4.
|
|
Matrix4x4 & | perspectiveProject (double fovy, double ratio, double zNear, double zFar) |
| Calculate a perspective projection Matrix4x4.
|
|
Matrix4x4 & | inverse () |
| Invert current Matrix4x4.
|
|
Matrix4x4 | getInverse () |
| Invert current Matrix4x4.
|
|
Matrix4x4 & | transpose () |
| Transpose current Matrix4x4.
|
|
Matrix4x4 | getTranspose () |
| Transpose current Matrix4x4.
|
|
Matrix4x4 & | rotatePlane (const Vector3d, const Point3d) |
|
void | print (QString label) const |
|
|
double | m00 |
| 1st row and 1st column value
|
|
double | m01 |
| 1st row and 2nd column value
|
|
double | m02 |
| 1st row and 3rd column value
|
|
double | m03 |
| 1st row and 4th column value
|
|
double | m10 |
| 2nd row and 1st column value
|
|
double | m11 |
| 2nd row and 2nd column value
|
|
double | m12 |
| 2nd row and 3rd column value
|
|
double | m13 |
| 2nd row and 4th column value
|
|
double | m20 |
| 3rd row and 1st column value
|
|
double | m21 |
| 3rd row and 2nd column value
|
|
double | m22 |
| 3rd row and 3rd column value
|
|
double | m23 |
| 3rd row and 4th column value
|
|
double | m30 |
| 4th row and 1st column value
|
|
double | m31 |
| 4th row and 2nd column value
|
|
double | m32 |
| 4th row and 3rd column value
|
|
double | m33 |
| 4th row and 4th column value
|
|
The Matrix4x4 class defines a four by four matrix container. Matrix4x4 objects can be instantiated in the scripting environment.
m.rotateDegrees( 90, raxis );
m.scale( 2.0, 1.0, 2.0 );