LLTextureAnim Class Reference

#include <lltextureanim.h>

Inheritance diagram for LLTextureAnim:

Inheritance graph
[legend]
List of all members.

Public Types

 ON = 0x01
 LOOP = 0x02
 REVERSE = 0x04
 PING_PONG = 0x08
 SMOOTH = 0x10
 ROTATE = 0x20
 SCALE = 0x40
enum  {
  ON = 0x01, LOOP = 0x02, REVERSE = 0x04, PING_PONG = 0x08,
  SMOOTH = 0x10, ROTATE = 0x20, SCALE = 0x40
}

Public Member Functions

 LLTextureAnim ()
virtual ~LLTextureAnim ()
virtual void reset ()
void packTAMessage (LLMessageSystem *mesgsys) const
void packTAMessage (LLDataPacker &dp) const
void unpackTAMessage (LLMessageSystem *mesgsys, const S32 block_num)
void unpackTAMessage (LLDataPacker &dp)
BOOL equals (const LLTextureAnim &other) const
LLSD asLLSD () const
 operator LLSD () const
bool fromLLSD (LLSD &sd)

Public Attributes

U8 mMode
S8 mFace
U8 mSizeX
U8 mSizeY
F32 mStart
F32 mLength
F32 mRate

Detailed Description

Definition at line 41 of file lltextureanim.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
ON 
LOOP 
REVERSE 
PING_PONG 
SMOOTH 
ROTATE 
SCALE 

Definition at line 57 of file lltextureanim.h.


Constructor & Destructor Documentation

LLTextureAnim::LLTextureAnim (  ) 

Definition at line 40 of file lltextureanim.cpp.

References reset().

LLTextureAnim::~LLTextureAnim (  )  [virtual]

Definition at line 46 of file lltextureanim.cpp.


Member Function Documentation

LLSD LLTextureAnim::asLLSD (  )  const

Definition at line 183 of file lltextureanim.cpp.

References mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, and tut::sd().

Referenced by operator LLSD().

BOOL LLTextureAnim::equals ( const LLTextureAnim other  )  const

Definition at line 62 of file lltextureanim.cpp.

References FALSE, mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, and TRUE.

bool LLTextureAnim::fromLLSD ( LLSD sd  ) 

Definition at line 196 of file lltextureanim.cpp.

References mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, and tut::sd().

LLTextureAnim::operator LLSD (  )  const [inline]

Definition at line 54 of file lltextureanim.h.

References asLLSD().

void LLTextureAnim::packTAMessage ( LLDataPacker dp  )  const

Definition at line 110 of file lltextureanim.cpp.

References htonmemcpy(), mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, LLDataPacker::packBinaryData(), and TA_BLOCK_SIZE.

void LLTextureAnim::packTAMessage ( LLMessageSystem mesgsys  )  const

Definition at line 95 of file lltextureanim.cpp.

References _PREHASH_TextureAnim, LLMessageSystem::addBinaryDataFast(), htonmemcpy(), mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, and TA_BLOCK_SIZE.

void LLTextureAnim::reset (  )  [virtual]

Reimplemented in LLViewerTextureAnim.

Definition at line 51 of file lltextureanim.cpp.

References mFace, mLength, mMode, mRate, mSizeX, mSizeY, and mStart.

Referenced by LLTextureAnim(), and LLViewerTextureAnim::reset().

void LLTextureAnim::unpackTAMessage ( LLDataPacker dp  ) 

Definition at line 159 of file lltextureanim.cpp.

References htonmemcpy(), llendl, llmax(), llwarns, mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, S32, size, TA_BLOCK_SIZE, and LLDataPacker::unpackBinaryData().

void LLTextureAnim::unpackTAMessage ( LLMessageSystem mesgsys,
const S32  block_num 
)

Definition at line 125 of file lltextureanim.cpp.

References _PREHASH_ObjectData, _PREHASH_TextureAnim, LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getSizeFast(), htonmemcpy(), llendl, llmax(), llwarns, mFace, mLength, mMode, mRate, mSizeX, mSizeY, mStart, MVT_F32, S32, size, SMOOTH, and TA_BLOCK_SIZE.

Referenced by LLVOVolume::processUpdateMessage().


Member Data Documentation

S8 LLTextureAnim::mFace

Definition at line 70 of file lltextureanim.h.

Referenced by LLVOVolume::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), LLVolumeGeometryManager::rebuildGeom(), reset(), and unpackTAMessage().

F32 LLTextureAnim::mLength

Definition at line 74 of file lltextureanim.h.

Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().

U8 LLTextureAnim::mMode

Definition at line 69 of file lltextureanim.h.

Referenced by LLVOVolume::animateTextures(), LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), LLVOVolume::processUpdateMessage(), reset(), and unpackTAMessage().

F32 LLTextureAnim::mRate

Definition at line 75 of file lltextureanim.h.

Referenced by LLVOVolume::animateTextures(), LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().

U8 LLTextureAnim::mSizeX

Definition at line 71 of file lltextureanim.h.

Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().

U8 LLTextureAnim::mSizeY

Definition at line 72 of file lltextureanim.h.

Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().

F32 LLTextureAnim::mStart

Definition at line 73 of file lltextureanim.h.

Referenced by LLViewerTextureAnim::animateTextures(), asLLSD(), equals(), fromLLSD(), packTAMessage(), reset(), and unpackTAMessage().


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