#include <PhotonMapEnergy.h>
Inheritance diagram for PhotonMapEnergy:
Public Types | |
enum | Type { UNKNOWN, POLYGONAL, MAP2D, MAP3D } |
Public Member Functions | |
PhotonMapEnergy () | |
virtual | ~PhotonMapEnergy () |
virtual Type | type (void) const |
const PhotonMap * | getGlobalMap () const |
const PhotonMap * | getCausticsMap () const |
IrradianceCache *const | getIrradianceCache () |
void | storeGlobalPhoton (const Photon &photon) |
void | storeCausticPhoton (const Photon &photon) |
bool | buildGlobalMap () |
bool | buildCausticsMap () |
bool | buildIrradianceCache (float wFactor, float dist) |
bool | isGlobalMapBuilt () const |
bool | isCausticsMapBuilt () const |
unsigned | numGlobalPhotons () const |
unsigned | numCausticPhotons () const |
PhotonsIterator * | globalMapIterator () const |
PhotonsIterator * | causticsMapIterator () const |
Protected Attributes | |
vector< Photon > | _globalPhotons |
vector< Photon > | _causticPhotons |
PhotonMap * | _pGlobalMap |
PhotonMap * | _pCausticsMap |
IrradianceCache * | _pIrradCache |
Geometry * | _pGeometry |
Definition at line 19 of file PhotonMapEnergy.h.
|
Definition at line 14 of file EnergyCoat.h. |
|
Implicit cosntructor with empty maps. Definition at line 31 of file PhotonMapEnergy.h. |
|
Destructor. Never deletes stored photons! Use clearPhotons() to delete them. Definition at line 41 of file PhotonMapEnergy.h. |
|
Builds the map from list of photons. This operation can be invoked only once.
Definition at line 106 of file PhotonMapEnergy.h. |
|
Builds the map from list of photons. This operation can be invoked only once.
Definition at line 93 of file PhotonMapEnergy.h. |
|
Builds an empty irradiance cache, deletes the old one if exists.
Definition at line 121 of file PhotonMapEnergy.h. |
|
Definition at line 176 of file PhotonMapEnergy.h. |
|
Definition at line 58 of file PhotonMapEnergy.h. |
|
Definition at line 52 of file PhotonMapEnergy.h. |
|
Definition at line 63 of file PhotonMapEnergy.h. |
|
Definition at line 169 of file PhotonMapEnergy.h. |
|
Definition at line 148 of file PhotonMapEnergy.h. |
|
Definition at line 141 of file PhotonMapEnergy.h. |
|
Definition at line 162 of file PhotonMapEnergy.h. |
|
Definition at line 155 of file PhotonMapEnergy.h. |
|
Appends photon to the list of photons for later photon map creation. This operation has no effect if the map was alredy built, see buildCausticsMap().
Definition at line 83 of file PhotonMapEnergy.h. |
|
Appends photon to the list of photons for later photon map creation. This operation has no effect if the map was alredy built, see buildGlobalMap().
Definition at line 72 of file PhotonMapEnergy.h. |
|
Reimplemented from EnergyCoat. Definition at line 46 of file PhotonMapEnergy.h. |
|
Definition at line 22 of file PhotonMapEnergy.h. |
|
Definition at line 21 of file PhotonMapEnergy.h. |
|
Definition at line 24 of file PhotonMapEnergy.h. |
|
Definition at line 22 of file EnergyCoat.h. |
|
Definition at line 23 of file PhotonMapEnergy.h. |
|
Definition at line 25 of file PhotonMapEnergy.h. |