#include <llvosky.h>
Public Member Functions | |
LLHaze () | |
LLHaze (const F32 g, const LLColor3 &sca, const F32 fo=2.f) | |
LLHaze (const F32 g, const F32 sca, const F32 fo=2.f) | |
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 317 of file llvosky.h.
LLHaze::LLHaze | ( | ) | [inline] |
Definition at line 320 of file llvosky.h.
References mSigSca, and LLColor3::setToBlack().
Definition at line 321 of file llvosky.h.
References color_intens(), mAbsCoef, and mSigSca.
void LLHaze::initClass | ( | void | ) | [static] |
Definition at line 2144 of file llvosky.cpp.
References calcAirScaSeaLevel(), and sAirScaSeaLevel.
Referenced by LLVOSky::initClass().
const LLColor3& LLHaze::getSigSca | ( | ) | const [inline] |
void LLHaze::setSigSca | ( | const LLColor3 & | s | ) | [inline] |
Definition at line 348 of file llvosky.h.
References color_intens(), mAbsCoef, and mSigSca.
F32 LLHaze::getFalloff | ( | ) | const [inline] |
void LLHaze::setFalloff | ( | const F32 | fo | ) | [inline] |
F32 LLHaze::getAbsCoef | ( | ) | const [inline] |
Definition at line 375 of file llvosky.h.
References ATM_EXP_FALLOFF, and LL_FAST_EXP.
Referenced by calcAirSca(), calcSigExt(), and calcSigSca().
Definition at line 380 of file llvosky.h.
References calcFalloff(), mFalloff, and mSigSca.
Referenced by LLVOSky::init().
Definition at line 385 of file llvosky.h.
References calcFalloff(), mFalloff, and mSigSca.
Definition at line 148 of file llvosky.cpp.
References g2, mG, and LLFastLn::pow().
Definition at line 660 of file llvosky.h.
References calcAirScaSeaLevel(), and calcFalloff().
Referenced by LLVOSky::init().
Definition at line 666 of file llvosky.h.
References calcAirScaSeaLevel(), and calcFalloff().
static LLColor3 LLHaze::calcAirScaSeaLevel | ( | ) | [inline, static] |
Definition at line 400 of file llvosky.h.
Referenced by calcAirSca(), and initClass().
static const LLColor3& LLHaze::getAirScaSeaLevel | ( | ) | [inline, static] |
LLColor3 LLHaze::sAirScaSeaLevel [static] |
F32 LLHaze::mG [protected] |
LLColor3 LLHaze::mSigSca [protected] |
Definition at line 407 of file llvosky.h.
Referenced by calcSigExt(), calcSigSca(), getSigSca(), LLHaze(), and setSigSca().
F32 LLHaze::mFalloff [protected] |
Definition at line 408 of file llvosky.h.
Referenced by calcSigExt(), calcSigSca(), getFalloff(), and setFalloff().
F32 LLHaze::mAbsCoef [protected] |
Definition at line 409 of file llvosky.h.
Referenced by calcSigExt(), getAbsCoef(), LLHaze(), and setSigSca().