LLViewerJointAttachment Class Reference

#include <llviewerjointattachment.h>

Inheritance diagram for LLViewerJointAttachment:

Inheritance graph
[legend]
Collaboration diagram for LLViewerJointAttachment:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLViewerJointAttachment ()
virtual ~LLViewerJointAttachment ()
BOOL isTransparent ()
U32 drawShape (F32 pixelArea, BOOL first_pass)
BOOL updateLOD (F32 pixel_area, BOOL activate)
void setJoint (LLJoint *joint)
void setPieSlice (S32 pie_slice)
void setVisibleInFirstPerson (BOOL visibility)
BOOL getVisibleInFirstPerson ()
void setGroup (S32 group)
void setOriginalPosition (LLVector3 &position)
void setAttachmentVisibility (BOOL visible)
void setIsHUDAttachment (BOOL is_hud)
BOOL getIsHUDAttachment ()
BOOL isAnimatable ()
S32 getGroup ()
S32 getPieSlice ()
LLViewerObjectgetObject ()
S32 getNumObjects ()
const LLUUIDgetItemID ()
BOOL addObject (LLViewerObject *object)
void removeObject (LLViewerObject *object)
void setupDrawable (LLDrawable *drawable)
void clampObjectPosition ()

Protected Member Functions

void calcLOD ()

Protected Attributes

LLJointmJoint
LLViewerObjectmAttachedObject
BOOL mVisibleInFirst
LLVector3 mOriginalPos
S32 mGroup
BOOL mIsHUDAttachment
S32 mPieSlice
LLUUID mItemID


Detailed Description

Definition at line 48 of file llviewerjointattachment.h.


Constructor & Destructor Documentation

LLViewerJointAttachment::LLViewerJointAttachment (  ) 

Definition at line 58 of file llviewerjointattachment.cpp.

References FALSE, LLJoint::mUpdateXform, and LLViewerJoint::mValid.

LLViewerJointAttachment::~LLViewerJointAttachment (  )  [virtual]

Definition at line 73 of file llviewerjointattachment.cpp.


Member Function Documentation

BOOL LLViewerJointAttachment::isTransparent (  )  [virtual]

Reimplemented from LLViewerJoint.

Definition at line 80 of file llviewerjointattachment.cpp.

References FALSE.

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

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

Reimplemented from LLViewerJoint.

Definition at line 371 of file llviewerjointattachment.cpp.

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

Here is the call graph for this function:

void LLViewerJointAttachment::setJoint ( LLJoint joint  )  [inline]

Definition at line 71 of file llviewerjointattachment.h.

References mJoint.

void LLViewerJointAttachment::setPieSlice ( S32  pie_slice  )  [inline]

Definition at line 72 of file llviewerjointattachment.h.

References mPieSlice.

Referenced by LLVOAvatar::loadSkeletonNode().

Here is the caller graph for this function:

void LLViewerJointAttachment::setVisibleInFirstPerson ( BOOL  visibility  )  [inline]

Definition at line 73 of file llviewerjointattachment.h.

References mVisibleInFirst.

Referenced by LLVOAvatar::loadSkeletonNode().

Here is the caller graph for this function:

BOOL LLViewerJointAttachment::getVisibleInFirstPerson (  )  [inline]

Definition at line 74 of file llviewerjointattachment.h.

References mVisibleInFirst.

Referenced by LLVOAvatar::updateAttachmentVisibility().

Here is the caller graph for this function:

void LLViewerJointAttachment::setGroup ( S32  group  )  [inline]

Definition at line 75 of file llviewerjointattachment.h.

References mGroup.

Referenced by LLVOAvatar::loadSkeletonNode().

Here is the caller graph for this function:

void LLViewerJointAttachment::setOriginalPosition ( LLVector3 position  ) 

Definition at line 327 of file llviewerjointattachment.cpp.

References mOriginalPos, and LLJoint::setPosition().

Referenced by LLVOAvatar::loadSkeletonNode().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerJointAttachment::setAttachmentVisibility ( BOOL  visible  ) 

void LLViewerJointAttachment::setIsHUDAttachment ( BOOL  is_hud  )  [inline]

Definition at line 78 of file llviewerjointattachment.h.

References mIsHUDAttachment.

Referenced by LLVOAvatar::loadSkeletonNode().

Here is the caller graph for this function:

BOOL LLViewerJointAttachment::getIsHUDAttachment (  )  [inline]

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

Reimplemented from LLJoint.

Definition at line 81 of file llviewerjointattachment.h.

References FALSE.

S32 LLViewerJointAttachment::getGroup (  )  [inline]

Definition at line 83 of file llviewerjointattachment.h.

References mGroup.

Referenced by LLVOAvatar::buildCharacter().

Here is the caller graph for this function:

S32 LLViewerJointAttachment::getPieSlice (  )  [inline]

Definition at line 84 of file llviewerjointattachment.h.

References mPieSlice.

Referenced by LLVOAvatar::buildCharacter().

Here is the caller graph for this function:

LLViewerObject* LLViewerJointAttachment::getObject (  )  [inline]

S32 LLViewerJointAttachment::getNumObjects (  )  [inline]

Definition at line 86 of file llviewerjointattachment.h.

References mAttachedObject.

Referenced by LLMakeOutfitDialog::LLMakeOutfitDialog().

Here is the caller graph for this function:

const LLUUID& LLViewerJointAttachment::getItemID (  )  [inline]

BOOL LLViewerJointAttachment::addObject ( LLViewerObject object  ) 

void LLViewerJointAttachment::removeObject ( LLViewerObject object  ) 

void LLViewerJointAttachment::setupDrawable ( LLDrawable drawable  ) 

void LLViewerJointAttachment::clampObjectPosition (  ) 

Definition at line 336 of file llviewerjointattachment.cpp.

References LLXform::getPosition(), llmin(), mAttachedObject, MAX_ATTACHMENT_DIST, LLVector3::normVec(), and LLViewerObject::setPosition().

Referenced by LLVOAvatar::clampAttachmentPositions().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLViewerJointAttachment::calcLOD (  )  [protected]

Definition at line 352 of file llviewerjointattachment.cpp.

References LLViewerObject::getMaxScale(), LLViewerObject::getMidScale(), llclamp(), llmax(), mAttachedObject, LLViewerObject::mChildList, and LLViewerJoint::setLOD().

Referenced by addObject().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 102 of file llviewerjointattachment.h.

Referenced by setJoint().

Definition at line 105 of file llviewerjointattachment.h.

Referenced by getVisibleInFirstPerson(), and setVisibleInFirstPerson().

Definition at line 106 of file llviewerjointattachment.h.

Referenced by setOriginalPosition().

Definition at line 107 of file llviewerjointattachment.h.

Referenced by getGroup(), and setGroup().

Definition at line 109 of file llviewerjointattachment.h.

Referenced by getPieSlice(), and setPieSlice().

Definition at line 110 of file llviewerjointattachment.h.

Referenced by addObject(), getItemID(), and removeObject().


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

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