LLWLAnimator Class Reference

#include <llwlanimator.h>

List of all members.

Public Member Functions

 LLWLAnimator ()
void update (LLWLParamSet &curParams)
F64 getDayTime (void)
void setDayTime (F64 dayTime)
void setTrack (std::map< F32, std::string > &track, F32 dayRate, F64 dayTime=0, bool run=true)

Public Attributes

F64 mStartTime
F32 mDayRate
F64 mDayTime
std::map< F32, std::string > mTimeTrack
std::map< F32, std::string >
::iterator 
mFirstIt
std::map< F32, std::string >
::iterator 
mSecondIt
bool mIsRunning
bool mUseLindenTime


Detailed Description

Definition at line 39 of file llwlanimator.h.


Constructor & Destructor Documentation

LLWLAnimator::LLWLAnimator (  ) 

Definition at line 39 of file llwlanimator.cpp.

References mDayTime.


Member Function Documentation

void LLWLAnimator::update ( LLWLParamSet curParams  ) 

F64 LLWLAnimator::getDayTime ( void   ) 

Definition at line 106 of file llwlanimator.cpp.

References F_PI, LLTimer::getElapsedSeconds(), LLSky::getSunPhase(), gSky, mDayRate, mDayTime, mIsRunning, mStartTime, and mUseLindenTime.

Referenced by LLFloaterEnvSettings::syncMenu(), and update().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLWLAnimator::setDayTime ( F64  dayTime  ) 

Definition at line 145 of file llwlanimator.cpp.

References LLTimer::getElapsedSeconds(), mDayRate, mDayTime, and mStartTime.

Referenced by LLWorldEnvSettings::handleEvent(), LLFloaterEnvSettings::onChangeDayTime(), LLFloaterDayCycle::onTimeSliderMoved(), and setTrack().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLWLAnimator::setTrack ( std::map< F32, std::string > &  track,
F32  dayRate,
F64  dayTime = 0,
bool  run = true 
)

Definition at line 160 of file llwlanimator.cpp.

References mDayRate, mIsRunning, mTimeTrack, and setDayTime().

Referenced by LLWLParamManager::resetAnimator().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 41 of file llwlanimator.h.

Referenced by getDayTime(), and setDayTime().

Definition at line 42 of file llwlanimator.h.

Referenced by getDayTime(), setDayTime(), and setTrack().

Definition at line 43 of file llwlanimator.h.

Referenced by getDayTime(), LLWLAnimator(), and setDayTime().

std::map<F32, std::string> LLWLAnimator::mTimeTrack

Definition at line 46 of file llwlanimator.h.

Referenced by setTrack(), and update().

std::map<F32, std::string>::iterator LLWLAnimator::mFirstIt

Definition at line 47 of file llwlanimator.h.

Referenced by update().

std::map<F32, std::string>::iterator LLWLAnimator::mSecondIt

Definition at line 47 of file llwlanimator.h.

Referenced by update().


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

Generated on Fri May 16 09:39:48 2008 for SecondLife by  doxygen 1.5.5