The spica renderer
|
The transformation operator class. More...
#include <transform.h>
Public Member Functions | |
Transform (const double mat[4][4]) | |
Transform (const Matrix4x4 &m) | |
Transform (const Matrix4x4 &m, const Matrix4x4 &mInv) | |
Transform (const Transform &t) | |
Transform & | operator= (const Transform &t) |
bool | operator== (const Transform &t) |
bool | operator!= (const Transform &t) |
Transform & | operator*= (const Transform &t) |
Point3d | apply (const Point3d &p) const |
Vector3d | apply (const Vector3d &v) const |
Normal3d | apply (const Normal3d &n) const |
Bounds3d | apply (const Bounds3d &b) const |
bool | isIdentity () const |
Transform | inverted () const |
const Matrix4x4 & | getMat () const |
const Matrix4x4 & | getInvMat () const |
Static Public Member Functions | |
static Transform | mitsubaToPbrt (const Transform &t) |
static Transform | translate (const Vector3d &delta) |
static Transform | scale (double x, double y, double z) |
static Transform | rotate (double theta, const Vector3d &axis) |
static Transform | lookAt (const Point3d &eye, const Point3d &look, const Vector3d &up) |
static Transform | orthographic (double zNear, double zFar) |
static Transform | perspective (double fov, double aspect, double near, double far) |
The transformation operator class.