#include <sphericalfunction.h>
Public Member Functions | |
| MipMapSphericalFunction () | |
| MipMapSphericalFunction (boost::shared_ptr< const MIPMap< RGBColor > > aMipMap, bool flipZ) | |
| void | SetMipMap (boost::shared_ptr< const MIPMap< RGBColor > > aMipMap) |
| RGBColor | f (float phi, float theta) const |
Private Attributes | |
| boost::shared_ptr< const MIPMap< RGBColor > > | mipMap |
A spherical functions that obtains its function values from a mipmap.
Definition at line 72 of file sphericalfunction.h.
| lux::MipMapSphericalFunction::MipMapSphericalFunction | ( | ) |
Definition at line 29 of file sphericalfunction.cpp.
| lux::MipMapSphericalFunction::MipMapSphericalFunction | ( | boost::shared_ptr< const MIPMap< RGBColor > > | aMipMap, | |
| bool | flipZ | |||
| ) |
Definition at line 32 of file sphericalfunction.cpp.
| RGBColor lux::MipMapSphericalFunction::f | ( | float | phi, | |
| float | theta | |||
| ) | const [virtual] |
Evaluates this function for the given direction.
| phi | The angle in the xy plane. | |
| theta | The angle from the z axis. |
Implements lux::SphericalFunction.
Definition at line 36 of file sphericalfunction.cpp.
References SetMipMap().
Referenced by lux::IESSphericalFunction::IESSphericalFunction().
| void lux::MipMapSphericalFunction::SetMipMap | ( | boost::shared_ptr< const MIPMap< RGBColor > > | aMipMap | ) | [inline] |
Definition at line 77 of file sphericalfunction.h.
References mipMap.
Referenced by f(), lux::IESSphericalFunction::IESSphericalFunction(), and lux::IESSphericalFunction::initDummy().
boost::shared_ptr< const MIPMap<RGBColor> > lux::MipMapSphericalFunction::mipMap [private] |
Definition at line 84 of file sphericalfunction.h.
Referenced by SetMipMap().
1.6.2-20100208