LLViewerJoint Class Reference

#include <llviewerjoint.h>

Inheritance diagram for LLViewerJoint:

Inheritance graph
[legend]
Collaboration diagram for LLViewerJoint:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Components { SC_BONE = 1, SC_JOINT = 2, SC_AXES = 4 }
enum  PickName {
  PN_DEFAULT = -1, PN_0 = 0, PN_1 = 1, PN_2 = 2,
  PN_3 = 3, PN_4 = 4, PN_5 = 5
}

Public Member Functions

 LLViewerJoint ()
 LLViewerJoint (const std::string &name, LLJoint *parent=NULL)
virtual ~LLViewerJoint ()
BOOL getValid ()
virtual void setValid (BOOL valid, BOOL recursive=FALSE)
virtual void renderSkeleton (BOOL recursive=TRUE)
virtual U32 render (F32 pixelArea, BOOL first_pass=TRUE)
virtual void drawBone ()
virtual BOOL isTransparent ()
virtual BOOL inheritScale ()
virtual U32 drawShape (F32 pixelArea, BOOL first_pass=TRUE)
virtual void drawNormals ()
void setSkeletonComponents (U32 comp, BOOL recursive=TRUE)
U32 getSkeletonComponents ()
F32 getLOD ()
void setLOD (F32 pixelArea)
void setPickName (PickName name)
PickName getPickName ()
virtual void updateFaceSizes (U32 &num_vertices, U32 &num_indices, F32 pixel_area)
virtual void updateFaceData (LLFace *face, F32 pixel_area, BOOL damp_wind=FALSE)
virtual BOOL updateLOD (F32 pixel_area, BOOL activate)
virtual void updateGeometry ()
virtual void dump ()
void setVisible (BOOL visible, BOOL recursive)

Static Public Attributes

static BOOL sDisableLOD = FALSE

Protected Attributes

BOOL mValid
U32 mComponents
F32 mMinPixelArea
PickName mPickName
BOOL mVisible


Detailed Description

Definition at line 46 of file llviewerjoint.h.


Member Enumeration Documentation

Enumerator:
SC_BONE 
SC_JOINT 
SC_AXES 

Definition at line 88 of file llviewerjoint.h.

Enumerator:
PN_DEFAULT 
PN_0 
PN_1 
PN_2 
PN_3 
PN_4 
PN_5 

Definition at line 114 of file llviewerjoint.h.


Constructor & Destructor Documentation

LLViewerJoint::LLViewerJoint (  ) 

LLViewerJoint::LLViewerJoint ( const std::string &  name,
LLJoint parent = NULL 
)

LLViewerJoint::~LLViewerJoint (  )  [virtual]

Definition at line 89 of file llviewerjoint.cpp.


Member Function Documentation

BOOL LLViewerJoint::getValid (  )  [inline]

Definition at line 55 of file llviewerjoint.h.

References mValid.

Referenced by LLVOAvatar::getSpatialExtents(), and LLVOAvatar::idleUpdate().

Here is the caller graph for this function:

void LLViewerJoint::setValid ( BOOL  valid,
BOOL  recursive = FALSE 
) [virtual]

Definition at line 97 of file llviewerjoint.cpp.

References LLJoint::mChildren, mValid, setValid(), and TRUE.

Referenced by LLVOAvatar::releaseMeshData(), setValid(), LLViewerJointMesh::updateLOD(), and LLViewerJointAttachment::updateLOD().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerJoint::renderSkeleton ( BOOL  recursive = TRUE  )  [virtual]

U32 LLViewerJoint::render ( F32  pixelArea,
BOOL  first_pass = TRUE 
) [virtual]

void LLViewerJoint::drawBone (  )  [virtual]

BOOL LLViewerJoint::isTransparent (  )  [virtual]

Reimplemented in LLViewerJointAttachment, and LLViewerJointMesh.

Definition at line 390 of file llviewerjoint.cpp.

References FALSE.

Referenced by render().

Here is the caller graph for this function:

virtual BOOL LLViewerJoint::inheritScale (  )  [inline, virtual]

Reimplemented in LLViewerJointCollisionVolume.

Definition at line 81 of file llviewerjoint.h.

References FALSE.

Referenced by LLPolySkeletalDistortion::setInfo().

Here is the caller graph for this function:

U32 LLViewerJoint::drawShape ( F32  pixelArea,
BOOL  first_pass = TRUE 
) [virtual]

Reimplemented in LLViewerJointAttachment, and LLViewerJointMesh.

Definition at line 398 of file llviewerjoint.cpp.

Referenced by render().

Here is the caller graph for this function:

virtual void LLViewerJoint::drawNormals (  )  [inline, virtual]

Definition at line 86 of file llviewerjoint.h.

void LLViewerJoint::setSkeletonComponents ( U32  comp,
BOOL  recursive = TRUE 
)

Definition at line 406 of file llviewerjoint.cpp.

References LLJoint::mChildren, mComponents, and setSkeletonComponents().

Referenced by setSkeletonComponents().

Here is the call graph for this function:

Here is the caller graph for this function:

U32 LLViewerJoint::getSkeletonComponents (  )  [inline]

Definition at line 99 of file llviewerjoint.h.

References mComponents.

F32 LLViewerJoint::getLOD (  )  [inline]

Definition at line 108 of file llviewerjoint.h.

References mMinPixelArea.

Referenced by render(), and updateLOD().

Here is the caller graph for this function:

void LLViewerJoint::setLOD ( F32  pixelArea  )  [inline]

Definition at line 109 of file llviewerjoint.h.

References mMinPixelArea.

Referenced by LLViewerJointAttachment::calcLOD(), and LLVOAvatar::loadMeshNodes().

Here is the caller graph for this function:

void LLViewerJoint::setPickName ( PickName  name  )  [inline]

Definition at line 124 of file llviewerjoint.h.

References mPickName.

Referenced by LLVOAvatar::LLVOAvatar().

Here is the caller graph for this function:

PickName LLViewerJoint::getPickName (  )  [inline]

Definition at line 125 of file llviewerjoint.h.

References mPickName.

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

Reimplemented in LLViewerJointMesh.

Definition at line 420 of file llviewerjoint.cpp.

References LLJoint::mChildren, and updateFaceSizes().

Referenced by updateFaceSizes(), and LLVOAvatar::updateMeshData().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in LLViewerJointMesh.

Definition at line 430 of file llviewerjoint.cpp.

References LLJoint::mChildren, and updateFaceData().

Referenced by updateFaceData(), and LLVOAvatar::updateMeshData().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Reimplemented in LLViewerJointAttachment, and LLViewerJointMesh.

Definition at line 451 of file llviewerjoint.cpp.

References DEFAULT_LOD, FALSE, getLOD(), LLJoint::mChildren, sDisableLOD, TRUE, and updateLOD().

Referenced by LLVOAvatar::updateJointLODs(), and updateLOD().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerJoint::updateGeometry (  )  [virtual]

Reimplemented in LLViewerJointMesh.

Definition at line 440 of file llviewerjoint.cpp.

References LLJoint::mChildren, and updateGeometry().

Referenced by LLVOAvatar::renderSkinned(), and updateGeometry().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerJoint::dump (  )  [virtual]

Reimplemented in LLViewerJointMesh.

Definition at line 483 of file llviewerjoint.cpp.

References dump(), and LLJoint::mChildren.

Referenced by dump().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerJoint::setVisible ( BOOL  visible,
BOOL  recursive 
)

Definition at line 493 of file llviewerjoint.cpp.

References LLJoint::mChildren, mVisible, and setVisible().

Referenced by LLImagePreviewAvatar::setPreviewTarget(), and setVisible().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

BOOL LLViewerJoint::sDisableLOD = FALSE [static]

Definition at line 136 of file llviewerjoint.h.

Referenced by init_debug_avatar_menu(), render(), and updateLOD().

Definition at line 141 of file llviewerjoint.h.

Referenced by getLOD(), LLViewerJoint(), and setLOD().

Definition at line 142 of file llviewerjoint.h.

Referenced by getPickName(), LLViewerJoint(), and setPickName().

Definition at line 143 of file llviewerjoint.h.

Referenced by LLViewerJointMesh::drawShape(), LLViewerJoint(), and setVisible().


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

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