#include <sphericalfunction.h>
Public Member Functions | |
virtual | ~SphericalFunction () |
RGBColor | f (const Vector &w) const |
virtual RGBColor | f (float phi, float theta) const =0 |
A simple interface for functions on a sphere.
Definition at line 35 of file sphericalfunction.h.
virtual lux::SphericalFunction::~SphericalFunction | ( | ) | [inline, virtual] |
Definition at line 37 of file sphericalfunction.h.
virtual RGBColor lux::SphericalFunction::f | ( | float | phi, | |
float | theta | |||
) | const [pure virtual] |
Evaluates this function for the given direction.
phi | The angle in the xy plane. | |
theta | The angle from the z axis. |
Implemented in HemiSphereSphericalFunction, lux::NoopSphericalFunction, lux::MipMapSphericalFunction, lux::CompositeSphericalFunction, and lux::SampleableSphericalFunction.
Evaluates this function for the given direction.
w | A normalized direction. |
Definition at line 46 of file sphericalfunction.h.
References lux::SphericalPhi(), and lux::SphericalTheta().