#include <llvosky.h>
Collaboration diagram for LLHaze:
Public Member Functions | |
LLHaze () | |
LLHaze (const F32 g, const LLColor3 &sca, const F32 fo=2) | |
LLHaze (const F32 g, const F32 sca, const F32 fo=2) | |
F32 | getG () const |
void | setG (const F32 g) |
const LLColor3 & | getSigSca () const |
void | setSigSca (const LLColor3 &s) |
void | setSigSca (const F32 s0, const F32 s1, const F32 s2) |
F32 | getFalloff () const |
void | setFalloff (const F32 fo) |
F32 | getAbsCoef () const |
LLColor3 | calcSigSca (const F32 h) const |
void | calcSigSca (const F32 h, LLColor3 &result) const |
LLColor3 | calcSigExt (const F32 h) const |
F32 | calcPhase (const F32 cos_theta) const |
Static Public Member Functions | |
static void | initClass () |
static F32 | calcFalloff (const F32 h) |
static LLColor3 | calcAirSca (const F32 h) |
static void | calcAirSca (const F32 h, LLColor3 &result) |
static LLColor3 | calcAirScaSeaLevel () |
static const LLColor3 & | getAirScaSeaLevel () |
Static Public Attributes | |
static LLColor3 | sAirScaSeaLevel |
Protected Attributes | |
F32 | mG |
LLColor3 | mSigSca |
F32 | mFalloff |
F32 | mAbsCoef |
Definition at line 342 of file llvosky.h.
LLHaze::LLHaze | ( | ) | [inline] |
Definition at line 760 of file llvosky.h.
References calcAirScaSeaLevel(), and calcFalloff().
Referenced by LLVOSky::calcInScatter(), LLTranspMap::calcSigExt(), LLVOSky::calcSkyColorInDir(), and LLVOSky::init().
static LLColor3 LLHaze::calcAirScaSeaLevel | ( | ) | [inline, static] |
Definition at line 425 of file llvosky.h.
References gAirScaSeaLevel.
Referenced by calcAirSca(), and initClass().
Definition at line 400 of file llvosky.h.
References ATM_EXP_FALLOFF, and LL_FAST_EXP.
Referenced by calcAirSca(), calcSigExt(), and calcSigSca().
Definition at line 139 of file llvosky.cpp.
References g2, gFastLn, mG, and LLFastLn::pow().
Referenced by LLVOSky::calcInScatter(), and LLVOSky::calcSkyColorInDir().
Definition at line 416 of file llvosky.h.
References calcFalloff(), mAbsCoef, mFalloff, and mSigSca.
Referenced by LLTranspMap::calcSigExt().
Definition at line 405 of file llvosky.h.
References calcFalloff(), mFalloff, and mSigSca.
Referenced by LLVOSky::calcInScatter(), LLVOSky::calcSkyColorInDir(), and LLVOSky::init().
F32 LLHaze::getAbsCoef | ( | ) | const [inline] |
Definition at line 395 of file llvosky.h.
References mAbsCoef.
Referenced by LLVOSky::calcSkyColorInDir().
static const LLColor3& LLHaze::getAirScaSeaLevel | ( | ) | [inline, static] |
F32 LLHaze::getFalloff | ( | ) | const [inline] |
const LLColor3& LLHaze::getSigSca | ( | ) | const [inline] |
Definition at line 368 of file llvosky.h.
References mSigSca.
Referenced by LLVOSky::calcBrightnessScaleAndColors().
void LLHaze::initClass | ( | ) | [static] |
Definition at line 2220 of file llvosky.cpp.
References calcAirScaSeaLevel(), and sAirScaSeaLevel.
Referenced by LLVOSky::initClass().
Definition at line 373 of file llvosky.h.
References color_intens(), mAbsCoef, mSigSca, and s.
Referenced by LLVOSky::updateHaze().
F32 LLHaze::mAbsCoef [protected] |
Definition at line 434 of file llvosky.h.
Referenced by calcSigExt(), getAbsCoef(), LLHaze(), and setSigSca().
F32 LLHaze::mFalloff [protected] |
Definition at line 433 of file llvosky.h.
Referenced by calcSigExt(), calcSigSca(), getFalloff(), and setFalloff().
F32 LLHaze::mG [protected] |
LLColor3 LLHaze::mSigSca [protected] |
Definition at line 432 of file llvosky.h.
Referenced by calcSigExt(), calcSigSca(), getSigSca(), LLHaze(), and setSigSca().
LLColor3 LLHaze::sAirScaSeaLevel [static] |