LLTexGlobalColor Class Reference

#include <lltexlayer.h>

Collaboration diagram for LLTexGlobalColor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTexGlobalColor (LLVOAvatar *avatar)
 ~LLTexGlobalColor ()
LLTexGlobalColorInfogetInfo () const
BOOL setInfo (LLTexGlobalColorInfo *info)
void requstUpdate ()
LLVOAvatargetAvatar ()
LLColor4 getColor ()
const std::string & getName ()

Protected Types

typedef std::vector< LLTexParamColor * > param_list_t

Protected Attributes

param_list_t mParamList
LLVOAvatarmAvatar
LLTexGlobalColorInfomInfo

Detailed Description

Definition at line 431 of file lltexlayer.h.


Member Typedef Documentation

typedef std::vector<LLTexParamColor *> LLTexGlobalColor::param_list_t [protected]

Definition at line 448 of file lltexlayer.h.


Constructor & Destructor Documentation

LLTexGlobalColor::LLTexGlobalColor ( LLVOAvatar avatar  ) 

Definition at line 2176 of file lltexlayer.cpp.

LLTexGlobalColor::~LLTexGlobalColor (  ) 

Definition at line 2184 of file lltexlayer.cpp.


Member Function Documentation

LLVOAvatar* LLTexGlobalColor::getAvatar (  )  [inline]

Definition at line 443 of file lltexlayer.h.

References mAvatar.

LLColor4 LLTexGlobalColor::getColor (  ) 

Definition at line 2214 of file lltexlayer.cpp.

References f, lerp(), llassert, llclampf(), mParamList, LLColor4::mV, OP_ADD, OP_BLEND, OP_MULTIPLY, param, VW, VX, VY, and VZ.

Referenced by LLVOAvatar::getGlobalColor(), LLVOAvatar::onGlobalColorChanged(), LLVOAvatar::updateMeshTextures(), and LLVOAvatar::writeCAL3D().

LLTexGlobalColorInfo* LLTexGlobalColor::getInfo (  )  const [inline]

Definition at line 438 of file lltexlayer.h.

References mInfo.

const std::string& LLTexGlobalColor::getName ( void   )  [inline]

Definition at line 445 of file lltexlayer.h.

References mInfo, and LLTexGlobalColorInfo::mName.

void LLTexGlobalColor::requstUpdate (  ) 

BOOL LLTexGlobalColor::setInfo ( LLTexGlobalColorInfo info  ) 

Definition at line 2190 of file lltexlayer.cpp.

References FALSE, llassert, LLTexGlobalColorInfo::mColorInfoList, mInfo, mParamList, NULL, and TRUE.

Referenced by LLVOAvatar::loadAvatar().


Member Data Documentation

LLVOAvatar* LLTexGlobalColor::mAvatar [protected]

Definition at line 450 of file lltexlayer.h.

Referenced by getAvatar().

LLTexGlobalColorInfo* LLTexGlobalColor::mInfo [protected]

Definition at line 452 of file lltexlayer.h.

Referenced by getInfo(), getName(), and setInfo().

param_list_t LLTexGlobalColor::mParamList [protected]

Definition at line 449 of file lltexlayer.h.

Referenced by getColor(), and setInfo().


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