#include <llpolymesh.h>
Collaboration diagram for LLPolyMeshSharedData:
Definition at line 72 of file llpolymesh.h.
typedef LLLinkedList<LLPolyMorphData> LLPolyMeshSharedData::LLPolyMorphDataList [private] |
Definition at line 102 of file llpolymesh.h.
LLPolyMeshSharedData::LLPolyMeshSharedData | ( | ) | [private] |
Definition at line 61 of file llpolymesh.cpp.
References FALSE, mBaseBinormals, mBaseCoords, mBaseNormals, mDetailTexCoords, mFaces, mHasDetailTexCoords, mHasWeights, mJointNames, mLastIndexOffset, mNumFaces, mNumJointNames, mNumTriangleIndices, mNumVertices, mReferenceData, mTexCoords, mTriangleIndices, mWeights, and NULL.
LLPolyMeshSharedData::~LLPolyMeshSharedData | ( | ) | [private] |
Definition at line 90 of file llpolymesh.cpp.
References LLLinkedList< DATA_TYPE >::deleteAllData(), freeMeshData(), and mMorphData.
Definition at line 242 of file llpolymesh.cpp.
References mFaces, mNumFaces, mNumTriangleIndices, and TRUE.
Referenced by loadMesh().
Definition at line 253 of file llpolymesh.cpp.
References mJointNames, mNumJointNames, and TRUE.
Referenced by loadMesh().
Definition at line 222 of file llpolymesh.cpp.
References f, i, mBaseBinormals, mBaseCoords, mBaseNormals, mDetailTexCoords, mNumVertices, mTexCoords, mWeights, and TRUE.
Referenced by loadMesh().
void LLPolyMeshSharedData::freeMeshData | ( | ) | [private] |
Definition at line 119 of file llpolymesh.cpp.
References mBaseBinormals, mBaseCoords, mBaseNormals, mDetailTexCoords, mFaces, mJointNames, mNumFaces, mNumJointNames, mNumVertices, mReferenceData, mTexCoords, mTriangleIndices, mWeights, and NULL.
Referenced by loadMesh(), and ~LLPolyMeshSharedData().
Definition at line 164 of file llpolymesh.cpp.
References i, mFaces, mLastIndexOffset, mNumFaces, mNumTriangleIndices, mTriangleIndices, and S32.
U32 LLPolyMeshSharedData::getNumKB | ( | ) | [private] |
Definition at line 191 of file llpolymesh.cpp.
References isLOD(), mHasDetailTexCoords, mHasWeights, mNumFaces, and mNumVertices.
Referenced by LLPolyMesh::dumpDiagInfo().
Definition at line 657 of file llpolymesh.cpp.
References mSharedVerts, and NULL.
Referenced by LLPolyVertexMask::generateMask().
Definition at line 669 of file llpolymesh.cpp.
References llassert, mNumVertices, mTexCoords, and S32.
Referenced by LLPolyVertexMask::generateMask().
BOOL LLPolyMeshSharedData::isLOD | ( | ) | [inline] |
Definition at line 149 of file llpolymesh.h.
References mReferenceData, and NULL.
Referenced by getNumKB(), LLPolyMesh::isLOD(), LLPolyMesh::LLPolyMesh(), and loadMesh().
BOOL LLPolyMeshSharedData::loadMesh | ( | const char * | fileName | ) | [private] |
Definition at line 263 of file llpolymesh.cpp.
References LLLinkedList< DATA_TYPE >::addData(), allocateFaceData(), allocateJointNames(), allocateVertexData(), face, FALSE, LLFile::fopen(), freeMeshData(), HEADER_BINARY, i, isLOD(), j, llassert, lldebugs, llendl, llerrs, llwarns, LLPolyMorphData::loadBinary(), mayaQ(), mBaseBinormals, mBaseCoords, mBaseNormals, mDetailTexCoords, mFaces, mHasDetailTexCoords, mHasWeights, mJointNames, mMorphData, mNumJointNames, mNumVertices, mReferenceData, mSharedVerts, mTexCoords, LLVector3::mV, mWeights, S32, setPosition(), setRotation(), setScale(), and TRUE.
void LLPolyMeshSharedData::setRotation | ( | const LLQuaternion & | rot | ) | [inline, private] |
void LLPolyMeshSharedData::setupLOD | ( | LLPolyMeshSharedData * | reference_data | ) | [private] |
Definition at line 99 of file llpolymesh.cpp.
References mBaseBinormals, mBaseCoords, mBaseNormals, mDetailTexCoords, mHasDetailTexCoords, mHasWeights, mReferenceData, mTexCoords, and mWeights.
friend class LLPolyMesh [friend] |
Definition at line 74 of file llpolymesh.h.
LLVector3* LLPolyMeshSharedData::mBaseBinormals [private] |
Definition at line 85 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getBaseBinormals(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLVector3* LLPolyMeshSharedData::mBaseCoords [private] |
Definition at line 83 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLVector3* LLPolyMeshSharedData::mBaseNormals [private] |
Definition at line 84 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getBaseNormals(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLVector2* LLPolyMeshSharedData::mDetailTexCoords [private] |
Definition at line 87 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getDetailTexCoords(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLPolyFace* LLPolyMeshSharedData::mFaces [private] |
Definition at line 95 of file llpolymesh.h.
Referenced by allocateFaceData(), freeMeshData(), genIndices(), LLPolyMesh::getFaces(), LLPolyMeshSharedData(), and loadMesh().
Definition at line 91 of file llpolymesh.h.
Referenced by getNumKB(), LLPolyMesh::hasDetailTexCoords(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
BOOL LLPolyMeshSharedData::mHasWeights [private] |
Definition at line 90 of file llpolymesh.h.
Referenced by getNumKB(), LLPolyMesh::hasWeights(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
std::string* LLPolyMeshSharedData::mJointNames [private] |
Definition at line 99 of file llpolymesh.h.
Referenced by allocateJointNames(), freeMeshData(), LLPolyMesh::getJointNames(), LLPolyMeshSharedData(), and loadMesh().
S32 LLPolyMeshSharedData::mLastIndexOffset [private] |
Definition at line 108 of file llpolymesh.h.
Referenced by genIndices(), and LLPolyMeshSharedData().
Definition at line 103 of file llpolymesh.h.
Referenced by LLPolyMesh::deleteAllMorphData(), LLPolyMesh::getMorphData(), loadMesh(), LLPolyMesh::removeMorphData(), and ~LLPolyMeshSharedData().
S32 LLPolyMeshSharedData::mNumFaces [private] |
Definition at line 94 of file llpolymesh.h.
Referenced by allocateFaceData(), LLPolyMesh::dumpDiagInfo(), freeMeshData(), genIndices(), LLPolyMesh::getNumFaces(), getNumKB(), and LLPolyMeshSharedData().
U32 LLPolyMeshSharedData::mNumJointNames [private] |
Definition at line 98 of file llpolymesh.h.
Referenced by allocateJointNames(), freeMeshData(), LLPolyMesh::getNumJointNames(), LLPolyMeshSharedData(), and loadMesh().
Definition at line 113 of file llpolymesh.h.
Referenced by allocateFaceData(), genIndices(), LLPolyMeshSharedData(), and LLViewerJointMesh::updateFaceSizes().
S32 LLPolyMeshSharedData::mNumVertices [private] |
Definition at line 82 of file llpolymesh.h.
Referenced by allocateVertexData(), LLPolyMesh::dumpDiagInfo(), freeMeshData(), getNumKB(), LLPolyMesh::getNumVertices(), getUVs(), LLPolyMesh::initializeForMorph(), LLPolyMesh::LLPolyMesh(), LLPolyMeshSharedData(), and loadMesh().
LLVector3 LLPolyMeshSharedData::mPosition [private] |
Definition at line 77 of file llpolymesh.h.
Referenced by LLPolyMesh::getPosition(), and setPosition().
Definition at line 107 of file llpolymesh.h.
Referenced by freeMeshData(), isLOD(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLQuaternion LLPolyMeshSharedData::mRotation [private] |
Definition at line 78 of file llpolymesh.h.
Referenced by LLPolyMesh::getRotation(), and setRotation().
LLVector3 LLPolyMeshSharedData::mScale [private] |
std::map<S32, S32> LLPolyMeshSharedData::mSharedVerts [private] |
LLVector2* LLPolyMeshSharedData::mTexCoords [private] |
Definition at line 86 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), getUVs(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
Definition at line 114 of file llpolymesh.h.
Referenced by freeMeshData(), genIndices(), LLPolyMesh::getIndices(), and LLPolyMeshSharedData().
F32* LLPolyMeshSharedData::mWeights [private] |
Definition at line 88 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getWeights(), LLPolyMesh::getWritableWeights(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().