#include <LightMap.h>
Inheritance diagram for LightMap:
Public Types | |
enum | MapIndex { LEFT_MAP = 0, RIGHT_MAP = 1, NEAR_MAP = 2, FAR_MAP = 3, BOTTOM_MAP = 4, TOP_MAP = 5 } |
enum | Type { UNKNOWN, POLYGONAL, MAP2D, MAP3D } |
Public Member Functions | |
LightMap (unsigned, unsigned, const Vector3 &, const Vector3 &) | |
~LightMap () | |
virtual bool | getPointEnergy (const Vector3 &, Vector3 &) |
virtual bool | setPointEnergy (const Vector3 &, const Vector3 &) |
bool | setValue (MapIndex, unsigned, unsigned, const Color3f &) |
bool | getValue (MapIndex, unsigned, unsigned, Color3f &) const |
bool | getMapCoords (const Vector3 &, MapIndex &, unsigned &, unsigned &) const |
Vector3 | centroid (void) const |
Vector3 | extent (void) const |
virtual Type | type (void) const |
unsigned | uRes (void) const |
unsigned | vRes (void) const |
Protected Attributes | |
Color3f ** | _lightMap |
Vector3 | _centroid |
Vector3 | _extent |
unsigned | _uRes |
unsigned | _vRes |
Geometry * | _pGeometry |
Definition at line 10 of file LightMap.h.
|
Definition at line 12 of file LightMap.h. |
|
Definition at line 14 of file EnergyCoat.h. |
|
Definition at line 5 of file LightMap.cc. References LightMap::_lightMap, EnergyMap::_uRes, and EnergyMap::_vRes. |
|
Definition at line 20 of file LightMap.cc. References LightMap::_lightMap, and EnergyMap::_vRes. |
|
Definition at line 48 of file LightMap.h. |
|
Definition at line 49 of file LightMap.h. |
|
Definition at line 58 of file LightMap.cc. References LightMap::_centroid, EnergyMap::_uRes, EnergyMap::_vRes, LightMap::BOTTOM_MAP, LightMap::FAR_MAP, LightMap::LEFT_MAP, LightMap::NEAR_MAP, PI, LightMap::RIGHT_MAP, and LightMap::TOP_MAP. Referenced by LightMap::getPointEnergy(), and LightMap::setPointEnergy(). |
|
Implements EnergyMap. Definition at line 26 of file LightMap.cc. References LightMap::_lightMap, EnergyMap::_vRes, and LightMap::getMapCoords(). |
|
Definition at line 51 of file LightMap.cc. References LightMap::_lightMap, EnergyMap::_uRes, and EnergyMap::_vRes. |
|
Implements EnergyMap. Definition at line 35 of file LightMap.cc. References LightMap::_lightMap, EnergyMap::_vRes, and LightMap::getMapCoords(). |
|
Definition at line 44 of file LightMap.cc. References LightMap::_lightMap, EnergyMap::_uRes, and EnergyMap::_vRes. |
|
Reimplemented from EnergyCoat. Definition at line 18 of file EnergyMap.h. |
|
Definition at line 26 of file EnergyMap.h. |
|
Definition at line 27 of file EnergyMap.h. |
|
Definition at line 23 of file LightMap.h. Referenced by LightMap::getMapCoords(). |
|
Definition at line 24 of file LightMap.h. |
|
Definition at line 22 of file LightMap.h. Referenced by LightMap::getPointEnergy(), LightMap::getValue(), LightMap::LightMap(), LightMap::setPointEnergy(), LightMap::setValue(), and LightMap::~LightMap(). |
|
Definition at line 22 of file EnergyCoat.h. |
|
Definition at line 12 of file EnergyMap.h. Referenced by LightMap::getMapCoords(), LightMap::getValue(), LightMap::LightMap(), and LightMap::setValue(). |
|
Definition at line 13 of file EnergyMap.h. Referenced by LightMap::getMapCoords(), LightMap::getPointEnergy(), LightMap::getValue(), LightMap::LightMap(), LightMap::setPointEnergy(), LightMap::setValue(), and LightMap::~LightMap(). |