#include <llpolymesh.h>
Definition at line 161 of file llpolymesh.h.
typedef std::map<LLString, LLPolyMeshSharedData*> LLPolyMesh::LLPolyMeshSharedDataTable [protected] |
Definition at line 365 of file llpolymesh.h.
LLPolyMesh::LLPolyMesh | ( | LLPolyMeshSharedData * | shared_data, | |
LLPolyMesh * | reference_mesh | |||
) |
Definition at line 681 of file llpolymesh.cpp.
References initializeForMorph(), LLPolyMeshSharedData::isLOD(), llassert, mAvatarp, mBinormals, mClothingWeights, mCoords, mNormals, LLPolyMeshSharedData::mNumVertices, mReferenceMesh, mScaledBinormals, mScaledNormals, mSharedData, mTexCoords, mVertexData, and NULL.
Referenced by getMesh().
LLPolyMesh::~LLPolyMesh | ( | ) |
Definition at line 733 of file llpolymesh.cpp.
References LLDynamicArray< Type, BlockSize >::count(), i, mBinormals, mClothingWeights, mCoords, mJointRenderData, mNormals, mScaledBinormals, mScaledNormals, mTexCoords, mVertexData, NULL, and S32.
LLPolyMesh * LLPolyMesh::getMesh | ( | const LLString & | name, | |
LLPolyMesh * | reference_mesh = NULL | |||
) | [static] |
Definition at line 758 of file llpolymesh.cpp.
References gDirUtilp, get_if_there(), LLDir::getExpandedFilename(), getSharedData(), LL_MAX_PATH, LL_PATH_CHARACTER, LLPolyMesh(), mSharedData, NULL, and sGlobalSharedMeshList.
Referenced by LLVOAvatar::loadMeshNodes().
void LLPolyMesh::freeAllMeshes | ( | ) | [static] |
Definition at line 799 of file llpolymesh.cpp.
References sGlobalSharedMeshList.
Referenced by LLAppViewer::cleanup().
const LLVector3& LLPolyMesh::getPosition | ( | void | ) | [inline] |
Definition at line 185 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mPosition, and mSharedData.
Referenced by LLViewerJointMesh::setMesh().
const LLQuaternion& LLPolyMesh::getRotation | ( | ) | [inline] |
Definition at line 191 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mRotation, and mSharedData.
Referenced by LLViewerJointMesh::setMesh().
const LLVector3& LLPolyMesh::getScale | ( | ) | [inline] |
Definition at line 197 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mScale, and mSharedData.
Referenced by LLViewerJointMesh::setMesh().
U32 LLPolyMesh::getNumVertices | ( | ) | [inline] |
Definition at line 206 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mNumVertices, and mSharedData.
Referenced by LLViewerJointMesh::updateFaceData(), LLViewerJointMesh::updateFaceSizes(), LLViewerJointMesh::updateGeometryOriginal(), and LLViewerJointMesh::updateGeometryVectorized().
BOOL LLPolyMesh::hasDetailTexCoords | ( | ) | [inline] |
Definition at line 212 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mHasDetailTexCoords, and mSharedData.
BOOL LLPolyMesh::hasWeights | ( | ) | const [inline] |
Definition at line 218 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mHasWeights, and mSharedData.
Referenced by LLViewerJointMesh::drawShape(), LLViewerJointMesh::setMesh(), and LLViewerJointMesh::updateGeometry().
const LLVector3* LLPolyMesh::getCoords | ( | ) | const [inline] |
Definition at line 224 of file llpolymesh.h.
References mCoords.
Referenced by LLViewerJointMesh::updateFaceData(), LLViewerJointMesh::updateGeometryOriginal(), and LLViewerJointMesh::updateGeometryVectorized().
LLVector3 * LLPolyMesh::getWritableCoords | ( | ) |
Definition at line 857 of file llpolymesh.cpp.
References mCoords.
Referenced by LLPolyMorphTarget::apply(), and LLPolyMorphTarget::applyMask().
const LLVector3* LLPolyMesh::getNormals | ( | ) | const [inline] |
Definition at line 232 of file llpolymesh.h.
References mNormals.
Referenced by LLViewerJointMesh::updateFaceData(), LLViewerJointMesh::updateGeometryOriginal(), and LLViewerJointMesh::updateGeometryVectorized().
const LLVector3* LLPolyMesh::getBinormals | ( | ) | const [inline] |
const LLVector3* LLPolyMesh::getBaseNormals | ( | ) | const [inline] |
Definition at line 242 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mBaseNormals, and mSharedData.
const LLVector3* LLPolyMesh::getBaseBinormals | ( | ) | const [inline] |
Definition at line 248 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mBaseBinormals, and mSharedData.
LLVector3 * LLPolyMesh::getWritableNormals | ( | ) |
Definition at line 865 of file llpolymesh.cpp.
References mNormals.
Referenced by LLPolyMorphTarget::apply().
LLVector3 * LLPolyMesh::getScaledNormals | ( | ) |
Definition at line 898 of file llpolymesh.cpp.
References mScaledNormals.
Referenced by LLPolyMorphTarget::apply(), and LLPolyMorphTarget::applyMask().
LLVector3 * LLPolyMesh::getWritableBinormals | ( | ) |
Definition at line 873 of file llpolymesh.cpp.
References mBinormals.
Referenced by LLPolyMorphTarget::apply().
LLVector3 * LLPolyMesh::getScaledBinormals | ( | ) |
Definition at line 906 of file llpolymesh.cpp.
References mScaledBinormals.
Referenced by LLPolyMorphTarget::apply(), and LLPolyMorphTarget::applyMask().
const LLVector2* LLPolyMesh::getTexCoords | ( | ) | const [inline] |
Definition at line 261 of file llpolymesh.h.
References mTexCoords.
Referenced by LLViewerJointMesh::updateFaceData().
LLVector2 * LLPolyMesh::getWritableTexCoords | ( | ) |
Definition at line 890 of file llpolymesh.cpp.
References mTexCoords.
Referenced by LLPolyMorphTarget::apply(), and LLPolyMorphTarget::applyMask().
const LLVector2* LLPolyMesh::getDetailTexCoords | ( | ) | const [inline] |
Definition at line 269 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mDetailTexCoords, and mSharedData.
const F32* LLPolyMesh::getWeights | ( | ) | const [inline] |
Definition at line 275 of file llpolymesh.h.
References llassert, mSharedData, and LLPolyMeshSharedData::mWeights.
Referenced by LLViewerJointMesh::updateFaceData(), LLViewerJointMesh::updateGeometryOriginal(), and LLViewerJointMesh::updateGeometryVectorized().
F32 * LLPolyMesh::getWritableWeights | ( | ) | const |
Definition at line 974 of file llpolymesh.cpp.
References mSharedData, and LLPolyMeshSharedData::mWeights.
LLVector4 * LLPolyMesh::getWritableClothingWeights | ( | ) |
Definition at line 882 of file llpolymesh.cpp.
References mClothingWeights.
Referenced by LLPolyMorphTarget::apply(), and LLPolyMorphTarget::applyMask().
const LLVector4* LLPolyMesh::getClothingWeights | ( | ) | [inline] |
Definition at line 284 of file llpolymesh.h.
References mClothingWeights.
Referenced by LLViewerJointMesh::updateFaceData().
S32 LLPolyMesh::getNumFaces | ( | ) | [inline] |
Definition at line 293 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mNumFaces, and mSharedData.
Referenced by LLViewerJointMesh::drawShape(), and LLViewerJointMesh::updateFaceData().
LLPolyFace* LLPolyMesh::getFaces | ( | ) | [inline] |
Definition at line 299 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mFaces, and mSharedData.
Referenced by LLViewerJointMesh::updateFaceData().
U32 LLPolyMesh::getNumJointNames | ( | ) | [inline] |
Definition at line 304 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mNumJointNames, and mSharedData.
Referenced by LLViewerJointMesh::setMesh().
std::string* LLPolyMesh::getJointNames | ( | ) | [inline] |
Definition at line 309 of file llpolymesh.h.
References llassert, LLPolyMeshSharedData::mJointNames, and mSharedData.
Referenced by LLViewerJointMesh::setMesh().
LLPolyMorphData * LLPolyMesh::getMorphData | ( | const char * | morph_name | ) |
Definition at line 932 of file llpolymesh.cpp.
References LLPolyMorphData::getName(), LLPolyMeshSharedData::mMorphData, mSharedData, and NULL.
Referenced by LLPolyMorphTarget::setInfo().
LLPolyMeshSharedData * LLPolyMesh::getSharedData | ( | ) | const |
Definition at line 806 of file llpolymesh.cpp.
References mSharedData.
Referenced by getMesh(), and LLViewerJointMesh::updateFaceSizes().
LLPolyMesh* LLPolyMesh::getReferenceMesh | ( | ) | [inline] |
Definition at line 319 of file llpolymesh.h.
References mReferenceMesh.
Referenced by LLViewerJointMesh::updateFaceSizes(), LLViewerJointMesh::updateGeometryVectorized(), and LLViewerJointMesh::uploadJointMatrices().
U32* LLPolyMesh::getIndices | ( | ) | [inline] |
Definition at line 322 of file llpolymesh.h.
References mSharedData, LLPolyMeshSharedData::mTriangleIndices, and NULL.
BOOL LLPolyMesh::isLOD | ( | ) | [inline] |
Definition at line 324 of file llpolymesh.h.
References LLPolyMeshSharedData::isLOD(), and mSharedData.
Referenced by LLPolyMorphTarget::apply(), and LLViewerJointMesh::setMesh().
void LLPolyMesh::setAvatar | ( | LLVOAvatar * | avatarp | ) | [inline] |
Definition at line 326 of file llpolymesh.h.
References mAvatarp.
Referenced by LLVOAvatar::loadMeshNodes().
LLVOAvatar* LLPolyMesh::getAvatar | ( | ) | [inline] |
Definition at line 327 of file llpolymesh.h.
References mAvatarp.
Referenced by LLPolyMorphTarget::setInfo().
void LLPolyMesh::initializeForMorph | ( | ) | [private] |
Definition at line 915 of file llpolymesh.cpp.
References LLPolyMeshSharedData::mBaseBinormals, LLPolyMeshSharedData::mBaseCoords, LLPolyMeshSharedData::mBaseNormals, mBinormals, mClothingWeights, mCoords, mNormals, LLPolyMeshSharedData::mNumVertices, mScaledBinormals, mScaledNormals, mSharedData, LLPolyMeshSharedData::mTexCoords, and mTexCoords.
Referenced by LLPolyMesh().
void LLPolyMesh::dumpDiagInfo | ( | ) | [static, private] |
Definition at line 815 of file llpolymesh.cpp.
References LLPolyMeshSharedData::getNumKB(), llendl, llformat(), llinfos, LLPolyMeshSharedData::mNumFaces, LLPolyMeshSharedData::mNumVertices, S32, and sGlobalSharedMeshList.
Definition at line 329 of file llpolymesh.h.
Referenced by LLVOAvatar::getSpatialExtents(), LLViewerJointMesh::setupJoint(), LLViewerJointMesh::updateGeometryVectorized(), LLViewerJointMesh::uploadJointMatrices(), and ~LLPolyMesh().
Definition at line 331 of file llpolymesh.h.
Referenced by LLViewerJointMesh::drawShape(), LLViewerJointMesh::updateFaceData(), LLViewerJointMesh::updateFaceSizes(), LLViewerJointMesh::updateGeometryOriginal(), and LLViewerJointMesh::updateGeometryVectorized().
Definition at line 332 of file llpolymesh.h.
Referenced by LLViewerJointMesh::drawShape(), and LLViewerJointMesh::updateFaceSizes().
Definition at line 333 of file llpolymesh.h.
Referenced by LLViewerJointMesh::drawShape(), LLViewerJointMesh::updateFaceData(), and LLViewerJointMesh::updateFaceSizes().
Definition at line 334 of file llpolymesh.h.
Referenced by LLViewerJointMesh::drawShape(), and LLViewerJointMesh::updateFaceSizes().
LLPolyMeshSharedData* LLPolyMesh::mSharedData [protected] |
Definition at line 344 of file llpolymesh.h.
Referenced by getBaseBinormals(), getBaseNormals(), getDetailTexCoords(), getFaces(), getIndices(), getJointNames(), getMesh(), getMorphData(), getNumFaces(), getNumJointNames(), getNumVertices(), getPosition(), getRotation(), getScale(), getSharedData(), getWeights(), getWritableWeights(), hasDetailTexCoords(), hasWeights(), initializeForMorph(), isLOD(), and LLPolyMesh().
F32* LLPolyMesh::mVertexData [protected] |
LLVector3* LLPolyMesh::mCoords [protected] |
Definition at line 348 of file llpolymesh.h.
Referenced by getCoords(), getWritableCoords(), initializeForMorph(), LLPolyMesh(), and ~LLPolyMesh().
LLVector3* LLPolyMesh::mScaledNormals [protected] |
Definition at line 350 of file llpolymesh.h.
Referenced by getScaledNormals(), initializeForMorph(), LLPolyMesh(), and ~LLPolyMesh().
LLVector3* LLPolyMesh::mNormals [protected] |
Definition at line 352 of file llpolymesh.h.
Referenced by getNormals(), getWritableNormals(), initializeForMorph(), LLPolyMesh(), and ~LLPolyMesh().
LLVector3* LLPolyMesh::mScaledBinormals [protected] |
Definition at line 354 of file llpolymesh.h.
Referenced by getScaledBinormals(), initializeForMorph(), LLPolyMesh(), and ~LLPolyMesh().
LLVector3* LLPolyMesh::mBinormals [protected] |
Definition at line 356 of file llpolymesh.h.
Referenced by getBinormals(), getWritableBinormals(), initializeForMorph(), LLPolyMesh(), and ~LLPolyMesh().
LLVector4* LLPolyMesh::mClothingWeights [protected] |
Definition at line 358 of file llpolymesh.h.
Referenced by getClothingWeights(), getWritableClothingWeights(), initializeForMorph(), LLPolyMesh(), and ~LLPolyMesh().
LLVector2* LLPolyMesh::mTexCoords [protected] |
Definition at line 360 of file llpolymesh.h.
Referenced by getTexCoords(), getWritableTexCoords(), initializeForMorph(), LLPolyMesh(), and ~LLPolyMesh().
LLPolyMesh* LLPolyMesh::mReferenceMesh [protected] |
LLPolyMesh::LLPolyMeshSharedDataTable LLPolyMesh::sGlobalSharedMeshList [static, protected] |
Definition at line 366 of file llpolymesh.h.
Referenced by dumpDiagInfo(), freeAllMeshes(), and getMesh().
LLVOAvatar* LLPolyMesh::mAvatarp [protected] |
Definition at line 369 of file llpolymesh.h.
Referenced by getAvatar(), LLPolyMesh(), and setAvatar().