Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

ThinLensCamera Class Reference

A ThinLensCamera model. More...

#include <cameras/ThinLensCamera.h>

Inheritance diagram for ThinLensCamera:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ThinLensCamera (const ThinLensCamera &orig)
 ThinLensCamera (Vector3 c, Vector3 gaze, Vector3 vup, double aperture, double left, double right, double bottom, double top, double distance)
Ray getRay (double a, double b, double x1, double x2, Context &c) const

Detailed Description

A ThinLensCamera model.

Todo:
Change square lens to a disk


Member Function Documentation

Ray ThinLensCamera::getRay double  a,
double  b,
double  x1,
double  x2,
Context c
const [inline, virtual]
 

Given parameters that describe the position on the image and a pair of lens samples, generate a Ray.

Parameters:
[in] a Linearly interpolates between left and right of image.
[in] b Linearly interpolates between bottom and top of image.
[in] x1 Lens seed.
[in] x2 Lens seed.
[in] c Rendering context.

Implements Camera.


The documentation for this class was generated from the following file:
Generated on Wed Jul 20 16:15:29 2005 for galileo by  doxygen 1.4.3