#include <llvosky.h>
Collaboration diagram for LLTranspMap:

| Public Member Functions | |
| LLTranspMap () | |
| ~LLTranspMap () | |
| void | init (const F32 elev, const F32 step, const F32 h, const LLHaze *const haze) | 
| F32 | calcHeight (const LLVector3 &pos) const | 
| BOOL | hasHaze () const | 
| LLColor3 | calcSigExt (const F32 h) const | 
| void | calcAirTransp (const F32 cos_angle, LLColor3 &result) const | 
| LLColor3 | calcAirTranspDir (const F32 elevation, const LLVector3 &dir) const | 
| LLColor3 | getHorizonAirTransp () const | 
| F32 | hitsAtmEdge (const LLVector3 &orig, const LLVector3 &dir) const | 
| Protected Attributes | |
| F32 | mAtmHeight | 
| F32 | mElevation | 
| F32 | mMaxAngle | 
| F32 | mCosMaxAngle | 
| F32 | mStep | 
| F32 | mStepInv | 
| S32 | mMapSize | 
| const LLHaze * | mHaze | 
| LLColor3 * | mT | 
Definition at line 437 of file llvosky.h.
| LLTranspMap::~LLTranspMap | ( | ) |  [inline] | 
Definition at line 775 of file llvosky.h.
References f, llfloor(), mCosMaxAngle, mMapSize, mStepInv, mT, LLColor3::mV, S32, LLColor3::setVec(), VX, VY, and VZ.
Referenced by LLTranspMapSet::calcTransp().
Definition at line 274 of file llvosky.cpp.
References calcSigExt(), EARTH_RADIUS, LLColor3::exp(), F_PI, FIRST_STEP, gFastLn, hitsAtmEdge(), INV_FIRST_STEP, INV_NO_STEPS, LLVector3::magVec(), NO_STEPS, LLFastLn::pow(), s, and S32.
Referenced by init().
Definition at line 459 of file llvosky.h.
References LLHaze::calcAirSca(), LLHaze::calcSigExt(), hasHaze(), and mHaze.
Referenced by calcAirTranspDir().
| LLColor3 LLTranspMap::getHorizonAirTransp | ( | ) | const  [inline] | 
| BOOL LLTranspMap::hasHaze | ( | ) | const  [inline] | 
Definition at line 326 of file llvosky.cpp.
References EARTH_RADIUS, and mAtmHeight.
Referenced by calcAirTranspDir().
Definition at line 251 of file llvosky.cpp.
References calcAirTranspDir(), EARTH_RADIUS, i, mAtmHeight, mCosMaxAngle, mElevation, mHaze, mMapSize, mStep, mStepInv, mT, and S32.
Referenced by LLTranspMapSet::init().
| F32 LLTranspMap::mAtmHeight  [protected] | 
| F32 LLTranspMap::mCosMaxAngle  [protected] | 
| F32 LLTranspMap::mElevation  [protected] | 
| const LLHaze* LLTranspMap::mHaze  [protected] | 
| S32 LLTranspMap::mMapSize  [protected] | 
Definition at line 476 of file llvosky.h.
Referenced by calcAirTransp(), getHorizonAirTransp(), and init().
| F32 LLTranspMap::mMaxAngle  [protected] | 
| F32 LLTranspMap::mStep  [protected] | 
| F32 LLTranspMap::mStepInv  [protected] | 
| LLColor3* LLTranspMap::mT  [protected] | 
Definition at line 478 of file llvosky.h.
Referenced by calcAirTransp(), getHorizonAirTransp(), init(), and ~LLTranspMap().
 1.4.7
 1.4.7