LLHeavenBody Class Reference

TODO Move into the stars draw pool (and rename them appropriately). More...

#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

TODO Move into the stars draw pool (and rename them appropriately).

Definition at line 196 of file llvosky.h.


Constructor & Destructor Documentation

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

Definition at line 219 of file llvosky.h.

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

Here is the call graph for this function:

LLHeavenBody::~LLHeavenBody (  )  [inline]

Definition at line 230 of file llvosky.h.


Member Function Documentation

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

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

Definition at line 233 of file llvosky.h.

References mDirection.

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

Here is the caller graph for this function:

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

Definition at line 234 of file llvosky.h.

References mAngularVelocity.

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

Here is the caller graph for this function:

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

Definition at line 235 of file llvosky.h.

References mAngularVelocity.

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

Definition at line 237 of file llvosky.h.

References mDirectionCached.

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

Here is the caller graph for this function:

void LLHeavenBody::renewDirection (  )  [inline]

Definition at line 238 of file llvosky.h.

References mDirection, and mDirectionCached.

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

Here is the caller graph for this function:

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

Definition at line 240 of file llvosky.h.

References mColorCached.

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

Definition at line 241 of file llvosky.h.

References mColorCached.

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

Definition at line 242 of file llvosky.h.

References mColor.

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

Definition at line 243 of file llvosky.h.

References mColor.

Referenced by LLVOSky::calcAtmospherics().

Here is the caller graph for this function:

void LLHeavenBody::renewColor (  )  [inline]

Definition at line 245 of file llvosky.h.

References mColor, and mColorCached.

Referenced by LLVOSky::calcAtmospherics().

Here is the caller graph for this function:

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

Definition at line 247 of file llvosky.h.

References sInterpVal.

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

Definition at line 248 of file llvosky.h.

References sInterpVal.

Referenced by LLVOSky::updateSky().

Here is the caller graph for this function:

LLColor3 LLHeavenBody::getInterpColor (  )  const [inline]

Definition at line 250 of file llvosky.h.

References mColor, mColorCached, and sInterpVal.

Referenced by LLVOSky::updateReflectionGeometry().

Here is the caller graph for this function:

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

Definition at line 255 of file llvosky.h.

References mHorizonVisibility.

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

Definition at line 256 of file llvosky.h.

References mHorizonVisibility.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

Here is the caller graph for this function:

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

Definition at line 257 of file llvosky.h.

References mVisibility.

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

Definition at line 258 of file llvosky.h.

References mVisibility.

F32 LLHeavenBody::getHaloBrighness (  )  const [inline]

Definition at line 259 of file llvosky.h.

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

Here is the call graph for this function:

BOOL LLHeavenBody::isVisible (  )  const [inline]

Definition at line 263 of file llvosky.h.

References mVisible.

Referenced by LLVOSky::updateGeometry().

Here is the caller graph for this function:

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

Definition at line 264 of file llvosky.h.

References mVisible.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

Here is the caller graph for this function:

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

Definition at line 266 of file llvosky.h.

References mIntensity.

Referenced by LLVOSky::calcRadianceAtPoint().

Here is the caller graph for this function:

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

Definition at line 267 of file llvosky.h.

References mIntensity.

Referenced by LLVOSky::LLVOSky().

Here is the caller graph for this function:

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

Definition at line 269 of file llvosky.h.

References mDiskRadius.

F32 LLHeavenBody::getDiskRadius (  )  const [inline]

Definition at line 270 of file llvosky.h.

References mDiskRadius.

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

Here is the caller graph for this function:

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

Definition at line 272 of file llvosky.h.

References mDraw.

Referenced by LLVOSky::updateGeometry().

Here is the caller graph for this function:

BOOL LLHeavenBody::getDraw (  )  const [inline]

Definition at line 273 of file llvosky.h.

References mDraw.

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

Definition at line 275 of file llvosky.h.

References mQuadCorner.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

Here is the caller graph for this function:

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

Definition at line 276 of file llvosky.h.

References mQuadCorner.

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

Definition at line 277 of file llvosky.h.

References mQuadCorner.

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

Here is the caller graph for this function:

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

Definition at line 279 of file llvosky.h.

References mU.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

Here is the caller graph for this function:

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

Definition at line 280 of file llvosky.h.

References mV.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

Here is the caller graph for this function:

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

Definition at line 281 of file llvosky.h.

References mU.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

Here is the caller graph for this function:

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

Definition at line 282 of file llvosky.h.

References mV.

Referenced by LLVOSky::updateHeavenlyBodyGeometry().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 199 of file llvosky.h.

Referenced by getDirectionCached(), and renewDirection().

Definition at line 201 of file llvosky.h.

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

Definition at line 202 of file llvosky.h.

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

Definition at line 203 of file llvosky.h.

Referenced by getIntensity(), and setIntensity().

Definition at line 204 of file llvosky.h.

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

Definition at line 205 of file llvosky.h.

Referenced by getAngularVelocity(), and setAngularVelocity().

Definition at line 207 of file llvosky.h.

Referenced by getDiskRadius(), and setDiskRadius().

Definition at line 208 of file llvosky.h.

Referenced by getDraw(), and setDraw().

Definition at line 209 of file llvosky.h.

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

Definition at line 210 of file llvosky.h.

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

Definition at line 211 of file llvosky.h.

Referenced by isVisible(), and setVisible().

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

Definition at line 212 of file llvosky.h.

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

Definition at line 213 of file llvosky.h.

Referenced by corner(), and corners().

Definition at line 214 of file llvosky.h.

Referenced by getU(), and setU().

Definition at line 215 of file llvosky.h.

Referenced by getV(), and setV().

Definition at line 216 of file llvosky.h.


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

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