#include <IrradianceCache.h>
Public Member Functions | |
Value () | |
Value (const Vector3 &pos, const Vector3 &normal, const Color3f &irrad, float meanDistance) | |
~Value () | |
bool | checkDomain (const Vector3 &position, const Vector3 &normal, float maxError) |
float | getWeight () const |
const Color3f & | getIrradiance () const |
const Vector3 & | getPosition () const |
const Vector3 & | getNormal () const |
const float | getMeanDistance () const |
Friends | |
ostream & | operator<< (ostream &out, const Value &irradValue) |
Definition at line 142 of file IrradianceCache.h.
|
Implicit contructor Definition at line 136 of file IrradianceCache.cc. |
|
Constructor.
Definition at line 146 of file IrradianceCache.cc. |
|
Destructor. Definition at line 172 of file IrradianceCache.h. |
|
Checks whether the given 3D point is inside the domain of the illuminance value (checks weight and geometry). If the point lies in the domain then weight is stored in the weight attribute and true is returned. Otherwise the weight attribute is invalid.
Definition at line 159 of file IrradianceCache.cc. |
|
Definition at line 226 of file IrradianceCache.h. |
|
harmonic mean distance Definition at line 241 of file IrradianceCache.h. |
|
Definition at line 236 of file IrradianceCache.h. |
|
Definition at line 231 of file IrradianceCache.h. |
|
Definition at line 221 of file IrradianceCache.h. |
|
Prints out values:
Definition at line 208 of file IrradianceCache.h. |