#include <Camera.h>
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 Vec3D & | getDirection ()=0 |
Protected Attributes | |
int | resolutionX |
int | resolutionY |
Definition at line 14 of file Camera.h.
rcrt::Camera::Camera | ( | ) |
Definition at line 6 of file Camera.cpp.
rcrt::Camera::~Camera | ( | ) | [virtual] |
Definition at line 10 of file Camera.cpp.
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.
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().