|
Path Tracer
|
A three-dimensional square matrix using doubles. More...
#include <DoubleMatrix33.h>
Public Member Functions | |
| DoubleMatrix33 (double val=0) | |
| Default constructor. Gives all points the same value. More... | |
| DoubleMatrix33 (const DoubleVec3D &column0, const DoubleVec3D &column1, const DoubleVec3D &column2) | |
| Main constructor. More... | |
| DoubleMatrix33 (const DoubleMatrix33 &matrix) | |
| Copy constructor. More... | |
| DoubleVec3D | getColumn0 () const |
| Getter for the first column. More... | |
| DoubleVec3D | getColumn1 () const |
| Getter for the second column. More... | |
| DoubleVec3D | getColumn2 () const |
| Getter for the third column. More... | |
| DoubleVec3D | getRow0T () const |
| Getter for the first row (transposed). More... | |
| DoubleVec3D | getRow1T () const |
| Getter for the second row (transposed). More... | |
| DoubleVec3D | getRow2T () const |
| Getter for the third row (transposed). More... | |
| void | setColumn0 (const DoubleVec3D &column0) |
| Setter for the first column. More... | |
| void | setColumn1 (const DoubleVec3D &column1) |
| Setter for the second column. More... | |
| void | setColumn2 (const DoubleVec3D &column2) |
| Setter for the third column. More... | |
| void | operator+= (const DoubleMatrix33 &matrix) |
| Sum operator. More... | |
| void | operator-= (const DoubleMatrix33 &matrix) |
| Difference operator. More... | |
| void | operator*= (const DoubleMatrix33 &matrix) |
| Multiplication by a matrix operator. More... | |
| void | operator*= (double val) |
| Multiplication by a scalar operator. More... | |
A three-dimensional square matrix using doubles.
| DoubleMatrix33::DoubleMatrix33 | ( | double | val = 0 | ) |
Default constructor. Gives all points the same value.
| val | The value of all the points. |
| DoubleMatrix33::DoubleMatrix33 | ( | const DoubleVec3D & | column0, |
| const DoubleVec3D & | column1, | ||
| const DoubleVec3D & | column2 | ||
| ) |
Main constructor.
| column0 | The value of the first column. |
| column1 | The value of the second column. |
| column2 | The value of the third column. |
| DoubleMatrix33::DoubleMatrix33 | ( | const DoubleMatrix33 & | matrix | ) |
Copy constructor.
| matrix | The matrix that will be copied. |
| DoubleVec3D DoubleMatrix33::getColumn0 | ( | ) | const |
Getter for the first column.
| DoubleVec3D DoubleMatrix33::getColumn1 | ( | ) | const |
Getter for the second column.
| DoubleVec3D DoubleMatrix33::getColumn2 | ( | ) | const |
Getter for the third column.
| DoubleVec3D DoubleMatrix33::getRow0T | ( | ) | const |
Getter for the first row (transposed).
| DoubleVec3D DoubleMatrix33::getRow1T | ( | ) | const |
Getter for the second row (transposed).
| DoubleVec3D DoubleMatrix33::getRow2T | ( | ) | const |
Getter for the third row (transposed).
| void DoubleMatrix33::operator*= | ( | const DoubleMatrix33 & | matrix | ) |
Multiplication by a matrix operator.
| matrix | The second matrix that will be used for the multiplication. |
| void DoubleMatrix33::operator*= | ( | double | val | ) |
Multiplication by a scalar operator.
| val | The scalar that will be used for the multiplication. |
| void DoubleMatrix33::operator+= | ( | const DoubleMatrix33 & | matrix | ) |
Sum operator.
| matrix | The second matrix that will be used for the sum. |
| void DoubleMatrix33::operator-= | ( | const DoubleMatrix33 & | matrix | ) |
Difference operator.
Uses the sum and unary minus operators.
| matrix | The second matrix that will be used for the difference. |
| void DoubleMatrix33::setColumn0 | ( | const DoubleVec3D & | column0 | ) |
Setter for the first column.
| column0 | The first column. |
| void DoubleMatrix33::setColumn1 | ( | const DoubleVec3D & | column1 | ) |
Setter for the second column.
| column1 | The second column. |
| void DoubleMatrix33::setColumn2 | ( | const DoubleVec3D & | column2 | ) |
Setter for the third column.
| column2 | The third column. |