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.f)
 LLHaze (const F32 g, const F32 sca, const F32 fo=2.f)
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 317 of file llvosky.h.


Constructor & Destructor Documentation

LLHaze::LLHaze (  )  [inline]

Definition at line 320 of file llvosky.h.

References mSigSca, and LLColor3::setToBlack().

Here is the call graph for this function:

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

Definition at line 321 of file llvosky.h.

References color_intens(), mAbsCoef, and mSigSca.

Here is the call graph for this function:

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

Definition at line 327 of file llvosky.h.

References mAbsCoef.


Member Function Documentation

void LLHaze::initClass ( void   )  [static]

Definition at line 2144 of file llvosky.cpp.

References calcAirScaSeaLevel(), and sAirScaSeaLevel.

Referenced by LLVOSky::initClass().

Here is the call graph for this function:

Here is the caller graph for this function:

F32 LLHaze::getG (  )  const [inline]

Definition at line 336 of file llvosky.h.

References mG.

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

Definition at line 338 of file llvosky.h.

References mG.

const LLColor3& LLHaze::getSigSca (  )  const [inline]

Definition at line 343 of file llvosky.h.

References mSigSca.

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

Definition at line 348 of file llvosky.h.

References color_intens(), mAbsCoef, and mSigSca.

Here is the call graph for this function:

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

Definition at line 354 of file llvosky.h.

References mAbsCoef, and mSigSca.

F32 LLHaze::getFalloff (  )  const [inline]

Definition at line 360 of file llvosky.h.

References mFalloff.

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

Definition at line 365 of file llvosky.h.

References mFalloff.

F32 LLHaze::getAbsCoef (  )  const [inline]

Definition at line 370 of file llvosky.h.

References mAbsCoef.

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

Definition at line 375 of file llvosky.h.

References ATM_EXP_FALLOFF, and LL_FAST_EXP.

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

Here is the caller graph for this function:

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

Definition at line 380 of file llvosky.h.

References calcFalloff(), mFalloff, and mSigSca.

Referenced by LLVOSky::init().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 385 of file llvosky.h.

References calcFalloff(), mFalloff, and mSigSca.

Here is the call graph for this function:

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

Definition at line 391 of file llvosky.h.

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

Here is the call graph for this function:

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

Definition at line 148 of file llvosky.cpp.

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

Here is the call graph for this function:

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

Definition at line 660 of file llvosky.h.

References calcAirScaSeaLevel(), and calcFalloff().

Referenced by LLVOSky::init().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 666 of file llvosky.h.

References calcAirScaSeaLevel(), and calcFalloff().

Here is the call graph for this function:

static LLColor3 LLHaze::calcAirScaSeaLevel (  )  [inline, static]

Definition at line 400 of file llvosky.h.

Referenced by calcAirSca(), and initClass().

Here is the caller graph for this function:

static const LLColor3& LLHaze::getAirScaSeaLevel (  )  [inline, static]

Definition at line 401 of file llvosky.h.

References sAirScaSeaLevel.


Member Data Documentation

Definition at line 403 of file llvosky.h.

Referenced by getAirScaSeaLevel(), and initClass().

F32 LLHaze::mG [protected]

Definition at line 406 of file llvosky.h.

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

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


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:48:47 2008 for SecondLife by  doxygen 1.5.5