LLTexLayer Class Reference

#include <lltexlayer.h>

Collaboration diagram for LLTexLayer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLTexLayer (LLTexLayerSet *layer_set)
 ~LLTexLayer ()
LLTexLayerInfogetInfo () const
BOOL setInfo (LLTexLayerInfo *info)
BOOL render (S32 x, S32 y, S32 width, S32 height)
void requestUpdate ()
LLTexLayerSetgetTexLayerSet ()
const std::string & getName ()
void addMaskedMorph (LLPolyMorphTarget *morph_target, BOOL invert)
void deleteCaches ()
U8getAlphaData ()
void applyMorphMask (U8 *tex_data, S32 width, S32 height, S32 num_components)
void invalidateMorphMasks ()
ERenderPass getRenderPass ()
const LLStringgetGlobalColor ()
BOOL findNetColor (LLColor4 *color)
BOOL renderImageRaw (U8 *in_data, S32 in_width, S32 in_height, S32 in_components, S32 width, S32 height, BOOL is_mask)
BOOL renderAlphaMasks (S32 x, S32 y, S32 width, S32 height, LLColor4 *colorp)
BOOL hasAlphaParams ()

Protected Types

typedef std::vector
< LLTexParamColor * > 
color_list_t
typedef std::vector
< LLTexLayerParamAlpha * > 
alpha_list_t
typedef std::deque< LLMaskedMorphmorph_list_t
typedef std::map< U32, U8 * > alpha_cache_t

Protected Attributes

LLTexLayerSetmTexLayerSet
LLPointer< LLImageRawmStaticImageRaw
color_list_t mParamColorList
alpha_list_t mParamAlphaList
morph_list_t mMaskedMorphs
alpha_cache_t mAlphaCache
BOOL mMorphMasksValid
BOOL mStaticImageInvalid
LLTexLayerInfomInfo


Detailed Description

Definition at line 318 of file lltexlayer.h.


Member Typedef Documentation

typedef std::vector<LLTexParamColor *> LLTexLayer::color_list_t [protected]

Definition at line 353 of file lltexlayer.h.

typedef std::vector<LLTexLayerParamAlpha *> LLTexLayer::alpha_list_t [protected]

Definition at line 358 of file lltexlayer.h.

typedef std::deque<LLMaskedMorph> LLTexLayer::morph_list_t [protected]

Definition at line 362 of file lltexlayer.h.

typedef std::map<U32, U8*> LLTexLayer::alpha_cache_t [protected]

Definition at line 364 of file lltexlayer.h.


Constructor & Destructor Documentation

LLTexLayer::LLTexLayer ( LLTexLayerSet layer_set  ) 

Definition at line 1160 of file lltexlayer.cpp.

LLTexLayer::~LLTexLayer (  ) 

Definition at line 1169 of file lltexlayer.cpp.

References mAlphaCache.


Member Function Documentation

LLTexLayerInfo* LLTexLayer::getInfo (  )  const [inline]

Definition at line 325 of file lltexlayer.h.

References mInfo.

Referenced by findNetColor(), getAlphaData(), render(), and renderAlphaMasks().

Here is the caller graph for this function:

BOOL LLTexLayer::setInfo ( LLTexLayerInfo info  ) 

BOOL LLTexLayer::render ( S32  x,
S32  y,
S32  width,
S32  height 
)

void LLTexLayer::requestUpdate (  ) 

Definition at line 1741 of file lltexlayer.cpp.

References mTexLayerSet, and LLTexLayerSet::requestUpdate().

Here is the call graph for this function:

LLTexLayerSet* LLTexLayer::getTexLayerSet (  )  [inline]

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

Definition at line 333 of file lltexlayer.h.

References mInfo, and LLTexLayerInfo::mName.

void LLTexLayer::addMaskedMorph ( LLPolyMorphTarget morph_target,
BOOL  invert 
)

Definition at line 1746 of file lltexlayer.cpp.

References mMaskedMorphs.

Referenced by setInfo().

Here is the caller graph for this function:

void LLTexLayer::deleteCaches (  ) 

Definition at line 1272 of file lltexlayer.cpp.

References LLTexLayerParamAlpha::deleteCaches(), mParamAlphaList, mStaticImageRaw, and NULL.

Referenced by LLTexLayerSet::deleteCaches().

Here is the call graph for this function:

Here is the caller graph for this function:

U8 * LLTexLayer::getAlphaData (  ) 

Definition at line 1415 of file lltexlayer.cpp.

References LLTexLayerSet::getAvatar(), LLCRC::getCRC(), getInfo(), LLVOAvatar::getLocalTextureID(), LLVisualParam::getWeight(), mAlphaCache, LLUUID::mData, mParamAlphaList, mTexLayerSet, LLCRC::update(), and UUID_BYTES.

Referenced by LLTexLayerSet::gatherAlphaMasks().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayer::applyMorphMask ( U8 tex_data,
S32  width,
S32  height,
S32  num_components 
)

Definition at line 1658 of file lltexlayer.cpp.

References LLPolyMorphTarget::applyMask(), LLMaskedMorph::mInvert, mMaskedMorphs, and LLMaskedMorph::mMorphTarget.

Referenced by LLTexLayerSet::applyMorphMask().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayer::invalidateMorphMasks (  ) 

Definition at line 1751 of file lltexlayer.cpp.

References FALSE, and mMorphMasksValid.

Referenced by LLTexLayerSet::gatherAlphaMasks(), and LLTexLayerParamAlpha::setWeight().

Here is the caller graph for this function:

ERenderPass LLTexLayer::getRenderPass (  )  [inline]

Definition at line 341 of file lltexlayer.h.

References mInfo, and LLTexLayerInfo::mRenderPass.

Referenced by LLTexLayerSet::render(), and LLTexLayerSet::renderBump().

Here is the caller graph for this function:

const LLString& LLTexLayer::getGlobalColor (  )  [inline]

Definition at line 342 of file lltexlayer.h.

References LLTexLayerInfo::mGlobalColor, and mInfo.

Referenced by findNetColor().

Here is the caller graph for this function:

BOOL LLTexLayer::findNetColor ( LLColor4 color  ) 

BOOL LLTexLayer::renderImageRaw ( U8 in_data,
S32  in_width,
S32  in_height,
S32  in_components,
S32  width,
S32  height,
BOOL  is_mask 
)

BOOL LLTexLayer::renderAlphaMasks ( S32  x,
S32  y,
S32  width,
S32  height,
LLColor4 colorp 
)

BOOL LLTexLayer::hasAlphaParams (  )  [inline]

Definition at line 346 of file lltexlayer.h.

References mParamAlphaList.

Referenced by LLTexLayerSet::gatherAlphaMasks().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 350 of file lltexlayer.h.

Referenced by deleteCaches().

Definition at line 354 of file lltexlayer.h.

Referenced by findNetColor(), and setInfo().

Definition at line 363 of file lltexlayer.h.

Referenced by addMaskedMorph(), applyMorphMask(), render(), and renderAlphaMasks().

Definition at line 365 of file lltexlayer.h.

Referenced by getAlphaData(), renderAlphaMasks(), and ~LLTexLayer().

Definition at line 366 of file lltexlayer.h.

Referenced by invalidateMorphMasks(), and renderAlphaMasks().

Definition at line 367 of file lltexlayer.h.

Definition at line 369 of file lltexlayer.h.

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


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

Generated on Fri May 16 09:11:29 2008 for SecondLife by  doxygen 1.5.5