LLHUDEffectPointAt Class Reference

#include <llhudeffectpointat.h>

Inheritance diagram for LLHUDEffectPointAt:

Inheritance graph
[legend]
Collaboration diagram for LLHUDEffectPointAt:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void markDead ()
void setSourceObject (LLViewerObject *objectp)
BOOL setPointAt (EPointAtType target_type, LLViewerObject *object, LLVector3 position)
void clearPointAtTarget ()
EPointAtType getPointAtType ()
const LLVector3getPointAtPosAgent ()
const LLVector3d getPointAtPosGlobal ()

Static Public Attributes

static BOOL sDebugPointAt

Protected Member Functions

 LLHUDEffectPointAt (const U8 type)
 ~LLHUDEffectPointAt ()
void render ()
void packData (LLMessageSystem *mesgsys)
void unpackData (LLMessageSystem *mesgsys, S32 blocknum)
void setTargetObjectAndOffset (LLViewerObject *objp, LLVector3d offset)
void setTargetPosGlobal (const LLVector3d &target_pos_global)
bool calcTargetPosition ()
void update ()

Private Attributes

EPointAtType mTargetType
LLVector3d mTargetOffsetGlobal
LLVector3 mLastSentOffsetGlobal
F32 mKillTime
LLFrameTimer mTimer
LLVector3 mTargetPos
F32 mLastSendTime

Friends

class LLHUDObject


Detailed Description

Definition at line 49 of file llhudeffectpointat.h.


Constructor & Destructor Documentation

LLHUDEffectPointAt::LLHUDEffectPointAt ( const U8  type  )  [protected]

Definition at line 85 of file llhudeffectpointat.cpp.

References clearPointAtTarget().

Here is the call graph for this function:

LLHUDEffectPointAt::~LLHUDEffectPointAt (  )  [protected]

Definition at line 96 of file llhudeffectpointat.cpp.


Member Function Documentation

void LLHUDEffectPointAt::markDead (  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 303 of file llhudeffectpointat.cpp.

References clearPointAtTarget(), LLPointer< Type >::isNull(), LLHUDObject::markDead(), and LLHUDObject::mSourceObject.

Referenced by update().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLHUDEffectPointAt::setSourceObject ( LLViewerObject objectp  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 314 of file llhudeffectpointat.cpp.

References LLPrimitive::isAvatar(), and LLHUDObject::setSourceObject().

Referenced by unpackData().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLHUDEffectPointAt::setPointAt ( EPointAtType  target_type,
LLViewerObject object,
LLVector3  position 
)

void LLHUDEffectPointAt::clearPointAtTarget (  ) 

Definition at line 293 of file llhudeffectpointat.cpp.

References LLVector3d::clearVec(), LLHUDObject::mTargetObject, mTargetOffsetGlobal, mTargetType, NULL, and POINTAT_TARGET_NONE.

Referenced by LLHUDEffectPointAt(), markDead(), setPointAt(), and update().

Here is the call graph for this function:

Here is the caller graph for this function:

EPointAtType LLHUDEffectPointAt::getPointAtType (  )  [inline]

Definition at line 60 of file llhudeffectpointat.h.

References mTargetType.

const LLVector3& LLHUDEffectPointAt::getPointAtPosAgent (  )  [inline]

Definition at line 61 of file llhudeffectpointat.h.

References mTargetPos.

const LLVector3d LLHUDEffectPointAt::getPointAtPosGlobal (  ) 

Definition at line 455 of file llhudeffectpointat.cpp.

References LLHUDObject::mSourceObject, mTargetPos, LLPointer< Type >::notNull(), and LLVector3d::setVec().

Here is the call graph for this function:

void LLHUDEffectPointAt::render (  )  [protected, virtual]

void LLHUDEffectPointAt::packData ( LLMessageSystem mesgsys  )  [protected, virtual]

void LLHUDEffectPointAt::unpackData ( LLMessageSystem mesgsys,
S32  blocknum 
) [protected, virtual]

void LLHUDEffectPointAt::setTargetObjectAndOffset ( LLViewerObject objp,
LLVector3d  offset 
) [protected]

Definition at line 209 of file llhudeffectpointat.cpp.

References LLHUDObject::mTargetObject, and mTargetOffsetGlobal.

Referenced by unpackData().

Here is the caller graph for this function:

void LLHUDEffectPointAt::setTargetPosGlobal ( const LLVector3d target_pos_global  )  [protected]

Definition at line 218 of file llhudeffectpointat.cpp.

References LLHUDObject::mTargetObject, mTargetOffsetGlobal, and NULL.

Referenced by unpackData().

Here is the caller graph for this function:

bool LLHUDEffectPointAt::calcTargetPosition (  )  [protected]

void LLHUDEffectPointAt::update (  )  [protected, virtual]

Reimplemented from LLHUDEffect.

Definition at line 356 of file llhudeffectpointat.cpp.

References ANIM_AGENT_EDITING, calcTargetPosition(), clearPointAtTarget(), LLFrameTimer::getElapsedTimeF32(), LLPointer< Type >::isNull(), markDead(), mKillTime, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, mTargetType, mTimer, and POINTAT_TARGET_NONE.

Referenced by render(), setPointAt(), and unpackData().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class LLHUDObject [friend]

Definition at line 52 of file llhudeffectpointat.h.


Member Data Documentation

Definition at line 77 of file llhudeffectpointat.h.

Referenced by init_debug_avatar_menu(), and render().

Definition at line 81 of file llhudeffectpointat.h.

Referenced by setPointAt().

Definition at line 82 of file llhudeffectpointat.h.

Referenced by setPointAt(), and update().

Definition at line 83 of file llhudeffectpointat.h.

Referenced by packData(), setPointAt(), and update().

Definition at line 85 of file llhudeffectpointat.h.

Referenced by packData(), and setPointAt().


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

Generated on Fri May 16 08:49:16 2008 for SecondLife by  doxygen 1.5.5