#include <llvotextbubble.h>
Inheritance diagram for LLVOTextBubble:
Public Member Functions | |
LLVOTextBubble (const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp) | |
BOOL | isActive () const |
BOOL | idleUpdate (LLAgent &agent, LLWorld &world, const F64 &time) |
void | updateTextures (LLAgent &agent) |
LLDrawable * | createDrawable (LLPipeline *pipeline) |
BOOL | updateGeometry (LLDrawable *drawable) |
BOOL | updateLOD () |
void | updateFaceSize (S32 idx) |
void | getGeometry (S32 idx, LLStrider< LLVector3 > &verticesp, LLStrider< LLVector3 > &normalsp, LLStrider< LLVector2 > &texcoordsp, LLStrider< LLColor4U > &colorsp, LLStrider< U32 > &indicesp) |
virtual U32 | getPartitionType () const |
Public Attributes | |
LLColor4 | mColor |
S32 | mLOD |
BOOL | mVolumeChanged |
Protected Member Functions | |
~LLVOTextBubble () | |
BOOL | setVolume (const LLVolumeParams &volume_params) |
Protected Attributes | |
LLFrameTimer | mUpdateTimer |
Definition at line 38 of file llvotextbubble.h.
LLVOTextBubble::LLVOTextBubble | ( | const LLUUID & | id, | |
const LLPCode | pcode, | |||
LLViewerRegion * | regionp | |||
) |
Definition at line 49 of file llvotextbubble.cpp.
References f, FALSE, LLPrimitive::getNumTEs(), i, IMG_DEFAULT, LL_PCODE_PATH_LINE, LL_PCODE_PROFILE_CIRCLE, LLViewerObject::mbCanSelect, mColor, MIN_LOD, mLOD, mVolumeChanged, S32, LLVolumeParams::setBeginAndEndS(), LLVolumeParams::setBeginAndEndT(), LLVolumeParams::setRatio(), LLViewerObject::setScale(), LLVolumeParams::setShear(), LLViewerObject::setTEColor(), LLViewerObject::setTETexture(), LLVolumeParams::setType(), LLPrimitive::setVelocity(), setVolume(), and TRUE.
LLVOTextBubble::~LLVOTextBubble | ( | ) | [protected] |
Definition at line 74 of file llvotextbubble.cpp.
LLDrawable * LLVOTextBubble::createDrawable | ( | LLPipeline * | pipeline | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 149 of file llvotextbubble.cpp.
References LLPipeline::allocDrawable(), FALSE, LLTextureEntry::getID(), LLViewerImageList::getImage(), LLPrimitive::getNumTEs(), LLPrimitive::getTE(), gImageList, i, LLViewerObject::mDrawable, NULL, and LLPipeline::RENDER_TYPE_VOLUME.
void LLVOTextBubble::getGeometry | ( | S32 | idx, | |
LLStrider< LLVector3 > & | verticesp, | |||
LLStrider< LLVector3 > & | normalsp, | |||
LLStrider< LLVector2 > & | texcoordsp, | |||
LLStrider< LLColor4U > & | colorsp, | |||
LLStrider< U32 > & | indicesp | |||
) | [virtual] |
Implements LLAlphaObject.
Definition at line 234 of file llvotextbubble.cpp.
References face, LLViewerObject::getPositionAgent(), LLXform::getScale(), LLPrimitive::getTE(), LLPrimitive::getVolume(), LLVolume::getVolumeFace(), i, and LLViewerObject::mDrawable.
U32 LLVOTextBubble::getPartitionType | ( | ) | const [virtual] |
Reimplemented from LLViewerObject.
Definition at line 266 of file llvotextbubble.cpp.
References LLPipeline::PARTITION_PARTICLE.
Reimplemented from LLViewerObject.
Definition at line 84 of file llvotextbubble.cpp.
References f, FALSE, LLFrameTimer::getElapsedTimeF32(), LLPrimitive::getNumTEs(), gPipeline, i, LLViewerObject::idleUpdate(), LLPipeline::markRebuild(), mColor, LLViewerObject::mDrawable, mUpdateTimer, LLColor4::mV, LLDrawable::REBUILD_VOLUME, S32, LLViewerObject::setScale(), LLViewerObject::setTEColor(), LLViewerObject::setTEFullbright(), TRUE, and VALPHA.
BOOL LLVOTextBubble::isActive | ( | ) | const [virtual] |
Reimplemented from LLViewerObject.
Definition at line 79 of file llvotextbubble.cpp.
References TRUE.
BOOL LLVOTextBubble::setVolume | ( | const LLVolumeParams & | volume_params | ) | [protected] |
Definition at line 168 of file llvotextbubble.cpp.
References FALSE, gPipeline, LLPipeline::markRebuild(), LLViewerObject::mDrawable, mLOD, mVolumeChanged, LLDrawable::REBUILD_VOLUME, LLPrimitive::setVolume(), and TRUE.
Referenced by LLVOTextBubble(), and updateGeometry().
Reimplemented from LLViewerObject.
Definition at line 219 of file llvotextbubble.cpp.
References face, LLPrimitive::getVolume(), LLVolume::getVolumeFace(), LLViewerObject::mDrawable, LLVolumeFace::mIndices, and LLVolumeFace::mVertices.
BOOL LLVOTextBubble::updateGeometry | ( | LLDrawable * | drawable | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 188 of file llvotextbubble.cpp.
References face, FALSE, LLFace::FULLBRIGHT, LLDrawable::getFace(), LLDrawable::getNumFaces(), LLViewerObject::getNumFaces(), LLVolume::getParams(), LLFace::getPool(), LLViewerObject::getTEImage(), LLPrimitive::getVolume(), gPipeline, LLPipeline::hasRenderType(), i, LLViewerObject::mDrawable, mVolumeChanged, LLPipeline::RENDER_TYPE_VOLUME, S32, LLPipeline::sCompiles, LLDrawable::setNumFaces(), setVolume(), LLViewerImage::sSmokeImagep, and TRUE.
BOOL LLVOTextBubble::updateLOD | ( | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 183 of file llvotextbubble.cpp.
References FALSE.
Reimplemented from LLViewerObject.
Definition at line 117 of file llvotextbubble.cpp.
References LLViewerImage::addTextureStats(), f, LLCoordFrame::getAtAxis(), LLAgent::getCameraPositionAgent(), LLAgent::getFrameAgent(), LLPrimitive::getNumTEs(), LLViewerObject::getPositionAgent(), LLPrimitive::getTE(), LLViewerObject::getTEImage(), i, LLVector3::magVec(), and LLViewerObject::mPixelArea.
Definition at line 61 of file llvotextbubble.h.
Referenced by idleUpdate(), LLVOTextBubble(), process_kill_object(), and LLViewerObject::processUpdateMessage().
LLFrameTimer LLVOTextBubble::mUpdateTimer [protected] |
Definition at line 63 of file llvotextbubble.h.
Referenced by LLVOTextBubble(), setVolume(), and updateGeometry().