#include "transform.h"#include "shape.h"Go to the source code of this file.
Functions | |
| ostream & | operator<< (ostream &os, const Transform &t) |
| COREDLL Transform | Translate (const Vector &delta) |
| COREDLL Transform | Scale (float x, float y, float z) |
| Transform | RotateX (float angle) |
| Transform | RotateY (float angle) |
| Transform | RotateZ (float angle) |
| Transform | Rotate (float angle, const Vector &axis) |
| Transform | LookAt (const Point &pos, const Point &look, const Vector &up) |
| Transform COREDLL | Orthographic (float znear, float zfar) |
| COREDLL Transform | Perspective (float fov, float n, float f) |
Definition at line 113 of file transform.cpp.
References Cross(), Matrix4x4::Inverse(), Normalize(), Vector::x, Point::x, Vector::y, Point::y, Vector::z, and Point::z.
Referenced by pbrtLookAt().
| ostream& operator<< | ( | ostream & | os, | |
| const Transform & | t | |||
| ) |
| Transform COREDLL Orthographic | ( | float | znear, | |
| float | zfar | |||
| ) |
| COREDLL Transform Perspective | ( | float | fov, | |
| float | n, | |||
| float | f | |||
| ) |
Definition at line 182 of file transform.cpp.
References Radians(), Scale(), and Transform::Transform().
Referenced by ProjectionLight::ProjectionLight().
Definition at line 84 of file transform.cpp.
References Normalize(), Radians(), Matrix4x4::Transpose(), Vector::x, Vector::y, and Vector::z.
Referenced by pbrtRotate().
| Transform RotateX | ( | float | angle | ) |
| Transform RotateY | ( | float | angle | ) |
| Transform RotateZ | ( | float | angle | ) |
| COREDLL Transform Scale | ( | float | x, | |
| float | y, | |||
| float | z | |||
| ) |
Definition at line 44 of file transform.cpp.
Referenced by Orthographic(), pbrtScale(), Perspective(), and ProjectiveCamera::ProjectiveCamera().
Definition at line 32 of file transform.cpp.
References Vector::x, Vector::y, and Vector::z.
Referenced by CreateLight(), Orthographic(), pbrtTranslate(), and ProjectiveCamera::ProjectiveCamera().
1.5.6