#include <ivfmath/IvfMat4d.h>
Inheritance diagram for CIvfMat4d:
Public Member Functions | |
CIvfMat4d () | |
CIvfMat4d (CIvfMat4d &M) | |
CIvfMat4d (double scalar) | |
virtual | ~CIvfMat4d () |
void | one () |
void | identity () |
void | zero () |
void | translate (double tx, double ty, double tz) |
void | rotateX (double angle) |
void | rotateY (double angle) |
void | rotateZ (double angle) |
void | rotate (double vx, double vy, double vz, double theta) |
void | scaling (double sx, double sy, double sz) |
void | print (ostream &out) |
void | setComponent (int row, int col, double value) |
double | getComponent (int row, int col) |
void | setColumn (int col, double v1, double v2, double v3, double v4) |
void | setRow (int row, double v1, double v2, double v3, double v4) |
CIvfMat4d & | t () |
CIvfMat4d & | inv () |
CIvfMat4d & | operator= (CIvfMat4d &A) |
CIvfMat4d & | operator= (double a) |
CIvfMat4d & | operator+= (CIvfMat4d &A) |
CIvfMat4d & | operator-= (CIvfMat4d &A) |
CIvfMat4d & | operator * (CIvfMat4d &A) |
CIvfVec4d & | operator * (CIvfVec4d &v) |
CIvfMat4d & | operator * (double scalar) |
CIvfMat4d & | operator/ (double scalar) |
CIvfMat4d & | operator+ (CIvfMat4d &A) |
Implements a simple [4x4] matrix.
Definition at line 36 of file IvfMat4d.h.
|
CIvfMat4d constructor |
|
CIvfMat4d copy constructor |
|
CIvfMat4d scalar copy constructor |
|
CIvfMat4d destructor |
|
Returns value of matrix element (row, col) |
|
Assigns the matrix the identity matrix I |
|
Returns the inverse of the matrix
|
|
Assigns all elements in matrix to one (=1.0) |
|
Matrix/Scalar multiplication operator |
|
Matrix/Vector multiplication operator |
|
Matrix/Matrix multiplication operator |
|
Matrix/Matrix addition operator |
|
+= operator assignment Matrix += Matrix |
|
-= operator assignment Matrix -= Matrix |
|
Elemental division operator |
|
Assignment operator Matrix = scalar |
|
Assignment operator Matrix = Matrix |
|
Print matrix to a output stream
|
|
Create a rotation matrix Creates a rotation matrix that rotates a vector/point
|
|
Create a rotation matrix Creates a rotation matrix that rotates a vector/point
|
|
Create a rotation matrix Creates a rotation matrix that rotates a vector/point
|
|
Create a rotation matrix Creates a rotation matrix that rotates a vector/point
|
|
Create a scaling matrix Creates a scaling matrix that scales a vector/point |
|
Assign a column the values v1, v2, v3, v4 |
|
Sets matrix component Assigns matrix element (row, col) to value. |
|
Assign a row the values v1, v2, v3
|
|
Returns a transpose of the matrix |
|
Create a translation matrix
|
|
Zeros all element sin matrix |