PinholeCamera.cpp

Go to the documentation of this file.
00001 /**<!-------------------------------------------------------------------->
00002    @file   PinholeCamera.cpp
00003    @author Travis Fischer (fisch0920@gmail.com)
00004    @date   Fall 2008
00005    
00006    @brief
00007       Basic pinhole camera using perspective projection (aka Camera Obscura)
00008    
00009    @note
00010       A pinhole camera is a special case of the thin lens model, in which the 
00011    camera's aperture is infinitesmally small such that all rays which pass 
00012    through the aperture focus at one unique location on the film plane.
00013    PinholeCamera, therefore, subclasses ThinLensCamera.
00014    <!-------------------------------------------------------------------->**/
00015 
00016 #include "PinholeCamera.h"
00017 #include <algebra.h>
00018 
00019 void PinholeCamera::init(Scene *scene) {
00020    insert("aperture", 0);
00021    
00022    ThinLensCamera::init(scene);
00023 }
00024 

Generated on 28 Feb 2009 for Milton by doxygen 1.5.6