LLViewerPart Class Reference

#include <llviewerpartsim.h>

Inheritance diagram for LLViewerPart:

Inheritance graph
[legend]
Collaboration diagram for LLViewerPart:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLViewerPart ()
LLViewerPartoperator= (const LLViewerPart &part)
void init (LLPointer< LLViewerPartSource > sourcep, LLViewerImage *imagep, LLVPCallback cb)

Public Attributes

U32 mPartID
F32 mLastUpdateTime
LLVPCallback mVPCallback
LLPointer< LLViewerPartSourcemPartSourcep
LLPointer< LLViewerImagemImagep
LLVector3 mPosAgent
LLVector3 mVelocity
LLVector3 mAccel
LLColor4 mColor
LLVector2 mScale

Static Public Attributes

static U32 sNextPartID = 1

Protected Member Functions

 ~LLViewerPart ()

Detailed Description

Definition at line 57 of file llviewerpartsim.h.


Constructor & Destructor Documentation

LLViewerPart::~LLViewerPart (  )  [protected]

Definition at line 73 of file llviewerpartsim.cpp.

References mPartSourcep, LLMemType::MTYPE_PARTICLES, and NULL.

LLViewerPart::LLViewerPart (  ) 

Definition at line 67 of file llviewerpartsim.cpp.

References mPartSourcep, LLMemType::MTYPE_PARTICLES, and NULL.


Member Function Documentation

void LLViewerPart::init ( LLPointer< LLViewerPartSource sourcep,
LLViewerImage imagep,
LLVPCallback  cb 
)

Definition at line 109 of file llviewerpartsim.cpp.

References LLPartData::mFlags, mImagep, mLastUpdateTime, LLPartData::mMaxAge, mPartID, mPartSourcep, LLMemType::MTYPE_PARTICLES, mVPCallback, and sNextPartID.

LLViewerPart & LLViewerPart::operator= ( const LLViewerPart part  ) 

Definition at line 79 of file llviewerpartsim.cpp.

References mAccel, mColor, LLPartData::mEndColor, LLPartData::mEndScale, LLPartData::mFlags, mImagep, mLastUpdateTime, LLPartData::mMaxAge, LLPartData::mParameter, mPartID, mPartSourcep, mPosAgent, LLPartData::mPosOffset, mScale, LLPartData::mStartColor, LLPartData::mStartScale, LLMemType::MTYPE_PARTICLES, mVelocity, and mVPCallback.


Member Data Documentation

LLVector3 LLViewerPart::mAccel

Definition at line 80 of file llviewerpartsim.h.

Referenced by operator=(), and LLViewerPartGroup::updateParticles().

LLColor4 LLViewerPart::mColor

Definition at line 81 of file llviewerpartsim.h.

Referenced by LLVOPartGroup::getGeometry(), operator=(), and LLViewerPartGroup::updateParticles().

LLPointer<LLViewerImage> LLViewerPart::mImagep

Definition at line 77 of file llviewerpartsim.h.

Referenced by init(), and operator=().

F32 LLViewerPart::mLastUpdateTime

Definition at line 69 of file llviewerpartsim.h.

Referenced by init(), operator=(), LLViewerPartSourceChat::updatePart(), LLViewerPartSourceBeam::updatePart(), LLViewerPartSourceSpiral::updatePart(), and LLViewerPartGroup::updateParticles().

U32 LLViewerPart::mPartID

Definition at line 68 of file llviewerpartsim.h.

Referenced by init(), and operator=().

LLPointer<LLViewerPartSource> LLViewerPart::mPartSourcep

Definition at line 73 of file llviewerpartsim.h.

Referenced by init(), LLViewerPart(), operator=(), LLViewerPartSourceChat::updatePart(), LLViewerPartSourceBeam::updatePart(), LLViewerPartSourceSpiral::updatePart(), LLViewerPartGroup::updateParticles(), and ~LLViewerPart().

LLVector3 LLViewerPart::mPosAgent

Definition at line 78 of file llviewerpartsim.h.

Referenced by LLViewerPartGroup::addPart(), LLVOPartGroup::getGeometry(), operator=(), LLViewerPartSim::put(), LLViewerPartSourceChat::updatePart(), LLViewerPartSourceBeam::updatePart(), LLViewerPartSourceSpiral::updatePart(), and LLViewerPartGroup::updateParticles().

LLVector2 LLViewerPart::mScale

Definition at line 82 of file llviewerpartsim.h.

Referenced by LLViewerPartGroup::addPart(), LLVOPartGroup::getGeometry(), operator=(), LLViewerPartSim::put(), and LLViewerPartGroup::updateParticles().

LLVector3 LLViewerPart::mVelocity

Definition at line 79 of file llviewerpartsim.h.

Referenced by LLVOPartGroup::getGeometry(), operator=(), and LLViewerPartGroup::updateParticles().

LLVPCallback LLViewerPart::mVPCallback

Definition at line 72 of file llviewerpartsim.h.

Referenced by init(), operator=(), and LLViewerPartGroup::updateParticles().

U32 LLViewerPart::sNextPartID = 1 [static]

Definition at line 84 of file llviewerpartsim.h.

Referenced by init().


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