#include <geometry.h>
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 |
Definition at line 200 of file geometry.h.
Ray::Ray | ( | ) | [inline] |
Definition at line 203 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 204 of file geometry.h.
Point Ray::operator() | ( | float | t | ) | const [inline] |
Definition at line 207 of file geometry.h.
Definition at line 209 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(), WhittedIntegrator::Li(), PhotonIntegrator::Li(), IrradianceCache::Li(), IGIIntegrator::Li(), ExPhotonIntegrator::Li(), DirectLighting::Li(), 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().
Definition at line 210 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 211 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 211 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(), GridAccel::Intersect(), Disk::Intersect(), Cylinder::Intersect(), Cone::Intersect(), Triangle::IntersectP(), Sphere::IntersectP(), Paraboloid::IntersectP(), Hyperboloid::IntersectP(), GridAccel::IntersectP(), BBox::IntersectP(), Disk::IntersectP(), Cylinder::IntersectP(), Cone::IntersectP(), PathIntegrator::Li(), Transform::operator()(), operator<<(), and DensityRegion::Tau().
float Ray::time |
Definition at line 212 of file geometry.h.
Referenced by PerspectiveCamera::GenerateRay(), OrthoCamera::GenerateRay(), EnvironmentCamera::GenerateRay(), Transform::operator()(), and operator<<().