#include <llpolymesh.h>
Definition at line 69 of file llpolymesh.h.
typedef std::set<LLPolyMorphData*> LLPolyMeshSharedData::morphdata_list_t [private] |
Definition at line 99 of file llpolymesh.h.
LLPolyMeshSharedData::LLPolyMeshSharedData | ( | ) |
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 | ( | ) |
Definition at line 90 of file llpolymesh.cpp.
References freeMeshData(), and mMorphData.
void LLPolyMeshSharedData::setupLOD | ( | LLPolyMeshSharedData * | reference_data | ) | [private] |
Definition at line 100 of file llpolymesh.cpp.
References mBaseBinormals, mBaseCoords, mBaseNormals, mDetailTexCoords, mHasDetailTexCoords, mHasWeights, mReferenceData, mTexCoords, and mWeights.
void LLPolyMeshSharedData::freeMeshData | ( | ) | [private] |
Definition at line 120 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().
void LLPolyMeshSharedData::setPosition | ( | const LLVector3 & | pos | ) | [inline, private] |
Definition at line 123 of file llpolymesh.h.
References mPosition.
Referenced by loadMesh().
void LLPolyMeshSharedData::setRotation | ( | const LLQuaternion & | rot | ) | [inline, private] |
Definition at line 124 of file llpolymesh.h.
References mRotation.
Referenced by loadMesh().
void LLPolyMeshSharedData::setScale | ( | const LLVector3 & | scale | ) | [inline, private] |
Definition at line 125 of file llpolymesh.h.
References mScale.
Referenced by loadMesh().
Definition at line 223 of file llpolymesh.cpp.
References i, mBaseBinormals, mBaseCoords, mBaseNormals, mDetailTexCoords, mNumVertices, mTexCoords, mWeights, and TRUE.
Referenced by loadMesh().
Definition at line 243 of file llpolymesh.cpp.
References mFaces, mNumFaces, mNumTriangleIndices, and TRUE.
Referenced by loadMesh().
Definition at line 254 of file llpolymesh.cpp.
References mJointNames, mNumJointNames, and TRUE.
Referenced by loadMesh().
U32 LLPolyMeshSharedData::getNumKB | ( | ) | [private] |
Definition at line 192 of file llpolymesh.cpp.
References isLOD(), mHasDetailTexCoords, mHasWeights, mNumFaces, and mNumVertices.
Referenced by LLPolyMesh::dumpDiagInfo().
BOOL LLPolyMeshSharedData::loadMesh | ( | const char * | fileName | ) | [private] |
Definition at line 264 of file llpolymesh.cpp.
References allocateFaceData(), allocateJointNames(), allocateVertexData(), 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(), indra::ipc::saranwrap::status(), and TRUE.
void LLPolyMeshSharedData::genIndices | ( | S32 | offset | ) |
Definition at line 165 of file llpolymesh.cpp.
References i, mFaces, mLastIndexOffset, mNumFaces, mNumTriangleIndices, mTriangleIndices, and S32.
Definition at line 670 of file llpolymesh.cpp.
References llassert, mNumVertices, mTexCoords, and S32.
Referenced by LLPolyVertexMask::generateMask().
Definition at line 658 of file llpolymesh.cpp.
References mSharedVerts, and NULL.
Referenced by LLPolyVertexMask::generateMask().
BOOL LLPolyMeshSharedData::isLOD | ( | ) | [inline] |
Definition at line 146 of file llpolymesh.h.
References mReferenceData, and NULL.
Referenced by getNumKB(), LLPolyMesh::isLOD(), LLPolyMesh::LLPolyMesh(), and loadMesh().
friend class LLPolyMesh [friend] |
Definition at line 71 of file llpolymesh.h.
LLVector3 LLPolyMeshSharedData::mPosition [private] |
Definition at line 74 of file llpolymesh.h.
Referenced by LLPolyMesh::getPosition(), and setPosition().
LLQuaternion LLPolyMeshSharedData::mRotation [private] |
Definition at line 75 of file llpolymesh.h.
Referenced by LLPolyMesh::getRotation(), and setRotation().
LLVector3 LLPolyMeshSharedData::mScale [private] |
S32 LLPolyMeshSharedData::mNumVertices [private] |
Definition at line 79 of file llpolymesh.h.
Referenced by allocateVertexData(), LLPolyMesh::dumpDiagInfo(), freeMeshData(), getNumKB(), LLPolyMesh::getNumVertices(), getUVs(), LLPolyMesh::initializeForMorph(), LLPolyMesh::LLPolyMesh(), LLPolyMeshSharedData(), and loadMesh().
LLVector3* LLPolyMeshSharedData::mBaseCoords [private] |
Definition at line 80 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLVector3* LLPolyMeshSharedData::mBaseNormals [private] |
Definition at line 81 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getBaseNormals(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLVector3* LLPolyMeshSharedData::mBaseBinormals [private] |
Definition at line 82 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getBaseBinormals(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLVector2* LLPolyMeshSharedData::mTexCoords [private] |
Definition at line 83 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), getUVs(), LLPolyMesh::initializeForMorph(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
LLVector2* LLPolyMeshSharedData::mDetailTexCoords [private] |
Definition at line 84 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getDetailTexCoords(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
F32* LLPolyMeshSharedData::mWeights [private] |
Definition at line 85 of file llpolymesh.h.
Referenced by allocateVertexData(), freeMeshData(), LLPolyMesh::getWeights(), LLPolyMesh::getWritableWeights(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
BOOL LLPolyMeshSharedData::mHasWeights [private] |
Definition at line 87 of file llpolymesh.h.
Referenced by getNumKB(), LLPolyMesh::hasWeights(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
Definition at line 88 of file llpolymesh.h.
Referenced by getNumKB(), LLPolyMesh::hasDetailTexCoords(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
S32 LLPolyMeshSharedData::mNumFaces [private] |
Definition at line 91 of file llpolymesh.h.
Referenced by allocateFaceData(), LLPolyMesh::dumpDiagInfo(), freeMeshData(), genIndices(), LLPolyMesh::getNumFaces(), getNumKB(), and LLPolyMeshSharedData().
LLPolyFace* LLPolyMeshSharedData::mFaces [private] |
Definition at line 92 of file llpolymesh.h.
Referenced by allocateFaceData(), freeMeshData(), genIndices(), LLPolyMesh::getFaces(), LLPolyMeshSharedData(), and loadMesh().
U32 LLPolyMeshSharedData::mNumJointNames [private] |
Definition at line 95 of file llpolymesh.h.
Referenced by allocateJointNames(), freeMeshData(), LLPolyMesh::getNumJointNames(), LLPolyMeshSharedData(), and loadMesh().
std::string* LLPolyMeshSharedData::mJointNames [private] |
Definition at line 96 of file llpolymesh.h.
Referenced by allocateJointNames(), freeMeshData(), LLPolyMesh::getJointNames(), LLPolyMeshSharedData(), and loadMesh().
Definition at line 100 of file llpolymesh.h.
Referenced by LLPolyMesh::getMorphData(), loadMesh(), and ~LLPolyMeshSharedData().
std::map<S32, S32> LLPolyMeshSharedData::mSharedVerts [private] |
Definition at line 104 of file llpolymesh.h.
Referenced by freeMeshData(), isLOD(), LLPolyMeshSharedData(), loadMesh(), and setupLOD().
S32 LLPolyMeshSharedData::mLastIndexOffset [private] |
Definition at line 105 of file llpolymesh.h.
Referenced by genIndices(), and LLPolyMeshSharedData().
Definition at line 110 of file llpolymesh.h.
Referenced by allocateFaceData(), genIndices(), LLPolyMeshSharedData(), and LLViewerJointMesh::updateFaceSizes().
Definition at line 111 of file llpolymesh.h.
Referenced by freeMeshData(), genIndices(), LLPolyMesh::getIndices(), and LLPolyMeshSharedData().