rcrt::Camera Class Reference

#include <Camera.h>

Inheritance diagram for rcrt::Camera:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Camera ()
virtual ~Camera ()
virtual Ray getRay (const Point2D &px) const =0
virtual void setResolution (const int &resX, const int &resY)=0
virtual const int & getResolutionX () const
virtual const int & getResolutionY () const
virtual const Vec3DgetDirection ()=0

Protected Attributes

int resolutionX
int resolutionY


Detailed Description

Abstract camera base class.

Definition at line 14 of file Camera.h.


Constructor & Destructor Documentation

rcrt::Camera::Camera (  ) 

Definition at line 6 of file Camera.cpp.

rcrt::Camera::~Camera (  )  [virtual]

Definition at line 10 of file Camera.cpp.


Member Function Documentation

virtual Ray rcrt::Camera::getRay ( const Point2D px  )  const [pure virtual]

Implemented in rcrt::PerspectiveCamera.

Referenced by rcrt::TracingStrategy::trace(), rcrt::SuperMetaTracer::trace(), rcrt::RayCaster::trace(), and rcrt::DebugTracer::trace().

virtual void rcrt::Camera::setResolution ( const int &  resX,
const int &  resY 
) [pure virtual]

Implemented in rcrt::PerspectiveCamera.

const int & rcrt::Camera::getResolutionX (  )  const [virtual]

Definition at line 14 of file Camera.cpp.

References resolutionX.

Referenced by rcrtAnim(), rcrt::StereoMetaTracer::StereoMetaTracer(), testPhoton(), testPhotonRCRT(), rcrt::TracingStrategy::trace(), rcrt::StereoMetaTracer::trace(), rcrt::RayCaster::trace(), and rcrt::DebugTracer::trace().

const int & rcrt::Camera::getResolutionY (  )  const [virtual]

Definition at line 19 of file Camera.cpp.

References resolutionY.

Referenced by rcrtAnim(), rcrt::StereoMetaTracer::StereoMetaTracer(), testPhoton(), testPhotonRCRT(), rcrt::TracingStrategy::trace(), rcrt::StereoMetaTracer::trace(), rcrt::RayCaster::trace(), and rcrt::DebugTracer::trace().

virtual const Vec3D& rcrt::Camera::getDirection (  )  [pure virtual]

Implemented in rcrt::PerspectiveCamera.


Member Data Documentation

int rcrt::Camera::resolutionX [protected]

Definition at line 17 of file Camera.h.

Referenced by rcrt::PerspectiveCamera::getRay(), getResolutionX(), rcrt::PerspectiveCamera::setAngle(), rcrt::PerspectiveCamera::setResolution(), and rcrt::PerspectiveCamera::update().

int rcrt::Camera::resolutionY [protected]

Definition at line 18 of file Camera.h.

Referenced by rcrt::PerspectiveCamera::getRay(), getResolutionY(), rcrt::PerspectiveCamera::setAngle(), rcrt::PerspectiveCamera::setResolution(), and rcrt::PerspectiveCamera::update().


The documentation for this class was generated from the following files:
Generated on Thu Jan 31 19:32:21 2008 for RenderingCompetitionRayTracer by  doxygen 1.5.3