#include <intersection.h>
Public Member Functions | |
Intersection () | |
BSDF * | GetBSDF (const RayDifferential &ray, MemoryArena &arena) const |
BSSRDF * | GetBSSRDF (const RayDifferential &ray, MemoryArena &arena) const |
Spectrum | Le (const Vector &wo) const |
Public Attributes | |
DifferentialGeometry | dg |
const Primitive * | primitive |
Transform | WorldToObject |
Transform | ObjectToWorld |
uint32_t | shapeId |
uint32_t | primitiveId |
float | rayEpsilon |
Definition at line 37 of file intersection.h.
Intersection::Intersection | ( | ) | [inline] |
Definition at line 39 of file intersection.h.
References primitive, primitiveId, rayEpsilon, and shapeId.
BSDF * Intersection::GetBSDF | ( | const RayDifferential & | ray, | |
MemoryArena & | arena | |||
) | const |
Definition at line 33 of file intersection.cpp.
References DifferentialGeometry::ComputeDifferentials(), dg, Primitive::GetBSDF(), ObjectToWorld, and primitive.
Referenced by GeneratePath(), WhittedIntegrator::Li(), UseRadianceProbes::Li(), PhotonIntegrator::Li(), PathIntegrator::Li(), IrradianceCacheIntegrator::Li(), IGIIntegrator::Li(), GlossyPRTIntegrator::Li(), DirectLightingIntegrator::Li(), DipoleSubsurfaceIntegrator::Li(), DiffusePRTIntegrator::Li(), AmbientOcclusionIntegrator::Li(), IrradianceCacheIntegrator::pathL(), IGIIntegrator::Preprocess(), and PhotonShootingTask::Run().
BSSRDF * Intersection::GetBSSRDF | ( | const RayDifferential & | ray, | |
MemoryArena & | arena | |||
) | const |
Definition at line 43 of file intersection.cpp.
References DifferentialGeometry::ComputeDifferentials(), dg, Primitive::GetBSSRDF(), ObjectToWorld, and primitive.
Referenced by DipoleSubsurfaceIntegrator::Li(), and SurfacePointTask::Run().
Definition at line 53 of file intersection.cpp.
References dg, Primitive::GetAreaLight(), AreaLight::L(), DifferentialGeometry::nn, DifferentialGeometry::p, and primitive.
Referenced by EstimateDirect(), MetropolisRenderer::Lbidir(), WhittedIntegrator::Li(), UseRadianceProbes::Li(), PhotonIntegrator::Li(), PathIntegrator::Li(), IrradianceCacheIntegrator::Li(), IGIIntegrator::Li(), GlossyPRTIntegrator::Li(), DirectLightingIntegrator::Li(), DipoleSubsurfaceIntegrator::Li(), DiffusePRTIntegrator::Li(), MetropolisRenderer::Lpath(), and IrradianceCacheIntegrator::pathL().
Definition at line 49 of file intersection.h.
Referenced by GetBSDF(), GetBSSRDF(), GeometricPrimitive::Intersect(), TransformedPrimitive::Intersect(), Le(), PhotonIntegrator::Li(), IrradianceCacheIntegrator::Li(), IGIIntegrator::Li(), AmbientOcclusionIntegrator::Li(), LPhoton(), IGIIntegrator::Preprocess(), CreateRadianceProbes::Render(), SurfacePointTask::Run(), PhotonShootingTask::Run(), SpecularReflect(), and SpecularTransmit().
Definition at line 51 of file intersection.h.
Referenced by GetBSDF(), GetBSSRDF(), GeometricPrimitive::Intersect(), and TransformedPrimitive::Intersect().
const Primitive* Intersection::primitive |
Definition at line 50 of file intersection.h.
Referenced by EstimateDirect(), GetBSDF(), GetBSSRDF(), GeometricPrimitive::Intersect(), Intersection(), and Le().
uint32_t Intersection::primitiveId |
Definition at line 52 of file intersection.h.
Referenced by GeometricPrimitive::Intersect(), TransformedPrimitive::Intersect(), and Intersection().
float Intersection::rayEpsilon |
Definition at line 53 of file intersection.h.
Referenced by GeneratePath(), GeometricPrimitive::Intersect(), Intersection(), MetropolisRenderer::Lbidir(), WhittedIntegrator::Li(), UseRadianceProbes::Li(), PhotonIntegrator::Li(), PathIntegrator::Li(), IrradianceCacheIntegrator::Li(), IGIIntegrator::Li(), GlossyPRTIntegrator::Li(), DirectLightingIntegrator::Li(), DipoleSubsurfaceIntegrator::Li(), DiffusePRTIntegrator::Li(), MetropolisRenderer::Lpath(), IrradianceCacheIntegrator::pathL(), IGIIntegrator::Preprocess(), CreateRadianceProbes::Render(), AggregateTest::Render(), SurfacePointTask::Run(), PhotonShootingTask::Run(), SpecularReflect(), and SpecularTransmit().
uint32_t Intersection::shapeId |
Definition at line 52 of file intersection.h.
Referenced by GeometricPrimitive::Intersect(), and Intersection().
Definition at line 51 of file intersection.h.
Referenced by GeometricPrimitive::Intersect(), and TransformedPrimitive::Intersect().