#include <cassert>#include <iosfwd>#include "Vec3f.h"#include "Ray.h"Include dependency graph for Matrix.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | Matrix |
Functions | |
| Matrix | operator * (const Matrix &m, const float f) |
| Matrix | operator * (const float f, const Matrix &m) |
| Vec3f | operator * (const Matrix &m, const Vec3f &point) |
| Vec3f | operator * (const Vec3f &point, const Matrix &m) |
| Ray | operator * (const Matrix &m, const Ray &r) |
| Ray | operator * (const Ray &, const Matrix &) |
| Matrix | operator * (const Matrix &m1, const Matrix &m2) |
| std::ostream & | operator<< (std::ostream &o, const Matrix &m) |
Multiply a matrix with a ray. This transforms the ray's coordinate system as given by the matrix. All attributes are either transformed accordingly or preserved.
Definition at line 306 of file Matrix.h.
References Ray::dir(), Ray::hit(), Ray::influence(), Ray::init(), Vec3f::length(), Ray::obj(), Ray::org(), Ray::recDeep(), Ray::setHit(), Ray::setInfluence(), Ray::setObj(), Ray::setUV(), Ray::t(), Matrix::transformVector(), Ray::u(), and Ray::v().
Multiply a 3D point with a matrix (and doing the right transformation from 4 dim to 3 dim)
Definition at line 281 of file Matrix.h.
References LOG, and Matrix::mValues.
Multiply a matrix with a 3D point (and doing the right transformation from 4 dim to 3 dim)
Definition at line 262 of file Matrix.h.
References Matrix::mValues.
| std::ostream& operator<< | ( | std::ostream & | o, | |
| const Matrix & | m | |||
| ) |
1.5.1