lux::Intersection Class Reference

#include <primitive.h>

Collaboration diagram for lux::Intersection:
[legend]

List of all members.

Public Member Functions

 Intersection ()
BSDF * GetBSDF (const TsPack *tspack, const RayDifferential &ray) const
SWCSpectrum Le (const TsPack *tspack, const Vector &wo) const
SWCSpectrum Le (const TsPack *tspack, const Ray &ray, const Normal &n, BSDF **bsdf, float *pdf, float *pdfDirect) const
void Set (const Transform &world2object, const Primitive *prim, const Material *mat, const AreaLight *areal=NULL)

Public Attributes

DifferentialGeometry dg
Transform WorldToObject
const Primitive * primitive
const Material * material
const AreaLight * arealight

Detailed Description

Definition at line 162 of file primitive.h.


Constructor & Destructor Documentation

lux::Intersection::Intersection (  )  [inline]

Definition at line 165 of file primitive.h.


Member Function Documentation

BSDF * Intersection::GetBSDF ( const TsPack *  tspack,
const RayDifferential &  ray 
) const
SWCSpectrum Intersection::Le ( const TsPack *  tspack,
const Ray &  ray,
const Normal &  n,
BSDF **  bsdf,
float *  pdf,
float *  pdfDirect 
) const

Definition at line 101 of file primitive.cpp.

References arealight, dg, lux::BSDF::f(), and lux::AreaLight::L().

SWCSpectrum Intersection::Le ( const TsPack *  tspack,
const Vector &  wo 
) const
void lux::Intersection::Set ( const Transform &  world2object,
const Primitive *  prim,
const Material *  mat,
const AreaLight *  areal = NULL 
) [inline]

Member Data Documentation

Definition at line 183 of file primitive.h.

Referenced by GetBSDF(), lux::InstancePrimitive::Intersect(), and Set().


The documentation for this class was generated from the following files:
Generated by  doxygen 1.6.2-20100208