LLPolyVertexMask Class Reference

#include <llpolymorph.h>

Collaboration diagram for LLPolyVertexMask:

Collaboration graph
List of all members.

Public Member Functions

 LLPolyVertexMask (LLPolyMorphData *morph_data)
 ~LLPolyVertexMask ()
void generateMask (U8 *maskData, S32 width, S32 height, S32 num_components, BOOL invert, LLVector4 *clothing_weights)
F32getMorphMaskWeights ()

Protected Attributes

BOOL mWeightsGenerated

Detailed Description

Definition at line 81 of file llpolymorph.h.

Constructor & Destructor Documentation

LLPolyVertexMask::LLPolyVertexMask ( LLPolyMorphData morph_data  ) 

Definition at line 593 of file llpolymorph.cpp.

References FALSE, mMorphData, LLPolyMorphData::mNumIndices, mWeights, and mWeightsGenerated.

LLPolyVertexMask::~LLPolyVertexMask (  ) 

Definition at line 603 of file llpolymorph.cpp.

References mWeights.

Member Function Documentation

void LLPolyVertexMask::generateMask ( U8 maskData,
S32  width,
S32  height,
S32  num_components,
BOOL  invert,
LLVector4 clothing_weights 

Definition at line 611 of file llpolymorph.cpp.

References LLPolyMeshSharedData::getSharedVert(), LLPolyMeshSharedData::getUVs(), llclamp(), LLPolyMorphData::mMesh, mMorphData, LLPolyMorphData::mNumIndices, LLVector4::mV, LLVector2::mV, LLPolyMorphData::mVertexIndices, mWeights, mWeightsGenerated, s, S32, t, TRUE, VW, VX, and VY.

Referenced by LLPolyMorphTarget::applyMask().

F32 * LLPolyVertexMask::getMorphMaskWeights (  ) 

Definition at line 664 of file llpolymorph.cpp.

References mWeights, mWeightsGenerated, and NULL.

Referenced by LLPolyMorphTarget::apply(), and LLPolyMorphTarget::applyMask().

Member Data Documentation

LLPolyMorphData* LLPolyVertexMask::mMorphData [protected]

Definition at line 93 of file llpolymorph.h.

Referenced by generateMask(), and LLPolyVertexMask().

F32* LLPolyVertexMask::mWeights [protected]

Definition at line 92 of file llpolymorph.h.

Referenced by generateMask(), getMorphMaskWeights(), LLPolyVertexMask(), and ~LLPolyVertexMask().

BOOL LLPolyVertexMask::mWeightsGenerated [protected]

Definition at line 94 of file llpolymorph.h.

Referenced by generateMask(), getMorphMaskWeights(), and LLPolyVertexMask().

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