LLViewerTextureAnim Class Reference

#include <llviewertextureanim.h>

Inheritance diagram for LLViewerTextureAnim:

Inheritance graph
[legend]
Collaboration diagram for LLViewerTextureAnim:

Collaboration graph
[legend]
List of all members.

Public Types

 TRANSLATE = 0x01
enum  { TRANSLATE = 0x01 }

Public Member Functions

 LLViewerTextureAnim ()
virtual ~LLViewerTextureAnim ()
void reset ()
S32 animateTextures (F32 &off_s, F32 &off_t, F32 &scale_s, F32 &scale_t, F32 &rotate)

Public Attributes

F32 mOffS
F32 mOffT
F32 mScaleS
F32 mScaleT
F32 mRot

Protected Attributes

LLFrameTimer mTimer
F64 mLastTime
F32 mLastFrame

Detailed Description

Definition at line 38 of file llviewertextureanim.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
TRANSLATE 

Definition at line 47 of file llviewertextureanim.h.


Constructor & Destructor Documentation

LLViewerTextureAnim::LLViewerTextureAnim (  ) 

Definition at line 39 of file llviewertextureanim.cpp.

References mLastFrame, mLastTime, mOffS, mOffT, mRot, mScaleS, and mScaleT.

LLViewerTextureAnim::~LLViewerTextureAnim (  )  [virtual]

Definition at line 48 of file llviewertextureanim.cpp.


Member Function Documentation

S32 LLViewerTextureAnim::animateTextures ( F32 off_s,
F32 off_t,
F32 scale_s,
F32 scale_t,
F32 rotate 
)

Definition at line 59 of file llviewertextureanim.cpp.

References f, LLFrameTimer::getElapsedTimeAndResetF32(), LLFrameTimer::getElapsedTimeF32(), llfloor(), llmax(), llmin(), llround(), LLTextureAnim::LOOP, mLastFrame, mLastTime, LLTextureAnim::mLength, LLTextureAnim::mMode, mOffS, mOffT, LLTextureAnim::mRate, mRot, mScaleS, mScaleT, LLTextureAnim::mSizeX, LLTextureAnim::mSizeY, LLTextureAnim::mStart, mTimer, LLTextureAnim::ON, LLTextureAnim::PING_PONG, LLTextureAnim::REVERSE, LLTextureAnim::ROTATE, S32, LLTextureAnim::SCALE, LLTextureAnim::SMOOTH, and TRANSLATE.

Referenced by LLVOVolume::animateTextures().

void LLViewerTextureAnim::reset (  )  [virtual]

Reimplemented from LLTextureAnim.

Definition at line 52 of file llviewertextureanim.cpp.

References mTimer, LLFrameTimer::reset(), and LLTextureAnim::reset().

Referenced by LLVOVolume::processUpdateMessage().


Member Data Documentation

F32 LLViewerTextureAnim::mLastFrame [protected]

Definition at line 61 of file llviewertextureanim.h.

Referenced by animateTextures(), and LLViewerTextureAnim().

F64 LLViewerTextureAnim::mLastTime [protected]

Definition at line 60 of file llviewertextureanim.h.

Referenced by animateTextures(), and LLViewerTextureAnim().

F32 LLViewerTextureAnim::mOffS

Definition at line 52 of file llviewertextureanim.h.

Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().

F32 LLViewerTextureAnim::mOffT

Definition at line 53 of file llviewertextureanim.h.

Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().

F32 LLViewerTextureAnim::mRot

Definition at line 56 of file llviewertextureanim.h.

Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().

F32 LLViewerTextureAnim::mScaleS

Definition at line 54 of file llviewertextureanim.h.

Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().

F32 LLViewerTextureAnim::mScaleT

Definition at line 55 of file llviewertextureanim.h.

Referenced by LLVOVolume::animateTextures(), animateTextures(), and LLViewerTextureAnim().

LLFrameTimer LLViewerTextureAnim::mTimer [protected]

Definition at line 59 of file llviewertextureanim.h.

Referenced by animateTextures(), and reset().


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