LLInterpAttractor< Type > Class Template Reference

#include <llinterp.h>

Inheritance diagram for LLInterpAttractor< Type >:

Inheritance graph
[legend]
Collaboration diagram for LLInterpAttractor< Type >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLInterpAttractor ()
void start ()
void setStartVel (const Type &vel)
void setForce (const F32 force)
void update (const F32 time)

Protected Attributes

F32 mForce
Type mStartVel
Type mVelocity

Detailed Description

template<typename Type>
class LLInterpAttractor< Type >

Definition at line 105 of file llinterp.h.


Constructor & Destructor Documentation

template<class Type>
LLInterpAttractor< Type >::LLInterpAttractor (  ) 

Definition at line 300 of file llinterp.h.

References LLInterpAttractor< Type >::mForce, LLInterpAttractor< Type >::mStartVel, and LLInterpAttractor< Type >::mVelocity.


Member Function Documentation

template<class Type>
void LLInterpAttractor< Type >::setForce ( const F32  force  ) 

Definition at line 322 of file llinterp.h.

References LLInterpAttractor< Type >::mForce.

template<class Type>
void LLInterpAttractor< Type >::setStartVel ( const Type &  vel  ) 

Definition at line 316 of file llinterp.h.

References LLInterpAttractor< Type >::mStartVel.

template<class Type>
void LLInterpAttractor< Type >::start (  )  [virtual]

Reimplemented from LLInterp< Type >.

Definition at line 308 of file llinterp.h.

References LLInterpAttractor< Type >::mStartVel, LLInterpAttractor< Type >::mVelocity, and LLInterp< Type >::start().

template<class Type>
void LLInterpAttractor< Type >::update ( const F32  time  ) 

Reimplemented from LLInterp< Type >.

Definition at line 328 of file llinterp.h.

References LLInterp< Type >::mActive, LLInterp< Type >::mCurTime, LLInterp< Type >::mCurVal, LLInterp< Type >::mDone, LLInterp< Type >::mEndVal, LLInterpAttractor< Type >::mForce, LLInterpAttractor< Type >::mVelocity, and TRUE.


Member Data Documentation

template<typename Type>
F32 LLInterpAttractor< Type >::mForce [protected]

Definition at line 114 of file llinterp.h.

Referenced by LLInterpAttractor< Type >::LLInterpAttractor(), LLInterpAttractor< Type >::setForce(), and LLInterpAttractor< Type >::update().

template<typename Type>
Type LLInterpAttractor< Type >::mStartVel [protected]

Definition at line 115 of file llinterp.h.

Referenced by LLInterpAttractor< Type >::LLInterpAttractor(), LLInterpAttractor< Type >::setStartVel(), and LLInterpAttractor< Type >::start().

template<typename Type>
Type LLInterpAttractor< Type >::mVelocity [protected]

Definition at line 116 of file llinterp.h.

Referenced by LLInterpAttractor< Type >::LLInterpAttractor(), LLInterpAttractor< Type >::start(), and LLInterpAttractor< Type >::update().


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