LLViewerPartGroup Class Reference

#include <llviewerpartsim.h>

Collaboration diagram for LLViewerPartGroup:

Collaboration graph
[legend]

List of all members.

Public Types

typedef std::vector< LLPointer
< LLViewerPart > > 
part_list_t

Public Member Functions

 LLViewerPartGroup (const LLVector3 &center, const F32 box_radius)
virtual ~LLViewerPartGroup ()
void cleanup ()
BOOL addPart (LLViewerPart *part, const F32 desired_size=-1.f)
void updateParticles (const F32 lastdt)
BOOL posInGroup (const LLVector3 &pos, const F32 desired_size=-1.f)
void shift (const LLVector3 &offset)
const LLVector3getCenterAgent () const
S32 getCount () const
LLViewerRegiongetRegion () const
void removeParticlesByID (const U32 source_id)

Public Attributes

part_list_t mParticles
LLPointer< LLVOPartGroupmVOPartGroupp
BOOL mUniformParticles
U32 mID
F32 mSkippedTime

Protected Attributes

LLVector3 mCenterAgent
F32 mBoxRadius
LLVector3 mMinObjPos
LLVector3 mMaxObjPos
LLViewerRegionmRegionp


Detailed Description

Definition at line 86 of file llviewerpartsim.h.


Member Typedef Documentation

Definition at line 103 of file llviewerpartsim.h.


Constructor & Destructor Documentation

LLViewerPartGroup::LLViewerPartGroup ( const LLVector3 center,
const F32  box_radius 
)

LLViewerPartGroup::~LLViewerPartGroup (  )  [virtual]

Definition at line 166 of file llviewerpartsim.cpp.

References cleanup(), LLViewerPartSim::decPartCount(), mParticles, LLMemType::MTYPE_PARTICLES, and S32.

Here is the call graph for this function:


Member Function Documentation

void LLViewerPartGroup::cleanup (  ) 

Definition at line 177 of file llviewerpartsim.cpp.

References gObjectList, LLViewerObjectList::killObject(), LLMemType::MTYPE_PARTICLES, mVOPartGroupp, and NULL.

Referenced by ~LLViewerPartGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLViewerPartGroup::addPart ( LLViewerPart part,
const F32  desired_size = -1.f 
)

void LLViewerPartGroup::updateParticles ( const F32  lastdt  ) 

BOOL LLViewerPartGroup::posInGroup ( const LLVector3 pos,
const F32  desired_size = -1.f 
)

Definition at line 190 of file llviewerpartsim.cpp.

References FALSE, mBoxRadius, mMaxObjPos, mMinObjPos, LLMemType::MTYPE_PARTICLES, LLVector3::mV, TRUE, VX, VY, and VZ.

Referenced by addPart(), and updateParticles().

Here is the caller graph for this function:

void LLViewerPartGroup::shift ( const LLVector3 offset  ) 

const LLVector3& LLViewerPartGroup::getCenterAgent (  )  const [inline]

Definition at line 106 of file llviewerpartsim.h.

References mCenterAgent.

Referenced by LLViewerPartGroup().

Here is the caller graph for this function:

S32 LLViewerPartGroup::getCount (  )  const [inline]

Definition at line 107 of file llviewerpartsim.h.

References mParticles, and S32.

Referenced by LLVOPartGroup::updateGeometry().

Here is the caller graph for this function:

LLViewerRegion* LLViewerPartGroup::getRegion (  )  const [inline]

Definition at line 108 of file llviewerpartsim.h.

References mRegionp.

Referenced by LLViewerPartGroup(), and updateParticles().

Here is the caller graph for this function:

void LLViewerPartGroup::removeParticlesByID ( const U32  source_id  ) 


Member Data Documentation

Definition at line 112 of file llviewerpartsim.h.

Referenced by addPart(), cleanup(), LLViewerPartGroup(), and updateParticles().

Definition at line 114 of file llviewerpartsim.h.

Referenced by addPart(), and LLViewerPartGroup().

Definition at line 115 of file llviewerpartsim.h.

Referenced by LLViewerPartGroup().

Definition at line 117 of file llviewerpartsim.h.

Referenced by addPart(), LLViewerPartGroup(), and updateParticles().

Definition at line 120 of file llviewerpartsim.h.

Referenced by getCenterAgent(), LLViewerPartGroup(), and shift().

Definition at line 121 of file llviewerpartsim.h.

Referenced by LLViewerPartGroup(), and posInGroup().

Definition at line 122 of file llviewerpartsim.h.

Referenced by LLViewerPartGroup(), posInGroup(), and shift().

Definition at line 123 of file llviewerpartsim.h.

Referenced by LLViewerPartGroup(), posInGroup(), and shift().

Definition at line 125 of file llviewerpartsim.h.

Referenced by getRegion(), and LLViewerPartGroup().


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

Generated on Fri May 16 09:32:42 2008 for SecondLife by  doxygen 1.5.5