#include <camera.h>
Public Member Functions | |
ProjectiveCamera (const Transform &world2cam, const Transform &proj, const float Screen[4], float hither, float yon, float sopen, float sclose, float lensr, float focald, Film *film) | |
Protected Member Functions | |
bool | GenerateSample (const Point &p, Sample *sample) const |
Protected Attributes | |
Transform | CameraToScreen |
Transform | WorldToScreen |
Transform | RasterToCamera |
Transform | ScreenToRaster |
Transform | RasterToScreen |
Transform | WorldToRaster |
Transform | RasterToWorld |
float | LensRadius |
float | FocalDistance |
Definition at line 62 of file camera.h.
ProjectiveCamera::ProjectiveCamera | ( | const Transform & | world2cam, | |
const Transform & | proj, | |||
const float | Screen[4], | |||
float | hither, | |||
float | yon, | |||
float | sopen, | |||
float | sclose, | |||
float | lensr, | |||
float | focald, | |||
Film * | film | |||
) |
Definition at line 83 of file camera.cpp.
References CameraToScreen, lux::Camera::film, FocalDistance, lux::Transform::GetInverse(), LensRadius, RasterToCamera, RasterToScreen, RasterToWorld, lux::Scale(), ScreenToRaster, lux::Translate(), lux::Camera::WorldToCamera, WorldToRaster, WorldToScreen, lux::Film::xResolution, and lux::Film::yResolution.
Definition at line 105 of file camera.cpp.
References lux::Camera::film, lux::Sample::imageX, lux::Sample::imageY, WorldToRaster, lux::Point::x, lux::Film::xResolution, lux::Point::y, and lux::Film::yResolution.
Referenced by lux::PerspectiveCamera::IsVisibleFromEyes(), and lux::OrthoCamera::IsVisibleFromEyes().
Transform lux::ProjectiveCamera::CameraToScreen [protected] |
Definition at line 73 of file camera.h.
Referenced by ProjectiveCamera().
float lux::ProjectiveCamera::FocalDistance [protected] |
Definition at line 76 of file camera.h.
Referenced by lux::PerspectiveCamera::AutoFocus(), lux::OrthoCamera::AutoFocus(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::PerspectiveCamera::GetSamplePosition(), lux::PerspectiveCamera::IsVisibleFromEyes(), ProjectiveCamera(), and lux::PerspectiveCamera::Sample_W().
float lux::ProjectiveCamera::LensRadius [protected] |
Definition at line 76 of file camera.h.
Referenced by lux::PerspectiveCamera::EvalPositionPdf(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), lux::PerspectiveCamera::GetSamplePosition(), lux::PerspectiveCamera::IsDelta(), lux::PerspectiveCamera::IsVisibleFromEyes(), lux::PerspectiveCamera::PerspectiveCamera(), ProjectiveCamera(), lux::PerspectiveCamera::Sample_W(), and lux::PerspectiveCamera::SamplePosition().
Transform lux::ProjectiveCamera::RasterToCamera [protected] |
Definition at line 73 of file camera.h.
Referenced by lux::PerspectiveCamera::AutoFocus(), lux::OrthoCamera::AutoFocus(), lux::PerspectiveCamera::GenerateRay(), lux::OrthoCamera::GenerateRay(), ProjectiveCamera(), and lux::PerspectiveCamera::Sample_W().
Transform lux::ProjectiveCamera::RasterToScreen [protected] |
Definition at line 74 of file camera.h.
Referenced by ProjectiveCamera().
Transform lux::ProjectiveCamera::RasterToWorld [protected] |
Definition at line 75 of file camera.h.
Referenced by ProjectiveCamera().
Transform lux::ProjectiveCamera::ScreenToRaster [protected] |
Definition at line 74 of file camera.h.
Referenced by ProjectiveCamera().
Transform lux::ProjectiveCamera::WorldToRaster [protected] |
Definition at line 75 of file camera.h.
Referenced by GenerateSample(), lux::PerspectiveCamera::GetSamplePosition(), and ProjectiveCamera().
Transform lux::ProjectiveCamera::WorldToScreen [protected] |
Definition at line 73 of file camera.h.
Referenced by ProjectiveCamera().