#include <llpolymorph.h>
Collaboration diagram for LLPolyVertexMask:
Public Member Functions | |
LLPolyVertexMask (LLPolyMorphData *morph_data) | |
~LLPolyVertexMask () | |
void | generateMask (U8 *maskData, S32 width, S32 height, S32 num_components, BOOL invert, LLVector4 *clothing_weights) |
F32 * | getMorphMaskWeights () |
Protected Attributes | |
F32 * | mWeights |
LLPolyMorphData * | mMorphData |
BOOL | mWeightsGenerated |
Definition at line 81 of file llpolymorph.h.
LLPolyVertexMask::LLPolyVertexMask | ( | LLPolyMorphData * | morph_data | ) |
Definition at line 593 of file llpolymorph.cpp.
References FALSE, mMorphData, LLPolyMorphData::mNumIndices, mWeights, and mWeightsGenerated.
LLPolyVertexMask::~LLPolyVertexMask | ( | ) |
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().
LLPolyMorphData* LLPolyVertexMask::mMorphData [protected] |
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().