|
Path Tracer
|
#include "DoubleMatrix33.h"Functions | |
| DoubleMatrix33 | operator+ (const DoubleMatrix33 &matrix1, const DoubleMatrix33 &matrix2) |
| Sum operator. More... | |
| DoubleMatrix33 | operator- (const DoubleMatrix33 &matrix) |
| Unary minus operator. More... | |
| DoubleMatrix33 | operator- (const DoubleMatrix33 &matrix1, const DoubleMatrix33 &matrix2) |
| Difference operator. More... | |
| DoubleMatrix33 | operator* (const DoubleMatrix33 &matrix1, const DoubleMatrix33 &matrix2) |
| Matrix product operator. More... | |
| DoubleVec3D | operator* (const DoubleMatrix33 &matrix, const DoubleVec3D &vec) |
| Matrix-vector product operator. More... | |
| DoubleMatrix33 | getRotationMatrixX (double roll) |
| Rotation matrix around the x axis. More... | |
| DoubleMatrix33 | getRotationMatrixY (double pitch) |
| Rotation matrix around the y axis. More... | |
| DoubleMatrix33 | getRotationMatrixZ (double yaw) |
| Rotation matrix around the z axis. More... | |
| DoubleMatrix33 | getRotationMatrixXYZ (double roll, double pitch, double yaw) |
| Rotation matrix around the z, y and then x axis. More... | |
| DoubleMatrix33 | getRotationMatrixXYZ (const DoubleVec3D &angles) |
| Rotation matrix around the z, y and then x axis. More... | |
| DoubleMatrix33 | getScalingMatrixX (double x) |
| Scaling matrix on the x axis. More... | |
| DoubleMatrix33 | getScalingMatrixY (double y) |
| Scaling matrix on the y axis. More... | |
| DoubleMatrix33 | getScalingMatrixZ (double z) |
| Scaling matrix on the z axis. More... | |
| DoubleMatrix33 | getScalingMatrixXYZ (double x, double y, double z) |
| Scaling matrix on the x, y and z axis. More... | |
| DoubleMatrix33 | getScalingMatrixXYZ (const DoubleVec3D &values) |
| Scaling matrix on the x, y and z axis. More... | |
| DoubleMatrix33 getRotationMatrixX | ( | double | roll | ) |
Rotation matrix around the x axis.
| roll | The angle of the rotation. |
| DoubleMatrix33 getRotationMatrixXYZ | ( | const DoubleVec3D & | angles | ) |
Rotation matrix around the z, y and then x axis.
| angles | The first coordinate of this vector is the rotation around the x axis, the second one is the rotation around the y axis and the last one is the rotation around the z axis. |
| DoubleMatrix33 getRotationMatrixXYZ | ( | double | roll, |
| double | pitch, | ||
| double | yaw | ||
| ) |
Rotation matrix around the z, y and then x axis.
| roll | Angle of the rotation around the x axis. |
| pitch | Angle of the rotation around the y axis. |
| yaw | Angle of the rotation around the z axis. |
| DoubleMatrix33 getRotationMatrixY | ( | double | pitch | ) |
Rotation matrix around the y axis.
| pitch | The angle of the rotation. |
| DoubleMatrix33 getRotationMatrixZ | ( | double | yaw | ) |
Rotation matrix around the z axis.
| yaw | The angle of the rotation. |
| DoubleMatrix33 getScalingMatrixX | ( | double | x | ) |
Scaling matrix on the x axis.
| x | The factor of the scaling. |
| DoubleMatrix33 getScalingMatrixXYZ | ( | const DoubleVec3D & | values | ) |
Scaling matrix on the x, y and z axis.
| values | The first coordinate of this vector is the scaling on the x axis, the second one is the scaling on the y axis and the last one is the scaling on the z axis. |
| DoubleMatrix33 getScalingMatrixXYZ | ( | double | x, |
| double | y, | ||
| double | z | ||
| ) |
Scaling matrix on the x, y and z axis.
| x | The factor of the scaling on the x axis. |
| y | The factor of the scaling on the y axis. |
| z | The factor of the scaling on the z axis. |
| DoubleMatrix33 getScalingMatrixY | ( | double | y | ) |
Scaling matrix on the y axis.
| y | The factor of the scaling. |
| DoubleMatrix33 getScalingMatrixZ | ( | double | z | ) |
Scaling matrix on the z axis.
| z | The factor of the scaling. |
| DoubleVec3D operator* | ( | const DoubleMatrix33 & | matrix, |
| const DoubleVec3D & | vec | ||
| ) |
Matrix-vector product operator.
| matrix | The matrix for the product. |
| vec | The vector for the product. |
| DoubleMatrix33 operator* | ( | const DoubleMatrix33 & | matrix1, |
| const DoubleMatrix33 & | matrix2 | ||
| ) |
Matrix product operator.
Uses the operator*=() method.
| matrix1 | The first matrix for the product. |
| matrix2 | The second matrix for the product. |
| DoubleMatrix33 operator+ | ( | const DoubleMatrix33 & | matrix1, |
| const DoubleMatrix33 & | matrix2 | ||
| ) |
Sum operator.
Uses the DoubleMatrix33::operator+=(const DoubleMatrix33& matrix) method.
| matrix1 | The first matrix for the sum. |
| matrix2 | The second matrix for the sum. |
| DoubleMatrix33 operator- | ( | const DoubleMatrix33 & | matrix | ) |
Unary minus operator.
Uses the DoubleMatrix33::operator*=(double val) method.
| matrix | The matrix that will be inversed. |
| DoubleMatrix33 operator- | ( | const DoubleMatrix33 & | matrix1, |
| const DoubleMatrix33 & | matrix2 | ||
| ) |
Difference operator.
Uses the DoubleMatrix33::operator-=(const DoubleMatrix33& matrix) method.
| matrix1 | The first matrix for the difference. |
| matrix2 | The second matrix for the difference. |