LLTextureAnim Class Reference

#include <lltextureanim.h>

Inheritance diagram for LLTextureAnim:

Inheritance graph
[legend]

List of all members.

Public Types

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().

Here is the call graph for this function:

LLTextureAnim::~LLTextureAnim (  )  [virtual]

Definition at line 46 of file lltextureanim.cpp.


Member Function Documentation

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().

Here is the caller graph for this function:

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

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, SMOOTH, and TA_BLOCK_SIZE.

Referenced by LLVOVolume::processUpdateMessage().

Here is the call graph for this function:

Here is the caller graph for this function:

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, TA_BLOCK_SIZE, and LLDataPacker::unpackBinaryData().

Here is the call graph for this function:

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.

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().

Here is the call graph for this function:

Here is the caller graph for this function:

LLTextureAnim::operator LLSD (  )  const [inline]

Definition at line 54 of file lltextureanim.h.

References asLLSD().

Here is the call graph for this function:

bool LLTextureAnim::fromLLSD ( LLSD sd  ) 

Definition at line 196 of file lltextureanim.cpp.

References LLSD::has(), mFace, mLength, mMode, mRate, mSizeX, mSizeY, and mStart.

Here is the call graph for this function:


Member Data Documentation


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

Generated on Fri May 16 09:14:04 2008 for SecondLife by  doxygen 1.5.5