LLPolyMorphData Class Reference

#include <llpolymorph.h>

Collaboration diagram for LLPolyMorphData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPolyMorphData (char *morph_name)
 ~LLPolyMorphData ()
BOOL loadBinary (FILE *fp, LLPolyMeshSharedData *mesh)
char * loadASCII (char *text, LLPolyMeshSharedData *mesh)
char * getName ()

Public Attributes

char * mName
U32 mNumIndices
U32mVertexIndices
U32 mCurrentIndex
LLVector3mCoords
LLVector3mNormals
LLVector3mBinormals
LLVector2mTexCoords
F32 mTotalDistortion
F32 mMaxDistortion
LLVector3 mAvgDistortion
LLPolyMeshSharedDatamMesh

Detailed Description

Definition at line 50 of file llpolymorph.h.


Constructor & Destructor Documentation

LLPolyMorphData::LLPolyMorphData ( char *  morph_name  ) 

Definition at line 52 of file llpolymorph.cpp.

References llassert, mAvgDistortion, mBinormals, mCoords, mCurrentIndex, mMaxDistortion, mMesh, mName, mNormals, mNumIndices, mTexCoords, mTotalDistortion, mVertexIndices, NULL, and LLVector3::zeroVec().

LLPolyMorphData::~LLPolyMorphData (  ) 

Definition at line 76 of file llpolymorph.cpp.

References mBinormals, mCoords, mName, mNormals, mTexCoords, and mVertexIndices.


Member Function Documentation

char* LLPolyMorphData::getName ( void   )  [inline]

Definition at line 58 of file llpolymorph.h.

References mName.

char* LLPolyMorphData::loadASCII ( char *  text,
LLPolyMeshSharedData mesh 
)

BOOL LLPolyMorphData::loadBinary ( FILE *  fp,
LLPolyMeshSharedData mesh 
)

Definition at line 89 of file llpolymorph.cpp.

References FALSE, gLoadedMorphs, llendl, llerrs, llwarns, LLVector3::magVec(), mAvgDistortion, mBinormals, mCoords, mMaxDistortion, mMesh, mNormals, mNumIndices, mTexCoords, mTotalDistortion, LLVector3::mV, mVertexIndices, LLVector3::normVec(), S32, TRUE, v, VX, VY, VZ, and LLVector3::zeroVec().

Referenced by LLPolyMeshSharedData::loadMesh().


Member Data Documentation

LLVector3 LLPolyMorphData::mAvgDistortion

Definition at line 74 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::getAvgDistortion(), LLPolyMorphData(), and loadBinary().

LLVector3* LLPolyMorphData::mBinormals

Definition at line 69 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLPolyMorphData(), loadBinary(), and ~LLPolyMorphData().

LLVector3* LLPolyMorphData::mCoords

Definition at line 67 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLPolyMorphTarget::getFirstDistortion(), LLPolyMorphTarget::getNextDistortion(), LLPolyMorphTarget::getVertexDistortion(), LLPolyMorphData(), loadBinary(), and ~LLPolyMorphData().

U32 LLPolyMorphData::mCurrentIndex

Definition at line 66 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::getFirstDistortion(), LLPolyMorphTarget::getNextDistortion(), and LLPolyMorphData().

F32 LLPolyMorphData::mMaxDistortion

Definition at line 73 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::getMaxDistortion(), LLPolyMorphData(), and loadBinary().

LLPolyMeshSharedData* LLPolyMorphData::mMesh

Definition at line 75 of file llpolymorph.h.

Referenced by LLPolyVertexMask::generateMask(), LLPolyMorphData(), and loadBinary().

char* LLPolyMorphData::mName

Definition at line 61 of file llpolymorph.h.

Referenced by getName(), LLPolyMorphData(), and ~LLPolyMorphData().

LLVector3* LLPolyMorphData::mNormals

Definition at line 68 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLPolyMorphData(), loadBinary(), and ~LLPolyMorphData().

U32 LLPolyMorphData::mNumIndices

Definition at line 64 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLPolyVertexMask::generateMask(), LLPolyMorphTarget::getFirstDistortion(), LLPolyMorphTarget::getNextDistortion(), LLPolyMorphTarget::getVertexDistortion(), LLPolyMorphData(), LLPolyVertexMask::LLPolyVertexMask(), and loadBinary().

LLVector2* LLPolyMorphData::mTexCoords

Definition at line 70 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLPolyMorphData(), loadBinary(), and ~LLPolyMorphData().

F32 LLPolyMorphData::mTotalDistortion

Definition at line 72 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::getTotalDistortion(), LLPolyMorphData(), and loadBinary().

U32* LLPolyMorphData::mVertexIndices

Definition at line 65 of file llpolymorph.h.

Referenced by LLPolyMorphTarget::apply(), LLPolyMorphTarget::applyMask(), LLPolyVertexMask::generateMask(), LLPolyMorphTarget::getFirstDistortion(), LLPolyMorphTarget::getNextDistortion(), LLPolyMorphTarget::getVertexDistortion(), LLPolyMorphData(), loadBinary(), and ~LLPolyMorphData().


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