|
double | value (int row, int column) const |
| Retrieve single value from Matrix4x4. More...
|
|
Matrix4x4 & | setFromEulerAngles (double rx, double ry, double rz) |
| Set matrix rotation from Euler angles. More...
|
|
Vector3d | axis (int axisIndex) |
| Retrieve axis from Matrix4x4. More...
|
|
Point3d | origin () |
| Retrieve Matrix4x4 origin. More...
|
|
bool | isEmpty () const |
| Test if Matrix4x4 is empty. More...
|
|
Matrix4x4 & | clear () |
| Clear current Matrix4x4. More...
|
|
Matrix4x4 & | normalize () |
| Normalize current Matrix4x4. More...
|
|
Matrix4x4 & | multiplyEq (const Matrix4x4 m2) |
| Multiply current Matrix4x4 with specified Matrix4x4. More...
|
|
QObject | multiply (const Matrix4x4 m2) |
| Multiply current Matrix4x4 with specified Matrix4x4. More...
|
|
Point3d | multiply (const Point3d p) |
| Multiply specified Point3d with current Matrix4x4. More...
|
|
QObject | multiply (const Vector3d v) |
| Multiply specified Vector3d with current Matrix4x4. More...
|
|
Matrix4x4 & | translate (const Vector3d v) |
| Translate current Matrix4x4 with specified Vector3d. More...
|
|
Matrix4x4 & | translate (double dx, double dy, double dz=0.0) |
| Translate current Matrix4x4. More...
|
|
Matrix4x4 & | scale (double sx, double sy, double sz=1.0) |
| Scale current Matrix4x4. More...
|
|
Matrix4x4 & | rotatePlane (const Vector3d v, const Point3d p) |
| Rotate current Matrix4x4. More...
|
|
Matrix4x4 & | rotateRadians (double rad, Vector3d v) |
| Rotate current Matrix4x4. More...
|
|
Matrix4x4 & | rotateDegrees (double deg, Vector3d v) |
| Rotate current Matrix4x4. More...
|
|
Matrix4x4 & | skew (double sk) |
| Shear current Matrix4x4. More...
|
|
Matrix4x4 & | orthogonalProject (double left, double right, double bottom, double top, double zNear, double zFar) |
| Calculate an orthogonal projection Matrix4x4. More...
|
|
Matrix4x4 & | perspectiveProject (double left, double right, double bottom, double top, double zNear, double zFar) |
| Calculate a perspective projection Matrix4x4. More...
|
|
Matrix4x4 & | perspectiveProject (double fovy, double ratio, double zNear, double zFar) |
| Calculate a perspective projection Matrix4x4. More...
|
|
Matrix4x4 & | inverse () |
| Invert current Matrix4x4. More...
|
|
Matrix4x4 | getInverse () |
| Invert current Matrix4x4. More...
|
|
Matrix4x4 & | transpose () |
| Transpose current Matrix4x4. More...
|
|
Matrix4x4 | getTranspose () |
| Transpose current Matrix4x4. More...
|
|
Point3d | extractPosition (const Point3d *pivot=NULL, bool force3d=false) |
| Extract position from matrix. More...
|
|
Point3d | extractScale (const Point3d *pivot=NULL, bool force3d=false) |
| Extract scale from matrix. More...
|
|
Point3d | extractRotation (const Point3d *pivot=NULL, bool force3d=false) |
| Extract rotation from matrix. More...
|
|
double | extractSkew (const Point3d *pivot=NULL) |
| Extract skew from matrix. More...
|
|
void | print (String label) const |
|
The Matrix4x4 JavaScript 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 );