#include <llvotextbubble.h>
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< U16 > &indicesp) |
virtual U32 | getPartitionType () const |
Public Attributes | |
LLColor4 | mColor |
S32 | mLOD |
BOOL | mVolumeChanged |
Protected Member Functions | |
~LLVOTextBubble () | |
BOOL | setVolume (const LLVolumeParams &volume_params, const S32 detail, bool unique_volume=false) |
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 50 of file llvotextbubble.cpp.
References 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 75 of file llvotextbubble.cpp.
BOOL LLVOTextBubble::isActive | ( | void | ) | const [virtual] |
Reimplemented from LLViewerObject.
Definition at line 80 of file llvotextbubble.cpp.
References TRUE.
Reimplemented from LLViewerObject.
Definition at line 85 of file llvotextbubble.cpp.
References 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.
void LLVOTextBubble::updateTextures | ( | LLAgent & | agent | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 118 of file llvotextbubble.cpp.
References LLViewerImage::addTextureStats(), LLCoordFrame::getAtAxis(), LLAgent::getCameraPositionAgent(), LLAgent::getFrameAgent(), LLPrimitive::getNumTEs(), LLViewerObject::getPositionAgent(), LLPrimitive::getTE(), LLViewerObject::getTEImage(), i, LLVector3::magVec(), LLViewerObject::mPixelArea, LLTextureEntry::mScaleS, and LLTextureEntry::mScaleT.
LLDrawable * LLVOTextBubble::createDrawable | ( | LLPipeline * | pipeline | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 150 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.
BOOL LLVOTextBubble::updateGeometry | ( | LLDrawable * | drawable | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 189 of file llvotextbubble.cpp.
References 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(), LLFace::setState(), LLFace::setTEOffset(), LLFace::setTexture(), setVolume(), LLViewerImage::sSmokeImagep, and TRUE.
BOOL LLVOTextBubble::updateLOD | ( | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 184 of file llvotextbubble.cpp.
References FALSE.
void LLVOTextBubble::updateFaceSize | ( | S32 | idx | ) | [virtual] |
Reimplemented from LLViewerObject.
Definition at line 220 of file llvotextbubble.cpp.
References LLPrimitive::getVolume(), LLVolume::getVolumeFace(), LLViewerObject::mDrawable, LLVolumeFace::mIndices, LLVolumeFace::mVertices, and LLFace::setSize().
void LLVOTextBubble::getGeometry | ( | S32 | idx, | |
LLStrider< LLVector3 > & | verticesp, | |||
LLStrider< LLVector3 > & | normalsp, | |||
LLStrider< LLVector2 > & | texcoordsp, | |||
LLStrider< LLColor4U > & | colorsp, | |||
LLStrider< U16 > & | indicesp | |||
) | [virtual] |
Implements LLAlphaObject.
Definition at line 235 of file llvotextbubble.cpp.
References LLViewerObject::getPositionAgent(), LLXform::getScale(), LLPrimitive::getTE(), LLPrimitive::getVolume(), LLVolume::getVolumeFace(), i, LLViewerObject::mDrawable, LLVolumeFace::mIndices, and LLVolumeFace::mVertices.
U32 LLVOTextBubble::getPartitionType | ( | ) | const [virtual] |
Reimplemented from LLViewerObject.
Definition at line 267 of file llvotextbubble.cpp.
References LLViewerRegion::PARTITION_PARTICLE.
BOOL LLVOTextBubble::setVolume | ( | const LLVolumeParams & | volume_params, | |
const S32 | detail, | |||
bool | unique_volume = false | |||
) | [protected, virtual] |
Reimplemented from LLPrimitive.
Definition at line 169 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().
Definition at line 61 of file llvotextbubble.h.
Referenced by idleUpdate(), LLVOTextBubble(), process_kill_object(), and LLViewerObject::processUpdateMessage().
Definition at line 63 of file llvotextbubble.h.
Referenced by LLVOTextBubble(), setVolume(), and updateGeometry().
LLFrameTimer LLVOTextBubble::mUpdateTimer [protected] |