#include <llvosky.h>
Collaboration diagram for LLTranspMapSet:
Public Member Functions | |
LLTranspMapSet () | |
~LLTranspMapSet () | |
void | init (S32 size, F32 first_step, F32 media_height, const LLHaze *const haze) |
S32 | getSize () const |
F32 | getMediaHeight () const |
const LLTranspMap & | getLastTransp () const |
F32 | getLastHeight () const |
const LLTranspMap & | getMap (const S32 n) const |
F32 | getHeight (const S32 n) const |
BOOL | isReady () const |
LLColor3 | calcTransp (const F32 cos_angle, const F32 h) const |
void | calcTransp (const F32 cos_angle, const F32 h, LLColor3 &result) const |
Protected Member Functions | |
S32 | lerp (F32 &dt, S32 &indx, const F32 h) const |
Protected Attributes | |
F32 * | mHeights |
LLTranspMap * | mTransp |
S32 | mSize |
F32 | mMediaHeight |
const LLHaze * | mHaze |
Definition at line 482 of file llvosky.h.
LLTranspMapSet::~LLTranspMapSet | ( | ) |
Definition at line 857 of file llvosky.h.
References LLTranspMap::calcAirTransp(), lerp(), mTransp, NO_STEPS, and S32.
Referenced by LLVOSky::calcBrightnessScaleAndColors(), LLVOSky::calcInScatter(), LLVOSky::calcRadianceAtPoint(), LLVOSky::calcSkyColorInDir(), and LLVOSky::calculateColors().
F32 LLTranspMapSet::getLastHeight | ( | ) | const [inline] |
const LLTranspMap& LLTranspMapSet::getLastTransp | ( | ) | const [inline] |
const LLTranspMap& LLTranspMapSet::getMap | ( | const S32 | n | ) | const [inline] |
F32 LLTranspMapSet::getMediaHeight | ( | ) | const [inline] |
S32 LLTranspMapSet::getSize | ( | ) | const [inline] |
Definition at line 338 of file llvosky.cpp.
References LLTranspMap::init(), mHeights, mMediaHeight, mSize, mTransp, s, and S32.
Referenced by LLVOSky::init().
BOOL LLTranspMapSet::isReady | ( | ) | const [inline] |
Definition at line 888 of file llvosky.h.
References getLastHeight(), mHeights, and S32.
Referenced by calcTransp().
const LLHaze* LLTranspMapSet::mHaze [protected] |
F32* LLTranspMapSet::mHeights [protected] |
Definition at line 485 of file llvosky.h.
Referenced by getHeight(), getLastHeight(), init(), lerp(), and ~LLTranspMapSet().
F32 LLTranspMapSet::mMediaHeight [protected] |
S32 LLTranspMapSet::mSize [protected] |
Definition at line 487 of file llvosky.h.
Referenced by getLastHeight(), getLastTransp(), getSize(), and init().
LLTranspMap* LLTranspMapSet::mTransp [protected] |
Definition at line 486 of file llvosky.h.
Referenced by calcTransp(), getLastTransp(), getMap(), init(), isReady(), and ~LLTranspMapSet().