OrientedEmitter Class Reference
Area emitter / light which emits light uniformly across a 2D domain, defined at a single point in 3-space, and restricted to the local positive hemisphere (oriented along hemisphere about local surface normal). More...
#include <OrientedEmitter.h>
Inheritance diagram for OrientedEmitter:

Public Member Functions | |
Constructors | |
| OrientedEmitter (SurfacePoint &pt, Material *parent=NULL) | |
| virtual | ~OrientedEmitter () |
Main usage interface | |
| virtual SpectralSampleSet | getLe (const Vector3 &wo) |
| virtual void | setWi (const Vector3 &wi) |
| Sets the incident vector, wi, for this BSDF. All BSDF sampling is with respect to the current value of wi. | |
Detailed Description
Area emitter / light which emits light uniformly across a 2D domain, defined at a single point in 3-space, and restricted to the local positive hemisphere (oriented along hemisphere about local surface normal).
- Date:
- Fall 2008
Definition at line 19 of file OrientedEmitter.h.
Constructor & Destructor Documentation
| OrientedEmitter::OrientedEmitter | ( | SurfacePoint & | pt, | |
| Material * | parent = NULL | |||
| ) | [inline] |
Definition at line 24 of file OrientedEmitter.h.
| virtual OrientedEmitter::~OrientedEmitter | ( | ) | [inline, virtual] |
Definition at line 28 of file OrientedEmitter.h.
Member Function Documentation
| SpectralSampleSet OrientedEmitter::getLe | ( | const Vector3 & | wo | ) | [virtual] |
- Returns:
- the spectral radiance emitted along the given vector
Implements Emitter.
Definition at line 16 of file OrientedEmitter.cpp.
| void OrientedEmitter::setWi | ( | const Vector3 & | wi | ) | [virtual] |
Sets the incident vector, wi, for this BSDF. All BSDF sampling is with respect to the current value of wi.
Reimplemented from BSDF.
Definition at line 23 of file OrientedEmitter.cpp.
The documentation for this class was generated from the following files:
Generated on 28 Feb 2009 for Milton by
1.5.6