#include <llvopartgroup.h>
Inheritance diagram for LLVOPartGroup:
Definition at line 42 of file llvopartgroup.h.
anonymous enum |
LLVOPartGroup::LLVOPartGroup | ( | const LLUUID & | id, | |
const LLPCode | pcode, | |||
LLViewerRegion * | regionp | |||
) |
Definition at line 55 of file llvopartgroup.cpp.
References f, FALSE, ll_frand(), LLViewerObject::mbCanSelect, mDebugColor, LLUUID::null, LLViewerObject::setNumTEs(), and LLViewerObject::setTETexture().
LLVOPartGroup::~LLVOPartGroup | ( | ) | [protected] |
Definition at line 66 of file llvopartgroup.cpp.
LLDrawable * LLVOPartGroup::createDrawable | ( | LLPipeline * | pipeline | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 118 of file llvopartgroup.cpp.
References LLPipeline::allocDrawable(), FALSE, LLViewerObject::mDrawable, and LLPipeline::RENDER_TYPE_PARTICLES.
F32 LLVOPartGroup::getBinRadius | ( | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 76 of file llvopartgroup.cpp.
References LLXform::mScale, and LLVector3::mV.
void LLVOPartGroup::getGeometry | ( | S32 | idx, | |
LLStrider< LLVector3 > & | verticesp, | |||
LLStrider< LLVector3 > & | normalsp, | |||
LLStrider< LLVector2 > & | texcoordsp, | |||
LLStrider< LLColor4U > & | colorsp, | |||
LLStrider< U32 > & | indicesp | |||
) | [virtual] |
Implements LLAlphaObject.
Definition at line 297 of file llvopartgroup.cpp.
References f, gAgent, gCamera, LLAgent::getCameraPositionAgent(), LLCoordFrame::getXAxis(), isParticle(), LLPartData::LL_PART_FOLLOW_VELOCITY_MASK, LLViewerPart::mColor, LLViewerObject::mDrawable, LLPartData::mFlags, LLViewerPartGroup::mParticles, LLViewerPart::mPosAgent, LLViewerPart::mScale, LLVector2::mV, LLViewerPart::mVelocity, mViewerPartGroupp, LLVector2::normVec(), LLVector3::normVec(), right, and S32.
U32 LLVOPartGroup::getPartitionType | ( | ) | const [virtual] |
Reimplemented from LLViewerObject.
Definition at line 396 of file llvopartgroup.cpp.
References LLPipeline::PARTITION_PARTICLE.
Reimplemented from LLAlphaObject.
Definition at line 128 of file llvopartgroup.cpp.
References LLViewerPartGroup::mParticles, mViewerPartGroupp, and S32.
LLViewerPartGroup* LLVOPartGroup::getViewerPartGroup | ( | ) | [inline] |
Reimplemented from LLViewerObject.
Definition at line 91 of file llvopartgroup.cpp.
References TRUE.
BOOL LLVOPartGroup::isActive | ( | ) | const [virtual] |
Reimplemented from LLViewerObject.
Definition at line 71 of file llvopartgroup.cpp.
References TRUE.
BOOL LLVOPartGroup::isParticle | ( | ) | [virtual] |
Reimplemented from LLAlphaObject.
Definition at line 391 of file llvopartgroup.cpp.
References FALSE.
Referenced by getGeometry(), and updateGeometry().
Reimplemented from LLViewerObject.
Definition at line 96 of file llvopartgroup.cpp.
References f, gCamera, LLViewerObject::getMidScale(), LLCoordFrame::getOrigin(), LLViewerObject::getRenderPosition(), LLViewerObject::isHUDAttachment(), LLViewerObject::mAppAngle, RAD_TO_DEG, and range.
void LLVOPartGroup::setViewerPartGroup | ( | LLViewerPartGroup * | part_groupp | ) | [inline] |
BOOL LLVOPartGroup::updateGeometry | ( | LLDrawable * | drawable | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 138 of file llvopartgroup.cpp.
References LLFace::clearState(), count, LLSpatialGroup::dirtyGeom(), f, LLFastTimer::FTM_UPDATE_PARTICLES, LLFace::FULLBRIGHT, gCamera, LLViewerPartGroup::getCount(), LLDrawable::getFace(), LLViewerPartSim::getMaxPartCount(), LLDrawable::getNumFaces(), LLCoordFrame::getOrigin(), LLViewerCamera::getPixelMeterRatio(), LLDrawable::getSpatialGroup(), LLViewerObject::getTEImage(), gPipeline, LLPipeline::hasRenderType(), i, isParticle(), LLPartData::LL_PART_EMISSIVE_MASK, llendl, llmax(), llwarns, LLVector3::magVecSquared(), MAX_PARTICLE_AREA_SCALE, LLFace::mCenterLocal, LLAlphaObject::mDepth, LLViewerObject::mDrawable, mExtents, LLDrawable::movePartition(), LLViewerPartGroup::mParticles, LLViewerObject::mPixelArea, LLVector3::mV, mViewerPartGroupp, LLCoordFrame::mYAxis, LLCoordFrame::mZAxis, NULL, LLPipeline::RENDER_TYPE_PARTICLES, S32, LLPipeline::sCompiles, LLFace::setFaceColor(), LLDrawable::setNumFaces(), LLDrawable::setNumFacesFast(), LLFace::setSize(), LLFace::setState(), LLFace::setTEOffset(), LLFace::setTexture(), LLFace::setViewerObject(), LLFace::setVirtualSize(), TRUE, update_min_max(), y, and z.
Reimplemented from LLViewerObject.
Definition at line 81 of file llvopartgroup.cpp.
References LLViewerObject::getPositionAgent(), LLViewerObject::mDrawable, mExtents, and LLXform::mScale.
LLColor4 LLVOPartGroup::mDebugColor [protected] |
LLVector3 LLVOPartGroup::mExtents[2] [protected] |
Definition at line 84 of file llvopartgroup.h.
Referenced by updateGeometry(), and updateSpatialExtents().
LLViewerPartGroup* LLVOPartGroup::mViewerPartGroupp [protected] |
Definition at line 83 of file llvopartgroup.h.
Referenced by getGeometry(), getPartSize(), getViewerPartGroup(), setViewerPartGroup(), and updateGeometry().