LLViewerPartSourceSpiral Class Reference

#include <llviewerpartsource.h>

Inheritance diagram for LLViewerPartSourceSpiral:

Inheritance graph
[legend]
Collaboration diagram for LLViewerPartSourceSpiral:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLViewerPartSourceSpiral (const LLVector3 &pos)
void setDead ()
void update (const F32 dt)
void setSourceObject (LLViewerObject *objp)
void setColor (const LLColor4 &color)

Static Public Member Functions

static void updatePart (LLViewerPart &part, const F32 dt)

Public Attributes

LLColor4 mColor

Protected Attributes

LLVector3d mLKGSourcePosGlobal

Detailed Description

Definition at line 138 of file llviewerpartsource.h.


Constructor & Destructor Documentation

LLViewerPartSourceSpiral::LLViewerPartSourceSpiral ( const LLVector3 pos  ) 

Definition at line 424 of file llviewerpartsource.cpp.

References LLViewerPartSource::mPosAgent.


Member Function Documentation

void LLViewerPartSourceSpiral::setColor ( const LLColor4 color  ) 

Definition at line 517 of file llviewerpartsource.cpp.

References mColor.

void LLViewerPartSourceSpiral::setDead (  )  [virtual]

Reimplemented from LLViewerPartSource.

Definition at line 430 of file llviewerpartsource.cpp.

References LLViewerPartSource::mIsDead, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, NULL, and TRUE.

void LLViewerPartSourceSpiral::setSourceObject ( LLViewerObject objp  ) 

Definition at line 511 of file llviewerpartsource.cpp.

References LLViewerPartSource::mSourceObjectp, and LLMemType::MTYPE_PARTICLES.

Referenced by LLHUDEffectSpiral::triggerLocal().

void LLViewerPartSourceSpiral::update ( const F32  dt  )  [virtual]

Reimplemented from LLViewerPartSource.

Definition at line 463 of file llviewerpartsource.cpp.

References f, F_TWO_PI, LLViewerImageList::getImage(), LLControlGroup::getString(), gImageList, gViewerArt, gWorldPointer, LLPointer< Type >::isNull(), ll_frand(), LLPartData::LL_PART_INTERP_COLOR_MASK, llmax(), llmin(), mColor, LLViewerPartSource::mImagep, LLViewerPartSource::mLastPartTime, LLViewerPartSource::mLastUpdateTime, LLViewerPartSource::mPosAgent, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, and updatePart().

void LLViewerPartSourceSpiral::updatePart ( LLViewerPart part,
const F32  dt 
) [static]

Reimplemented from LLViewerPartSource.

Definition at line 438 of file llviewerpartsource.cpp.

References F_TWO_PI, LLPointer< Type >::get(), LLPointer< Type >::isNull(), LLViewerPart::mLastUpdateTime, LLPartData::mMaxAge, LLPartData::mParameter, LLViewerPart::mPartSourcep, LLViewerPartSource::mPosAgent, LLViewerPart::mPosAgent, LLViewerPartSource::mSourceObjectp, LLMemType::MTYPE_PARTICLES, LLVector3::mV, VX, VY, VZ, x, and y.

Referenced by update().


Member Data Documentation

LLColor4 LLViewerPartSourceSpiral::mColor

Definition at line 151 of file llviewerpartsource.h.

Referenced by setColor(), and update().

LLVector3d LLViewerPartSourceSpiral::mLKGSourcePosGlobal [protected]

Definition at line 153 of file llviewerpartsource.h.


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