LLHUDEffectSpiral Class Reference

#include <llhudeffecttrail.h>

Inheritance diagram for LLHUDEffectSpiral:

Inheritance graph
[legend]
Collaboration diagram for LLHUDEffectSpiral:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void markDead ()
void setTargetObject (LLViewerObject *objectp)
void setVMag (F32 vmag)
void setVOffset (F32 offset)
void setInitialRadius (F32 radius)
void setFinalRadius (F32 radius)
void setScaleBase (F32 scale)
void setScaleVar (F32 scale)
void setSpinRate (F32 rate)
void setFlickerRate (F32 rate)
void triggerLocal ()

Protected Member Functions

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

Private Attributes

BOOL mbInit
LLPointer< LLViewerPartSourcemPartSourcep
F32 mKillTime
F32 mVMag
F32 mVOffset
F32 mInitialRadius
F32 mFinalRadius
F32 mSpinRate
F32 mFlickerRate
F32 mScaleBase
F32 mScaleVar
LLFrameTimer mTimer
LLInterpLinear< F32mFadeInterp

Friends

class LLHUDObject

Detailed Description

Definition at line 47 of file llhudeffecttrail.h.


Constructor & Destructor Documentation

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

Definition at line 58 of file llhudeffecttrail.cpp.

References f, mFadeInterp, mFinalRadius, mFlickerRate, mInitialRadius, mKillTime, mScaleBase, mScaleVar, mSpinRate, mVMag, and mVOffset.

LLHUDEffectSpiral::~LLHUDEffectSpiral (  )  [protected]

Definition at line 76 of file llhudeffecttrail.cpp.


Member Function Documentation

void LLHUDEffectSpiral::markDead (  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 80 of file llhudeffecttrail.cpp.

References LLHUDObject::markDead(), mPartSourcep, and NULL.

Referenced by render(), and unpackData().

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

Reimplemented from LLHUDEffect.

Definition at line 90 of file llhudeffecttrail.cpp.

References _PREHASH_TypeData, htonmemcpy(), LLVector3d::isExactlyZero(), LLVector3d::mdV, LLHUDObject::mPositionGlobal, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, MVT_LLUUID, MVT_LLVector3d, and LLHUDEffect::packData().

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

Reimplemented from LLHUDEffect.

Definition at line 276 of file llhudeffecttrail.cpp.

References LLControlGroup::getBOOL(), LLFrameTimer::getElapsedTimeF32(), gSavedSettings, LLPointer< Type >::isNull(), markDead(), mKillTime, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, and mTimer.

void LLHUDEffectSpiral::setFinalRadius ( F32  radius  )  [inline]

Definition at line 55 of file llhudeffecttrail.h.

References mFinalRadius.

void LLHUDEffectSpiral::setFlickerRate ( F32  rate  )  [inline]

Definition at line 59 of file llhudeffecttrail.h.

References mFlickerRate.

void LLHUDEffectSpiral::setInitialRadius ( F32  radius  )  [inline]

Definition at line 54 of file llhudeffecttrail.h.

References mInitialRadius.

void LLHUDEffectSpiral::setScaleBase ( F32  scale  )  [inline]

Definition at line 56 of file llhudeffecttrail.h.

References mScaleBase.

void LLHUDEffectSpiral::setScaleVar ( F32  scale  )  [inline]

Definition at line 57 of file llhudeffecttrail.h.

References mScaleVar.

void LLHUDEffectSpiral::setSpinRate ( F32  rate  )  [inline]

Definition at line 58 of file llhudeffecttrail.h.

References mSpinRate.

void LLHUDEffectSpiral::setTargetObject ( LLViewerObject objectp  )  [virtual]

Reimplemented from LLHUDObject.

Definition at line 266 of file llhudeffecttrail.cpp.

References LLHUDObject::mTargetObject.

Referenced by LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropScript(), LLSelectMgr::selectionSetImage(), and unpackData().

void LLHUDEffectSpiral::setVMag ( F32  vmag  )  [inline]

Definition at line 52 of file llhudeffecttrail.h.

References mVMag.

void LLHUDEffectSpiral::setVOffset ( F32  offset  )  [inline]

Definition at line 53 of file llhudeffecttrail.h.

References mVOffset.

void LLHUDEffectSpiral::triggerLocal (  ) 

Definition at line 179 of file llhudeffecttrail.cpp.

References gAgent, LLPointer< Type >::get(), LLControlGroup::getBOOL(), LLFrameTimer::getElapsedTimeF32(), LLAgent::getID(), LLAgent::getPosAgentFromGlobal(), gSavedSettings, gWorldPointer, LLVector3d::isExactlyZero(), LLPointer< Type >::isNull(), LLViewerPartSource::LL_PART_SOURCE_BEAM, mbInit, LLHUDEffect::mColor, LLHUDEffect::mDuration, mKillTime, mPartSourcep, LLHUDObject::mPositionGlobal, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, mTimer, NULL, LLViewerPartSourceSpiral::setSourceObject(), LLColor4::setVec(), and TRUE.

Referenced by unpackData().

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

Reimplemented from LLHUDEffect.

Definition at line 116 of file llhudeffecttrail.cpp.

References _PREHASH_Effect, _PREHASH_TypeData, LLViewerObjectList::findObject(), LLMessageSystem::getBinaryDataFast(), LLMessageSystem::getSizeFast(), gObjectList, htonmemcpy(), LLUUID::isNull(), llendl, llwarns, markDead(), LLUUID::mData, LLVector3d::mdV, LLHUDObject::mPositionGlobal, MVT_LLUUID, MVT_LLVector3d, NULL, S32, LLHUDObject::setSourceObject(), setTargetObject(), size, triggerLocal(), and LLHUDEffect::unpackData().


Friends And Related Function Documentation

friend class LLHUDObject [friend]

Definition at line 64 of file llhudeffecttrail.h.


Member Data Documentation

BOOL LLHUDEffectSpiral::mbInit [private]

Definition at line 83 of file llhudeffecttrail.h.

Referenced by triggerLocal().

LLInterpLinear<F32> LLHUDEffectSpiral::mFadeInterp [private]

Definition at line 96 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral().

F32 LLHUDEffectSpiral::mFinalRadius [private]

Definition at line 90 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setFinalRadius().

F32 LLHUDEffectSpiral::mFlickerRate [private]

Definition at line 92 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setFlickerRate().

F32 LLHUDEffectSpiral::mInitialRadius [private]

Definition at line 89 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setInitialRadius().

F32 LLHUDEffectSpiral::mKillTime [private]

Definition at line 86 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), render(), and triggerLocal().

LLPointer<LLViewerPartSource> LLHUDEffectSpiral::mPartSourcep [private]

Definition at line 84 of file llhudeffecttrail.h.

Referenced by markDead(), and triggerLocal().

F32 LLHUDEffectSpiral::mScaleBase [private]

Definition at line 93 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setScaleBase().

F32 LLHUDEffectSpiral::mScaleVar [private]

Definition at line 94 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setScaleVar().

F32 LLHUDEffectSpiral::mSpinRate [private]

Definition at line 91 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setSpinRate().

LLFrameTimer LLHUDEffectSpiral::mTimer [private]

Definition at line 95 of file llhudeffecttrail.h.

Referenced by render(), and triggerLocal().

F32 LLHUDEffectSpiral::mVMag [private]

Definition at line 87 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setVMag().

F32 LLHUDEffectSpiral::mVOffset [private]

Definition at line 88 of file llhudeffecttrail.h.

Referenced by LLHUDEffectSpiral(), and setVOffset().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:24 2010 for Second Life Viewer by  doxygen 1.4.7