Ray Class Reference

#include <geometry.h>

Inheritance diagram for Ray:

RayDifferential List of all members.

Public Member Functions

 Ray ()
 Ray (const Point &origin, const Vector &direction, float start=RAY_EPSILON, float end=INFINITY, float t=0.f)
Point operator() (float t) const

Public Attributes

Point o
Vector d
float mint
float maxt
float time

Detailed Description

Definition at line 187 of file geometry.h.


Constructor & Destructor Documentation

Ray::Ray (  )  [inline]

Definition at line 190 of file geometry.h.

Ray::Ray ( const Point origin,
const Vector direction,
float  start = RAY_EPSILON,
float  end = INFINITY,
float  t = 0.f 
) [inline]

Definition at line 191 of file geometry.h.


Member Function Documentation

Point Ray::operator() ( float  t  )  const [inline]

Definition at line 194 of file geometry.h.


Member Data Documentation

Point Ray::o

Definition at line 196 of file geometry.h.

Referenced by DifferentialGeometry::ComputeDifferentials(), BidirIntegrator::generatePath(), PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), Triangle::Intersect(), Sphere::Intersect(), Paraboloid::Intersect(), KdTreeAccel::Intersect(), Hyperboloid::Intersect(), Disk::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Triangle::IntersectP(), Sphere::IntersectP(), Paraboloid::IntersectP(), KdTreeAccel::IntersectP(), Hyperboloid::IntersectP(), BBox::IntersectP(), Disk::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), Transform::operator()(), operator<<(), SpotLight::Sample_L(), ProjectionLight::Sample_L(), PointLight::Sample_L(), InfiniteAreaLightIS::Sample_L(), InfiniteAreaLight::Sample_L(), GonioPhotometricLight::Sample_L(), DistantLight::Sample_L(), AreaLight::Sample_L(), and DensityRegion::Tau().

Vector Ray::d

Definition at line 197 of file geometry.h.

Referenced by DifferentialGeometry::ComputeDifferentials(), BidirIntegrator::generatePath(), PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), IrradianceCache::IndirectLo(), Triangle::Intersect(), Sphere::Intersect(), Paraboloid::Intersect(), KdTreeAccel::Intersect(), Hyperboloid::Intersect(), GridAccel::Intersect(), Disk::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Triangle::IntersectP(), Sphere::IntersectP(), Paraboloid::IntersectP(), KdTreeAccel::IntersectP(), Hyperboloid::IntersectP(), GridAccel::IntersectP(), BBox::IntersectP(), Disk::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), InfiniteAreaLightIS::Le(), InfiniteAreaLight::Le(), WhittedIntegrator::Li(), SingleScattering::Li(), PhotonIntegrator::Li(), PathIntegrator::Li(), IrradianceCache::Li(), IGIIntegrator::Li(), ExPhotonIntegrator::Li(), EmissionIntegrator::Li(), DirectLighting::Li(), Transform::operator()(), operator<<(), PhotonIntegrator::Preprocess(), IGIIntegrator::Preprocess(), ExPhotonIntegrator::Preprocess(), SpotLight::Sample_L(), ProjectionLight::Sample_L(), PointLight::Sample_L(), InfiniteAreaLightIS::Sample_L(), InfiniteAreaLight::Sample_L(), GonioPhotometricLight::Sample_L(), DistantLight::Sample_L(), AreaLight::Sample_L(), and DensityRegion::Tau().

float Ray::mint [mutable]

Definition at line 198 of file geometry.h.

Referenced by PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), Sphere::Intersect(), Paraboloid::Intersect(), Hyperboloid::Intersect(), GridAccel::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Sphere::IntersectP(), Paraboloid::IntersectP(), Hyperboloid::IntersectP(), GridAccel::IntersectP(), BBox::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), Transform::operator()(), operator<<(), and DensityRegion::Tau().

float Ray::maxt [mutable]

Definition at line 198 of file geometry.h.

Referenced by PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), IrradianceCache::IndirectLo(), Triangle::Intersect(), Sphere::Intersect(), GeometricPrimitive::Intersect(), InstancePrimitive::Intersect(), Paraboloid::Intersect(), KdTreeAccel::Intersect(), Hyperboloid::Intersect(), Disk::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Triangle::IntersectP(), Sphere::IntersectP(), Paraboloid::IntersectP(), Hyperboloid::IntersectP(), BBox::IntersectP(), Disk::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), PathIntegrator::Li(), Transform::operator()(), operator<<(), and DensityRegion::Tau().

float Ray::time

Definition at line 199 of file geometry.h.

Referenced by PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), Transform::operator()(), and operator<<().


The documentation for this class was generated from the following file:
Generated on Wed Sep 26 14:01:27 2007 for pbrt by  doxygen 1.5.1