LLTranspMapSet Class Reference

#include <llvosky.h>

Collaboration diagram for LLTranspMapSet:

Collaboration graph
[legend]
List of all members.

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 LLTranspMapgetLastTransp () const
F32 getLastHeight () const
const LLTranspMapgetMap (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

F32mHeights
LLTranspMapmTransp
S32 mSize
F32 mMediaHeight
const LLHazemHaze

Detailed Description

Definition at line 482 of file llvosky.h.


Constructor & Destructor Documentation

LLTranspMapSet::LLTranspMapSet (  )  [inline]

Definition at line 492 of file llvosky.h.

LLTranspMapSet::~LLTranspMapSet (  ) 

Definition at line 366 of file llvosky.cpp.

References mHeights, mTransp, and NULL.


Member Function Documentation

void LLTranspMapSet::calcTransp ( const F32  cos_angle,
const F32  h,
LLColor3 result 
) const [inline]

Definition at line 829 of file llvosky.h.

References LLTranspMap::calcAirTransp(), lerp(), mTransp, NO_STEPS, and S32.

LLColor3 LLTranspMapSet::calcTransp ( const F32  cos_angle,
const F32  h 
) const [inline]

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::getHeight ( const S32  n  )  const [inline]

Definition at line 501 of file llvosky.h.

References mHeights.

F32 LLTranspMapSet::getLastHeight (  )  const [inline]

Definition at line 499 of file llvosky.h.

References mHeights, and mSize.

Referenced by lerp().

const LLTranspMap& LLTranspMapSet::getLastTransp (  )  const [inline]

Definition at line 498 of file llvosky.h.

References mSize, and mTransp.

const LLTranspMap& LLTranspMapSet::getMap ( const S32  n  )  const [inline]

Definition at line 500 of file llvosky.h.

References mTransp.

F32 LLTranspMapSet::getMediaHeight (  )  const [inline]

Definition at line 497 of file llvosky.h.

References mMediaHeight.

S32 LLTranspMapSet::getSize (  )  const [inline]

Definition at line 496 of file llvosky.h.

References mSize.

void LLTranspMapSet::init ( S32  size,
F32  first_step,
F32  media_height,
const LLHaze *const   haze 
)

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 502 of file llvosky.h.

References mTransp, and NULL.

Referenced by LLVOSky::isReady().

S32 LLTranspMapSet::lerp ( F32 dt,
S32 indx,
const F32  h 
) const [inline, protected]

Definition at line 888 of file llvosky.h.

References getLastHeight(), mHeights, and S32.

Referenced by calcTransp().


Member Data Documentation

const LLHaze* LLTranspMapSet::mHaze [protected]

Definition at line 489 of file llvosky.h.

F32* LLTranspMapSet::mHeights [protected]

Definition at line 485 of file llvosky.h.

Referenced by getHeight(), getLastHeight(), init(), lerp(), and ~LLTranspMapSet().

F32 LLTranspMapSet::mMediaHeight [protected]

Definition at line 488 of file llvosky.h.

Referenced by getMediaHeight(), and init().

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


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