LLHUDEffectBeam Class Reference

#include <llhudeffectbeam.h>

Inheritance diagram for LLHUDEffectBeam:

Inheritance graph
[legend]
Collaboration diagram for LLHUDEffectBeam:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void setSourceObject (LLViewerObject *objp)
void setTargetObject (LLViewerObject *objp)
void setTargetPos (const LLVector3d &target_pos_global)

Protected Member Functions

 LLHUDEffectBeam (const U8 type)
 ~LLHUDEffectBeam ()
void render ()
void packData (LLMessageSystem *mesgsys)
void unpackData (LLMessageSystem *mesgsys, S32 blocknum)

Private Member Functions

void setupParticle (const S32 i)

Private Attributes

F32 mKillTime
LLFrameTimer mTimer
LLInterpLinear< LLVector3dmInterp [NUM_POINTS]
LLInterpLinear< F32mInterpFade [NUM_POINTS]
LLInterpLinear< F32mFadeInterp
LLVector3d mTargetPos

Friends

class LLHUDObject


Detailed Description

Definition at line 45 of file llhudeffectbeam.h.


Constructor & Destructor Documentation

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

LLHUDEffectBeam::~LLHUDEffectBeam (  )  [protected]

Definition at line 79 of file llhudeffectbeam.cpp.


Member Function Documentation

void LLHUDEffectBeam::setSourceObject ( LLViewerObject objp  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 177 of file llhudeffectbeam.cpp.

References gAgent, LLAgent::getPosGlobalFromAgent(), LLJoint::getWorldPosition(), i, LLViewerObject::isDead(), llendl, llwarns, mInterp, LLHUDObject::mSourceObject, LLVOAvatar::mWristLeftp, NULL, NUM_POINTS, S32, LLInterp< Type >::setStartVal(), and LLInterpLinear< Type >::start().

Referenced by unpackData().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLHUDEffectBeam::setTargetObject ( LLViewerObject objp  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 215 of file llhudeffectbeam.cpp.

References llendl, llwarns, and LLHUDObject::mTargetObject.

Referenced by unpackData().

Here is the caller graph for this function:

void LLHUDEffectBeam::setTargetPos ( const LLVector3d target_pos_global  ) 

Definition at line 225 of file llhudeffectbeam.cpp.

References LLHUDObject::mTargetObject, mTargetPos, and NULL.

Referenced by unpackData().

Here is the caller graph for this function:

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

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

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

void LLHUDEffectBeam::setupParticle ( const S32  i  )  [private]


Friends And Related Function Documentation

friend class LLHUDObject [friend]

Definition at line 54 of file llhudeffectbeam.h.


Member Data Documentation

Definition at line 66 of file llhudeffectbeam.h.

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

Definition at line 67 of file llhudeffectbeam.h.

Referenced by render(), and unpackData().

Definition at line 68 of file llhudeffectbeam.h.

Referenced by LLHUDEffectBeam(), render(), setSourceObject(), and setupParticle().

Definition at line 69 of file llhudeffectbeam.h.

Referenced by LLHUDEffectBeam(), render(), and setupParticle().

Definition at line 70 of file llhudeffectbeam.h.

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

Definition at line 71 of file llhudeffectbeam.h.

Referenced by packData(), render(), setTargetPos(), and setupParticle().


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

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