#include <PinholeCamera.h>
Inherits Camera.
Public Member Functions | |
PinholeCamera (const Point &eye, const Point &lookat, const Vector &up, double hfov) | |
virtual | ~PinholeCamera () |
virtual void | preprocess (double aspect_ratio) |
virtual void | makeRay (Ray &ray, const RenderContext &context, double x, double y) const |
Definition at line 12 of file PinholeCamera.h.
|
Definition at line 10 of file PinholeCamera.cc. |
|
Definition at line 16 of file PinholeCamera.cc. |
|
Implements Camera. Definition at line 34 of file PinholeCamera.cc. References Vector::normalize(). |
|
Implements Camera. Definition at line 20 of file PinholeCamera.cc. References Cross(), M_PI, and Vector::normalize(). |