LLHeavenBody Class Reference

#include <llvosky.h>

Collaboration diagram for LLHeavenBody:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLHeavenBody (const F32 rad)
 ~LLHeavenBody ()
const LLVector3getDirection () const
void setDirection (const LLVector3 &direction)
void setAngularVelocity (const LLVector3 &ang_vel)
const LLVector3getAngularVelocity () const
const LLVector3getDirectionCached () const
void renewDirection ()
const LLColor3getColorCached () const
void setColorCached (const LLColor3 &c)
const LLColor3getColor () const
void setColor (const LLColor3 &c)
void renewColor ()
LLColor3 getInterpColor () const
const F32getHorizonVisibility () const
void setHorizonVisibility (const F32 c=1)
const F32getVisibility () const
void setVisibility (const F32 c=1)
F32 getHaloBrighness () const
BOOL isVisible () const
void setVisible (const BOOL v)
const F32getIntensity () const
void setIntensity (const F32 c)
void setDiskRadius (const F32 radius)
F32 getDiskRadius () const
void setDraw (const BOOL draw)
BOOL getDraw () const
const LLVector3corner (const S32 n) const
LLVector3corner (const S32 n)
const LLVector3corners () const
const LLVector3getU () const
const LLVector3getV () const
void setU (const LLVector3 &u)
void setV (const LLVector3 &v)

Static Public Member Functions

static F32 interpVal ()
static void setInterpVal (const F32 v)

Protected Attributes

LLVector3 mDirectionCached
LLColor3 mColor
LLColor3 mColorCached
F32 mIntensity
LLVector3 mDirection
LLVector3 mAngularVelocity
F32 mDiskRadius
BOOL mDraw
F32 mHorizonVisibility
F32 mVisibility
BOOL mVisible
LLVector3 mQuadCorner [4]
LLVector3 mU
LLVector3 mV
LLVector3 mO

Static Protected Attributes

static F32 sInterpVal = 0

Detailed Description

Definition at line 201 of file llvosky.h.


Constructor & Destructor Documentation

LLHeavenBody::LLHeavenBody ( const F32  rad  )  [inline]

Definition at line 224 of file llvosky.h.

References mColor, mColorCached, and LLColor3::setToBlack().

LLHeavenBody::~LLHeavenBody (  )  [inline]

Definition at line 233 of file llvosky.h.


Member Function Documentation

LLVector3& LLHeavenBody::corner ( const S32  n  )  [inline]

Definition at line 301 of file llvosky.h.

References mQuadCorner.

const LLVector3& LLHeavenBody::corner ( const S32  n  )  const [inline]

Definition at line 300 of file llvosky.h.

References mQuadCorner.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

const LLVector3* LLHeavenBody::corners (  )  const [inline]

Definition at line 302 of file llvosky.h.

References mQuadCorner.

Referenced by LLVOSky::updateHeavenlyBodyGeometry(), and LLVOSky::updateSunHaloGeometry().

const LLVector3& LLHeavenBody::getAngularVelocity (  )  const [inline]

Definition at line 238 of file llvosky.h.

References mAngularVelocity.

const LLColor3& LLHeavenBody::getColor (  )  const [inline]

Definition at line 245 of file llvosky.h.

References mColor.

const LLColor3& LLHeavenBody::getColorCached (  )  const [inline]

Definition at line 243 of file llvosky.h.

References mColorCached.

const LLVector3& LLHeavenBody::getDirection (  )  const [inline]

Definition at line 235 of file llvosky.h.

References mDirection.

Referenced by LLVOSky::getToMoon(), LLVOSky::getToSun(), LLVOSky::initSunDirection(), LLVOSky::setSunDirection(), LLVOSky::updateGeometry(), LLVOSky::updateHeavenlyBodyGeometry(), LLVOSky::updateReflectionGeometry(), and LLVOSky::updateSky().

const LLVector3& LLHeavenBody::getDirectionCached (  )  const [inline]

Definition at line 240 of file llvosky.h.

References mDirectionCached.

Referenced by LLVOSky::getToMoonLast(), LLVOSky::getToSunLast(), and LLVOSky::isSunUp().

F32 LLHeavenBody::getDiskRadius (  )  const [inline]

Definition at line 295 of file llvosky.h.

References mDiskRadius.

Referenced by LLVOSky::updateHeavenlyBodyGeometry(), and LLVOSky::updateReflectionGeometry().

BOOL LLHeavenBody::getDraw (  )  const [inline]

Definition at line 298 of file llvosky.h.

References mDraw.

F32 LLHeavenBody::getHaloBrighness (  )  const [inline]

Definition at line 283 of file llvosky.h.

References f, llmax(), llmin(), mHorizonVisibility, and mVisibility.

const F32& LLHeavenBody::getHorizonVisibility (  )  const [inline]

Definition at line 279 of file llvosky.h.

References mHorizonVisibility.

const F32& LLHeavenBody::getIntensity (  )  const [inline]

Definition at line 291 of file llvosky.h.

References mIntensity.

Referenced by LLVOSky::calcBrightnessScaleAndColors(), LLVOSky::calcInScatter(), LLVOSky::calcRadianceAtPoint(), LLVOSky::calcSkyColorInDir(), and LLVOSky::calculateColors().

LLColor3 LLHeavenBody::getInterpColor (  )  const [inline]

Definition at line 253 of file llvosky.h.

References mColor, mColorCached, and sInterpVal.

Referenced by LLVOSky::updateReflectionGeometry().

const LLVector3& LLHeavenBody::getU (  )  const [inline]

Definition at line 304 of file llvosky.h.

References mU.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

const LLVector3& LLHeavenBody::getV (  )  const [inline]

Definition at line 305 of file llvosky.h.

References mV.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

const F32& LLHeavenBody::getVisibility (  )  const [inline]

Definition at line 281 of file llvosky.h.

References mVisibility.

static F32 LLHeavenBody::interpVal (  )  [inline, static]

Definition at line 250 of file llvosky.h.

References sInterpVal.

BOOL LLHeavenBody::isVisible (  )  const [inline]

Definition at line 287 of file llvosky.h.

References mVisible.

Referenced by LLVOSky::updateGeometry().

void LLHeavenBody::renewColor (  )  [inline]

Definition at line 248 of file llvosky.h.

References mColor, and mColorCached.

Referenced by LLVOSky::calcBrightnessScaleAndColors().

void LLHeavenBody::renewDirection (  )  [inline]

Definition at line 241 of file llvosky.h.

References mDirection, and mDirectionCached.

Referenced by LLVOSky::calcBrightnessScaleAndColors(), and LLVOSky::initSunDirection().

void LLHeavenBody::setAngularVelocity ( const LLVector3 ang_vel  )  [inline]

Definition at line 237 of file llvosky.h.

References mAngularVelocity.

Referenced by LLVOSky::initSunDirection(), and LLVOSky::setSunDirection().

void LLHeavenBody::setColor ( const LLColor3 c  )  [inline]

Definition at line 246 of file llvosky.h.

References c, and mColor.

Referenced by LLVOSky::calcBrightnessScaleAndColors().

void LLHeavenBody::setColorCached ( const LLColor3 c  )  [inline]

Definition at line 244 of file llvosky.h.

References c, and mColorCached.

void LLHeavenBody::setDirection ( const LLVector3 direction  )  [inline]

Definition at line 236 of file llvosky.h.

References mDirection.

Referenced by LLVOSky::initSunDirection(), and LLVOSky::setSunDirection().

void LLHeavenBody::setDiskRadius ( const F32  radius  )  [inline]

Definition at line 294 of file llvosky.h.

References mDiskRadius.

void LLHeavenBody::setDraw ( const BOOL  draw  )  [inline]

Definition at line 297 of file llvosky.h.

References mDraw.

Referenced by LLVOSky::updateGeometry().

void LLHeavenBody::setHorizonVisibility ( const F32  c = 1  )  [inline]

Definition at line 280 of file llvosky.h.

References c, and mHorizonVisibility.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

void LLHeavenBody::setIntensity ( const F32  c  )  [inline]

Definition at line 292 of file llvosky.h.

References mIntensity.

Referenced by LLVOSky::LLVOSky().

static void LLHeavenBody::setInterpVal ( const F32  v  )  [inline, static]

Definition at line 251 of file llvosky.h.

References sInterpVal.

Referenced by LLVOSky::updateSky().

void LLHeavenBody::setU ( const LLVector3 u  )  [inline]

Definition at line 306 of file llvosky.h.

References mU, and u.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

void LLHeavenBody::setV ( const LLVector3 v  )  [inline]

Definition at line 307 of file llvosky.h.

References mV, and v.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

void LLHeavenBody::setVisibility ( const F32  c = 1  )  [inline]

Definition at line 282 of file llvosky.h.

References c, and mVisibility.

void LLHeavenBody::setVisible ( const BOOL  v  )  [inline]

Definition at line 288 of file llvosky.h.

References mVisible.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().


Member Data Documentation

LLVector3 LLHeavenBody::mAngularVelocity [protected]

Definition at line 210 of file llvosky.h.

Referenced by getAngularVelocity(), and setAngularVelocity().

LLColor3 LLHeavenBody::mColor [protected]

Definition at line 206 of file llvosky.h.

Referenced by getColor(), getInterpColor(), LLHeavenBody(), renewColor(), and setColor().

LLColor3 LLHeavenBody::mColorCached [protected]

Definition at line 207 of file llvosky.h.

Referenced by getColorCached(), getInterpColor(), LLHeavenBody(), renewColor(), and setColorCached().

LLVector3 LLHeavenBody::mDirection [protected]

Definition at line 209 of file llvosky.h.

Referenced by getDirection(), renewDirection(), and setDirection().

LLVector3 LLHeavenBody::mDirectionCached [protected]

Definition at line 204 of file llvosky.h.

Referenced by getDirectionCached(), and renewDirection().

F32 LLHeavenBody::mDiskRadius [protected]

Definition at line 212 of file llvosky.h.

Referenced by getDiskRadius(), and setDiskRadius().

BOOL LLHeavenBody::mDraw [protected]

Definition at line 213 of file llvosky.h.

Referenced by getDraw(), and setDraw().

F32 LLHeavenBody::mHorizonVisibility [protected]

Definition at line 214 of file llvosky.h.

Referenced by getHaloBrighness(), getHorizonVisibility(), and setHorizonVisibility().

F32 LLHeavenBody::mIntensity [protected]

Definition at line 208 of file llvosky.h.

Referenced by getIntensity(), and setIntensity().

LLVector3 LLHeavenBody::mO [protected]

Definition at line 221 of file llvosky.h.

LLVector3 LLHeavenBody::mQuadCorner[4] [protected]

Definition at line 218 of file llvosky.h.

Referenced by corner(), and corners().

LLVector3 LLHeavenBody::mU [protected]

Definition at line 219 of file llvosky.h.

Referenced by getU(), and setU().

LLVector3 LLHeavenBody::mV [protected]

Definition at line 220 of file llvosky.h.

Referenced by getV(), and setV().

F32 LLHeavenBody::mVisibility [protected]

Definition at line 215 of file llvosky.h.

Referenced by getHaloBrighness(), getVisibility(), and setVisibility().

BOOL LLHeavenBody::mVisible [protected]

Definition at line 216 of file llvosky.h.

Referenced by isVisible(), and setVisible().

F32 LLHeavenBody::sInterpVal = 0 [static, protected]

Definition at line 217 of file llvosky.h.

Referenced by getInterpColor(), interpVal(), and setInterpVal().


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