LLHaze Class Reference

#include <llvosky.h>

Collaboration diagram for LLHaze:

Collaboration graph
[legend]
List of all members.

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 LLColor3getSigSca () 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 LLColor3getAirScaSeaLevel ()

Static Public Attributes

static LLColor3 sAirScaSeaLevel

Protected Attributes

F32 mG
LLColor3 mSigSca
F32 mFalloff
F32 mAbsCoef

Detailed Description

Definition at line 342 of file llvosky.h.


Constructor & Destructor Documentation

LLHaze::LLHaze (  )  [inline]

Definition at line 345 of file llvosky.h.

References mSigSca, and LLColor3::setToBlack().

LLHaze::LLHaze ( const F32  g,
const LLColor3 sca,
const F32  fo = 2 
) [inline]

Definition at line 346 of file llvosky.h.

References color_intens(), mAbsCoef, and mSigSca.

LLHaze::LLHaze ( const F32  g,
const F32  sca,
const F32  fo = 2 
) [inline]

Definition at line 352 of file llvosky.h.

References mAbsCoef.


Member Function Documentation

void LLHaze::calcAirSca ( const F32  h,
LLColor3 result 
) [inline, static]

Definition at line 766 of file llvosky.h.

References calcAirScaSeaLevel(), and calcFalloff().

LLColor3 LLHaze::calcAirSca ( const F32  h  )  [inline, static]

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().

static F32 LLHaze::calcFalloff ( const F32  h  )  [inline, static]

Definition at line 400 of file llvosky.h.

References ATM_EXP_FALLOFF, and LL_FAST_EXP.

Referenced by calcAirSca(), calcSigExt(), and calcSigSca().

F32 LLHaze::calcPhase ( const F32  cos_theta  )  const [inline]

Definition at line 139 of file llvosky.cpp.

References g2, gFastLn, mG, and LLFastLn::pow().

Referenced by LLVOSky::calcInScatter(), and LLVOSky::calcSkyColorInDir().

LLColor3 LLHaze::calcSigExt ( const F32  h  )  const [inline]

Definition at line 416 of file llvosky.h.

References calcFalloff(), mAbsCoef, mFalloff, and mSigSca.

Referenced by LLTranspMap::calcSigExt().

void LLHaze::calcSigSca ( const F32  h,
LLColor3 result 
) const [inline]

Definition at line 410 of file llvosky.h.

References calcFalloff(), mFalloff, and mSigSca.

LLColor3 LLHaze::calcSigSca ( const F32  h  )  const [inline]

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]

Definition at line 426 of file llvosky.h.

References sAirScaSeaLevel.

F32 LLHaze::getFalloff (  )  const [inline]

Definition at line 385 of file llvosky.h.

References mFalloff.

F32 LLHaze::getG (  )  const [inline]

Definition at line 361 of file llvosky.h.

References mG.

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().

void LLHaze::setFalloff ( const F32  fo  )  [inline]

Definition at line 390 of file llvosky.h.

References mFalloff.

Referenced by LLVOSky::updateHaze().

void LLHaze::setG ( const F32  g  )  [inline]

Definition at line 363 of file llvosky.h.

References mG.

Referenced by LLVOSky::updateHaze().

void LLHaze::setSigSca ( const F32  s0,
const F32  s1,
const F32  s2 
) [inline]

Definition at line 379 of file llvosky.h.

References mAbsCoef, and mSigSca.

void LLHaze::setSigSca ( const LLColor3 s  )  [inline]

Definition at line 373 of file llvosky.h.

References color_intens(), mAbsCoef, mSigSca, and s.

Referenced by LLVOSky::updateHaze().


Member Data Documentation

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]

Definition at line 431 of file llvosky.h.

Referenced by calcPhase(), getG(), and setG().

LLColor3 LLHaze::mSigSca [protected]

Definition at line 432 of file llvosky.h.

Referenced by calcSigExt(), calcSigSca(), getSigSca(), LLHaze(), and setSigSca().

LLColor3 LLHaze::sAirScaSeaLevel [static]

Definition at line 428 of file llvosky.h.

Referenced by getAirScaSeaLevel(), and initClass().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:23 2010 for Second Life Viewer by  doxygen 1.4.7