LLCriticalDamp Class Reference

#include <llcriticaldamp.h>

Collaboration diagram for LLCriticalDamp:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLCriticalDamp ()

Static Public Member Functions

static void updateInterpolants ()
static F32 getInterpolant (const F32 time_constant, BOOL use_cache=TRUE)

Static Protected Attributes

static LLFrameTimer sInternalTimer
static std::map< F32, F32sInterpolants
static F32 sTimeDelta

Detailed Description

Definition at line 40 of file llcriticaldamp.h.


Constructor & Destructor Documentation

LLCriticalDamp::LLCriticalDamp (  ) 

Definition at line 46 of file llcriticaldamp.cpp.

References sTimeDelta.


Member Function Documentation

F32 LLCriticalDamp::getInterpolant ( const F32  time_constant,
BOOL  use_cache = TRUE 
) [static]

Definition at line 74 of file llcriticaldamp.cpp.

References f, llclamp(), sInterpolants, and sTimeDelta.

Referenced by LLKeyframeMotion::applyConstraint(), LLFolderViewFolder::arrange(), LLAgent::calcCameraPositionTargetGlobal(), LLAgent::calcCustomizeAvatarUIOffset(), LLWorldMapView::draw(), LLFloaterTexturePicker::draw(), LLTabContainerVertical::draw(), LLTabContainer::draw(), LLScrollbar::draw(), LLNetMap::draw(), LLTearOffMenu::draw(), LLFolderViewFolder::draw(), LLSnapshotLivePreview::draw(), LLFloaterColorPicker::draw(), LLButton::draw(), LLMotion::fadeIn(), LLMotion::fadeOut(), LLManipScale::highlightManipulators(), LLVOAvatar::idleUpdate(), LLTargetingMotion::onUpdate(), LLFlyAdjustMotion::onUpdate(), LLWalkAdjustMotion::onUpdate(), LLHeadRotMotion::onUpdate(), LLEditingMotion::onUpdate(), LLManipRotate::render(), LLManipTranslate::renderTranslationHandles(), LLAgent::resetView(), setup_hud_matrices(), LLFollowCam::update(), LLHUDText::updateAll(), LLFollowCam::updateBehindnessConstraint(), LLAgent::updateCamera(), LLLayoutStack::updateLayout(), and LLDrawable::updateXform().

void LLCriticalDamp::updateInterpolants (  )  [static]

Definition at line 55 of file llcriticaldamp.cpp.

References f, LLFrameTimer::getElapsedTimeAndResetF32(), llclamp(), sInternalTimer, sInterpolants, and sTimeDelta.

Referenced by idle().


Member Data Documentation

LLFrameTimer LLCriticalDamp::sInternalTimer [static, protected]

Definition at line 52 of file llcriticaldamp.h.

Referenced by updateInterpolants().

std::map< F32, F32 > LLCriticalDamp::sInterpolants [static, protected]

Definition at line 54 of file llcriticaldamp.h.

Referenced by getInterpolant(), and updateInterpolants().

F32 LLCriticalDamp::sTimeDelta [static, protected]

Definition at line 55 of file llcriticaldamp.h.

Referenced by getInterpolant(), LLCriticalDamp(), and updateInterpolants().


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