PinholeCamera Class Reference

#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


Detailed Description

Definition at line 12 of file PinholeCamera.h.


Constructor & Destructor Documentation

PinholeCamera const Point &  eye,
const Point &  lookat,
const Vector up,
double  hfov
 

Definition at line 10 of file PinholeCamera.cc.

~PinholeCamera  )  [virtual]
 

Definition at line 16 of file PinholeCamera.cc.


Member Function Documentation

void makeRay Ray ray,
const RenderContext context,
double  x,
double  y
const [virtual]
 

Implements Camera.

Definition at line 34 of file PinholeCamera.cc.

References Vector::normalize().

void preprocess double  aspect_ratio  )  [virtual]
 

Implements Camera.

Definition at line 20 of file PinholeCamera.cc.

References Cross(), M_PI, and Vector::normalize().


The documentation for this class was generated from the following files:
Generated on Tue Jan 29 21:34:56 2008 for specter by  doxygen 1.4.6