LLViewerJointMesh Class Reference

#include <llviewerjointmesh.h>

Inheritance diagram for LLViewerJointMesh:

Inheritance graph
[legend]
Collaboration diagram for LLViewerJointMesh:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLViewerJointMesh ()
virtual ~LLViewerJointMesh ()
void getColor (F32 *red, F32 *green, F32 *blue, F32 *alpha)
void setColor (F32 red, F32 green, F32 blue, F32 alpha)
void setSpecular (const LLColor4 &color, F32 shiny)
void setTexture (LLViewerImage *texture)
void setTestTexture (U32 name)
void setLayerSet (LLTexLayerSet *layer_set)
LLPolyMeshgetMesh ()
void setMesh (LLPolyMesh *mesh)
void setupJoint (LLViewerJoint *current_joint)
void uploadJointMatrices ()
void setMeshID (S32 id)
S32 getMeshID ()
void drawBone ()
BOOL isTransparent ()
U32 drawShape (F32 pixelArea, BOOL first_pass)
void updateFaceSizes (U32 &num_vertices, U32 &num_indices, F32 pixel_area)
void updateFaceData (LLFace *face, F32 pixel_area, BOOL damp_wind=FALSE)
BOOL updateLOD (F32 pixel_area, BOOL activate)
void updateGeometry ()
void dump ()
void setIsTransparent (BOOL is_transparent)
BOOL isAnimatable ()

Static Public Member Functions

static void updateVectorize ()

Static Public Attributes

static BOOL sPipelineRender = FALSE
static U32 sClothingMaskImageName = 0
static EAvatarRenderPass sRenderPass = AVATAR_RENDER_PASS_SINGLE
static LLColor4 sClothingInnerColor

Protected Attributes

LLColor4 mColor
F32 mShiny
LLPointer< LLViewerImagemTexture
LLTexLayerSetmLayerSet
U32 mTestImageName
LLPolyMeshmMesh
BOOL mCullBackFaces
LLFacemFace
U32 mFaceIndexCount
BOOL mIsTransparent
U32 mNumSkinJoints
LLSkinJointmSkinJoints
S32 mMeshID

Private Member Functions

BOOL allocateSkinData (U32 numSkinJoints)
void freeSkinData ()

Static Private Member Functions

static void updateGeometryOriginal (LLFace *face, LLPolyMesh *mesh)
static void updateGeometryVectorized (LLFace *face, LLPolyMesh *mesh)
static void updateGeometrySSE (LLFace *face, LLPolyMesh *mesh)
static void updateGeometrySSE2 (LLFace *face, LLPolyMesh *mesh)

Static Private Attributes

static void(* sUpdateGeometryFunc )(LLFace *face, LLPolyMesh *mesh)


Detailed Description

Definition at line 68 of file llviewerjointmesh.h.


Constructor & Destructor Documentation

LLViewerJointMesh::LLViewerJointMesh (  ) 

LLViewerJointMesh::~LLViewerJointMesh (  )  [virtual]

Definition at line 177 of file llviewerjointmesh.cpp.

References freeSkinData(), mMesh, mTexture, and NULL.

Here is the call graph for this function:


Member Function Documentation

void LLViewerJointMesh::getColor ( F32 red,
F32 green,
F32 blue,
F32 alpha 
)

Definition at line 208 of file llviewerjointmesh.cpp.

References mColor.

void LLViewerJointMesh::setColor ( F32  red,
F32  green,
F32  blue,
F32  alpha 
)

Definition at line 219 of file llviewerjointmesh.cpp.

References mColor.

Referenced by LLVOAvatar::loadMeshNodes(), LLVOAvatar::onGlobalColorChanged(), and LLVOAvatar::updateMeshTextures().

Here is the caller graph for this function:

void LLViewerJointMesh::setSpecular ( const LLColor4 color,
F32  shiny 
) [inline]

Definition at line 109 of file llviewerjointmesh.h.

References mShiny.

Referenced by LLVOAvatar::LLVOAvatar().

Here is the caller graph for this function:

void LLViewerJointMesh::setTexture ( LLViewerImage texture  ) 

Definition at line 239 of file llviewerjointmesh.cpp.

References mLayerSet, mTexture, and NULL.

Referenced by LLVOAvatar::updateMeshTextures(), and LLVOAvatar::useBakedTexture().

Here is the caller graph for this function:

void LLViewerJointMesh::setTestTexture ( U32  name  )  [inline]

Definition at line 114 of file llviewerjointmesh.h.

References mTestImageName.

Referenced by LLImagePreviewAvatar::setPreviewTarget().

Here is the caller graph for this function:

void LLViewerJointMesh::setLayerSet ( LLTexLayerSet layer_set  ) 

Definition at line 256 of file llviewerjointmesh.cpp.

References mLayerSet, mTexture, and NULL.

Referenced by LLVOAvatar::updateMeshTextures().

Here is the caller graph for this function:

LLPolyMesh * LLViewerJointMesh::getMesh (  ) 

Definition at line 272 of file llviewerjointmesh.cpp.

References mMesh.

Referenced by LLVOAvatar::getHeadMesh(), LLVOAvatar::getUpperBodyMesh(), and LLVOAvatar::loadMeshNodes().

Here is the caller graph for this function:

void LLViewerJointMesh::setMesh ( LLPolyMesh mesh  ) 

void LLViewerJointMesh::setupJoint ( LLViewerJoint current_joint  ) 

void LLViewerJointMesh::uploadJointMatrices (  ) 

void LLViewerJointMesh::setMeshID ( S32  id  )  [inline]

Definition at line 132 of file llviewerjointmesh.h.

References mMeshID.

Referenced by LLVOAvatar::LLVOAvatar().

Here is the caller graph for this function:

S32 LLViewerJointMesh::getMeshID (  )  [inline]

Definition at line 135 of file llviewerjointmesh.h.

References mMeshID.

void LLViewerJointMesh::drawBone (  )  [virtual]

Reimplemented from LLViewerJoint.

Definition at line 474 of file llviewerjointmesh.cpp.

BOOL LLViewerJointMesh::isTransparent (  )  [virtual]

Reimplemented from LLViewerJoint.

Definition at line 481 of file llviewerjointmesh.cpp.

References mIsTransparent.

Referenced by drawShape().

Here is the caller graph for this function:

U32 LLViewerJointMesh::drawShape ( F32  pixelArea,
BOOL  first_pass 
) [virtual]

void LLViewerJointMesh::updateFaceSizes ( U32 num_vertices,
U32 num_indices,
F32  pixel_area 
) [virtual]

void LLViewerJointMesh::updateFaceData ( LLFace face,
F32  pixel_area,
BOOL  damp_wind = FALSE 
) [virtual]

BOOL LLViewerJointMesh::updateLOD ( F32  pixel_area,
BOOL  activate 
) [virtual]

Reimplemented from LLViewerJoint.

Definition at line 738 of file llviewerjointmesh.cpp.

References LLViewerJoint::mValid, LLViewerJoint::setValid(), and TRUE.

Here is the call graph for this function:

void LLViewerJointMesh::updateGeometry (  )  [virtual]

void LLViewerJointMesh::dump (  )  [virtual]

Reimplemented from LLViewerJoint.

Definition at line 1034 of file llviewerjointmesh.cpp.

References llendl, llinfos, LLJoint::mName, and LLViewerJoint::mValid.

void LLViewerJointMesh::setIsTransparent ( BOOL  is_transparent  )  [inline]

Definition at line 148 of file llviewerjointmesh.h.

References mIsTransparent.

Referenced by LLVOAvatar::LLVOAvatar().

Here is the caller graph for this function:

BOOL LLViewerJointMesh::isAnimatable (  )  [inline, virtual]

Reimplemented from LLJoint.

Definition at line 150 of file llviewerjointmesh.h.

References FALSE.

void LLViewerJointMesh::updateVectorize (  )  [static]

void LLViewerJointMesh::updateGeometryOriginal ( LLFace face,
LLPolyMesh mesh 
) [static, private]

void LLViewerJointMesh::updateGeometryVectorized ( LLFace face,
LLPolyMesh mesh 
) [static, private]

void LLViewerJointMesh::updateGeometrySSE ( LLFace face,
LLPolyMesh mesh 
) [static, private]

Definition at line 114 of file llviewerjointmesh_sse.cpp.

References updateGeometryVectorized().

Referenced by updateVectorize().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerJointMesh::updateGeometrySSE2 ( LLFace face,
LLPolyMesh mesh 
) [static, private]

Definition at line 121 of file llviewerjointmesh_sse2.cpp.

References updateGeometryVectorized().

Referenced by updateVectorize().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerJointMesh::allocateSkinData ( U32  numSkinJoints  )  [private]

Definition at line 188 of file llviewerjointmesh.cpp.

References mNumSkinJoints, mSkinJoints, and TRUE.

Referenced by setMesh().

Here is the caller graph for this function:

void LLViewerJointMesh::freeSkinData (  )  [private]

Definition at line 198 of file llviewerjointmesh.cpp.

References mNumSkinJoints, mSkinJoints, and NULL.

Referenced by setMesh(), and ~LLViewerJointMesh().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 71 of file llviewerjointmesh.h.

Referenced by drawShape(), getColor(), LLViewerJointMesh(), and setColor().

Definition at line 73 of file llviewerjointmesh.h.

Referenced by drawShape(), LLViewerJointMesh(), and setSpecular().

Definition at line 74 of file llviewerjointmesh.h.

Referenced by drawShape(), setLayerSet(), setTexture(), and ~LLViewerJointMesh().

Definition at line 75 of file llviewerjointmesh.h.

Referenced by drawShape(), setLayerSet(), and setTexture().

Definition at line 76 of file llviewerjointmesh.h.

Referenced by drawShape(), and setTestTexture().

Definition at line 78 of file llviewerjointmesh.h.

Referenced by LLViewerJointMesh().

Definition at line 81 of file llviewerjointmesh.h.

Definition at line 82 of file llviewerjointmesh.h.

Referenced by drawShape(), isTransparent(), and setIsTransparent().

Definition at line 84 of file llviewerjointmesh.h.

Referenced by allocateSkinData(), freeSkinData(), LLViewerJointMesh(), and setupJoint().

Definition at line 86 of file llviewerjointmesh.h.

Referenced by getMeshID(), LLViewerJointMesh(), and setMeshID().

Definition at line 89 of file llviewerjointmesh.h.

Definition at line 91 of file llviewerjointmesh.h.

EAvatarRenderPass LLViewerJointMesh::sRenderPass = AVATAR_RENDER_PASS_SINGLE [static]

Definition at line 92 of file llviewerjointmesh.h.

Referenced by LLVOAvatar::renderSkinned().

Definition at line 93 of file llviewerjointmesh.h.

void(* LLViewerJointMesh::sUpdateGeometryFunc)(LLFace *face, LLPolyMesh *mesh) ( LLFace face,
LLPolyMesh mesh 
) [static, private]

Referenced by updateGeometry(), and updateVectorize().


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:27:28 2008 for SecondLife by  doxygen 1.5.5