LLViewerPartSourceBeam Class Reference

#include <llviewerpartsource.h>

Inheritance diagram for LLViewerPartSourceBeam:

Inheritance graph
[legend]
Collaboration diagram for LLViewerPartSourceBeam:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLViewerPartSourceBeam ()
void setDead ()
void update (const F32 dt)
void setSourceObject (LLViewerObject *objp)
void setTargetObject (LLViewerObject *objp)
void setSourcePosGlobal (const LLVector3d &pos_global)
void setTargetPosGlobal (const LLVector3d &pos_global)
void setColor (const LLColor4 &color)

Static Public Member Functions

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

Public Attributes

LLPointer< LLViewerObjectmTargetObjectp
LLVector3d mLKGTargetPosGlobal
LLColor4 mColor

Protected Member Functions

 ~LLViewerPartSourceBeam ()

Detailed Description

Definition at line 162 of file llviewerpartsource.h.


Constructor & Destructor Documentation

LLViewerPartSourceBeam::LLViewerPartSourceBeam (  ) 

Definition at line 526 of file llviewerpartsource.cpp.

LLViewerPartSourceBeam::~LLViewerPartSourceBeam (  )  [protected]

Definition at line 531 of file llviewerpartsource.cpp.


Member Function Documentation

void LLViewerPartSourceBeam::setColor ( const LLColor4 color  ) 

Definition at line 543 of file llviewerpartsource.cpp.

References mColor.

void LLViewerPartSourceBeam::setDead (  )  [virtual]

Reimplemented from LLViewerPartSource.

Definition at line 535 of file llviewerpartsource.cpp.

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

void LLViewerPartSourceBeam::setSourceObject ( LLViewerObject objp  ) 

Definition at line 668 of file llviewerpartsource.cpp.

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

void LLViewerPartSourceBeam::setSourcePosGlobal ( const LLVector3d pos_global  ) 

void LLViewerPartSourceBeam::setTargetObject ( LLViewerObject objp  ) 

Definition at line 674 of file llviewerpartsource.cpp.

References mTargetObjectp, and LLMemType::MTYPE_PARTICLES.

void LLViewerPartSourceBeam::setTargetPosGlobal ( const LLVector3d pos_global  ) 

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

Reimplemented from LLViewerPartSource.

Definition at line 594 of file llviewerpartsource.cpp.

References f, gAgent, LLViewerImageList::getImage(), LLAgent::getPosAgentFromGlobal(), LLControlGroup::getString(), LLJoint::getWorldPosition(), gImageList, gViewerArt, gWorldPointer, LLVector3d::isExactlyZero(), LLPointer< Type >::isNull(), LLPartData::LL_PART_FOLLOW_VELOCITY_MASK, LLPartData::LL_PART_INTERP_COLOR_MASK, LLPartData::LL_PART_INTERP_SCALE_MASK, LLPartData::LL_PART_TARGET_POS_MASK, llmax(), llmin(), mColor, LLViewerPartSource::mImagep, LLViewerPartSource::mLastPartTime, LLViewerPartSource::mLastUpdateTime, mLKGTargetPosGlobal, LLViewerPartSource::mPosAgent, LLViewerPartSource::mSourceObjectp, mTargetObjectp, LLViewerPartSource::mTargetPosAgent, LLMemType::MTYPE_PARTICLES, LLVOAvatar::mWristLeftp, and NULL.

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

Reimplemented from LLViewerPartSource.

Definition at line 549 of file llviewerpartsource.cpp.

References gAgent, LLAgent::getPosAgentFromGlobal(), LLPartData::LL_PART_DEAD_MASK, LLPartData::mFlags, LLViewerPart::mLastUpdateTime, LLPartData::mMaxAge, LLViewerPart::mPartSourcep, LLViewerPart::mPosAgent, and LLMemType::MTYPE_PARTICLES.


Member Data Documentation

LLColor4 LLViewerPartSourceBeam::mColor

Definition at line 180 of file llviewerpartsource.h.

Referenced by setColor(), and update().

LLVector3d LLViewerPartSourceBeam::mLKGTargetPosGlobal

Definition at line 179 of file llviewerpartsource.h.

Referenced by update().

LLPointer<LLViewerObject> LLViewerPartSourceBeam::mTargetObjectp

Definition at line 178 of file llviewerpartsource.h.

Referenced by setDead(), setTargetObject(), and update().


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