|
double | value (int row, int column) |
| Retrieve single value from Matrix4x4. More...
|
|
Vector3d | axis (int idx) |
| Retrieve reference to single value from Matrix4x4. More...
|
|
Point3d | origin () |
| Retrieve Matrix4x4 origin. More...
|
|
bool | isEmpty () |
| Test if Matrix4x4 is empty. More...
|
|
Matrix4x4 & | clear () |
| Clear current Matrix4x4. More...
|
|
Matrix4x4 & | normalize () |
| Normalize current Matrix4x4. More...
|
|
Matrix4x4 & | multiplyEq (Matrix4x4 m2) |
| Multiply current Matrix4x4 with specified Matrix4x4. More...
|
|
QObject | multiply (Matrix4x4 m2) |
| Multiply current Matrix4x4 with specified Matrix4x4. More...
|
|
Point3d | multiply (Point3d p) |
| Multiply specified Point3d with current Matrix4x4. More...
|
|
QObject | multiply (Vector3d v) |
| Multiply specified Vector3d with current Matrix4x4. More...
|
|
Matrix4x4 & | translate (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 (Vector3d v, 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 (Point3d *pivot=NULL, bool force3d=false) |
| Extract position from matrix. More...
|
|
Point3d | extractScale (Point3d *pivot=NULL, bool force3d=false) |
| Extract scale from matrix. More...
|
|
Point3d | extractRotation (Point3d *pivot=NULL, bool force3d=false) |
| Extract rotation from matrix. More...
|
|
double | extractSkew (Point3d *pivot=NULL) |
| Extract skew from matrix. More...
|
|
void | print (String label) |
|
The Matrix4x4 class defines a four by four matrix container. Matrix4x4 objects can be instantiated in the scripting environment.
You can use it in both Script Editor and scriptModule.
m.rotateDegrees( 90, raxis );
m.scale( 2.0, 1.0, 2.0 );