#include <llhudobject.h>
Inheritance diagram for LLHUDObject:
Definition at line 54 of file llhudobject.h.
typedef std::list<LLPointer<LLHUDObject> > LLHUDObject::hud_object_list_t [private] |
Definition at line 118 of file llhudobject.h.
anonymous enum |
Definition at line 79 of file llhudobject.h.
LLHUDObject::LLHUDObject | ( | const U8 | type | ) | [protected] |
Definition at line 71 of file llhudobject.cpp.
References FALSE, mDead, mOnHUDAttachment, mType, mVisible, and TRUE.
LLHUDObject::~LLHUDObject | ( | ) | [protected] |
Definition at line 82 of file llhudobject.cpp.
LLHUDEffect * LLHUDObject::addHUDEffect | ( | const U8 | type | ) | [static] |
Definition at line 171 of file llhudobject.cpp.
References f, LL_HUD_EFFECT_BEAM, LL_HUD_EFFECT_EDIT, LL_HUD_EFFECT_GLOW, LL_HUD_EFFECT_LOOKAT, LL_HUD_EFFECT_POINT, LL_HUD_EFFECT_POINTAT, LL_HUD_EFFECT_SPHERE, LL_HUD_EFFECT_SPIRAL, LL_HUD_EFFECT_VOICE_VISUALIZER, llendl, llwarns, NULL, and sHUDObjects.
Referenced by LLHUDManager::createViewerEffect().
LLHUDObject * LLHUDObject::addHUDObject | ( | const U8 | type | ) | [static] |
Definition at line 146 of file llhudobject.cpp.
References LL_HUD_CONNECTOR, LL_HUD_ICON, LL_HUD_TEXT, llendl, llwarns, NULL, and sHUDObjects.
Referenced by LLVOAvatar::idleUpdate(), LLViewerObject::processUpdateMessage(), LLTracker::render3D(), LLViewerObjectList::renderObjectBeacons(), LLViewerObject::setDebugText(), and LLViewerObject::setIcon().
void LLHUDObject::cleanupHUDObjects | ( | ) | [static] |
Definition at line 130 of file llhudobject.cpp.
References LLHUDIcon::cleanupDeadIcons(), llendl, llinfos, and sHUDObjects.
Referenced by cleanup_app().
F32 LLHUDObject::getDistance | ( | ) | const [virtual] |
virtual LLViewerObject* LLHUDObject::getSourceObject | ( | ) | [inline, virtual] |
Definition at line 61 of file llhudobject.h.
References mSourceObject.
Referenced by LLToolSelect::handleObjectSelection(), and LLToolPie::pickAndShowMenu().
virtual LLViewerObject* LLHUDObject::getTargetObject | ( | ) | [inline, virtual] |
U8 LLHUDObject::getType | ( | ) | const [inline] |
BOOL LLHUDObject::isVisible | ( | ) | const [inline] |
Definition at line 67 of file llhudobject.h.
References mVisible.
Referenced by renderAll(), and renderAllForSelect().
void LLHUDObject::markDead | ( | ) | [virtual] |
Reimplemented in LLHUDEffectLookAt, LLHUDEffectPointAt, LLHUDEffectSpiral, LLHUDIcon, LLHUDText, and LLVoiceVisualizer.
Definition at line 86 of file llhudobject.cpp.
References FALSE, mDead, mSourceObject, mTargetObject, mVisible, NULL, and TRUE.
Referenced by LLHUDText::markDead(), LLHUDIcon::markDead(), LLHUDEffectSpiral::markDead(), LLHUDEffectPointAt::markDead(), LLHUDEffectLookAt::markDead(), and LLHUDEffectBeam::render().
virtual void LLHUDObject::render | ( | ) | [protected, pure virtual] |
Implemented in LLHUDConnector, LLHUDEffect, LLHUDEffectBeam, LLHUDEffectLookAt, LLHUDEffectPointAt, LLHUDEffectSpiral, LLHUDIcon, LLHUDText, and LLVoiceVisualizer.
Referenced by renderAll().
void LLHUDObject::renderAll | ( | ) | [static] |
Definition at line 275 of file llhudobject.cpp.
References LLRefCount::getNumRefs(), isVisible(), render(), and sHUDObjects.
Referenced by render_hud_elements().
void LLHUDObject::renderAllForSelect | ( | ) | [static] |
Definition at line 296 of file llhudobject.cpp.
References LLRefCount::getNumRefs(), isVisible(), renderForSelect(), and sHUDObjects.
Referenced by LLViewerObjectList::renderObjectsForSelect().
virtual void LLHUDObject::renderForSelect | ( | ) | [inline, protected, virtual] |
Reimplemented in LLHUDIcon, and LLHUDText.
Definition at line 106 of file llhudobject.h.
Referenced by renderAllForSelect().
Definition at line 124 of file llhudobject.cpp.
References gAgent, LLAgent::getPosGlobalFromAgent(), and mPositionGlobal.
Referenced by LLTracker::renderBeacon(), and LLViewerObjectList::renderObjectBeacons().
void LLHUDObject::setPositionGlobal | ( | const LLVector3d & | position_global | ) |
Definition at line 119 of file llhudobject.cpp.
References mPositionGlobal.
Referenced by add_object(), app_request_quit(), LLSelectMgr::confirmDelete(), derez_objects(), LLToolDragAndDrop::dropObject(), idle_startup(), LLToolPie::pickAndShowMenu(), and process_teleport_finish().
void LLHUDObject::setSourceObject | ( | LLViewerObject * | objectp | ) | [virtual] |
Reimplemented in LLHUDEffectBeam, LLHUDEffectLookAt, and LLHUDEffectPointAt.
Definition at line 99 of file llhudobject.cpp.
References mSourceObject.
Referenced by add_object(), LLToolDragAndDrop::commitGiveInventoryCategory(), LLToolDragAndDrop::commitGiveInventoryItem(), LLToolDragAndDrop::dad3dTextureObject(), LLToolDragAndDrop::dropInventory(), LLToolDragAndDrop::dropObject(), LLToolDragAndDrop::dropScript(), LLSelectMgr::selectionSetImage(), LLHUDEffectPointAt::setSourceObject(), LLHUDEffectLookAt::setSourceObject(), LLHUDConnector::setTargets(), and LLHUDEffectSpiral::unpackData().
void LLHUDObject::setTargetObject | ( | LLViewerObject * | objectp | ) | [virtual] |
Reimplemented in LLHUDEffectBeam, and LLHUDEffectSpiral.
Definition at line 109 of file llhudobject.cpp.
References mTargetObject.
Referenced by LLHUDConnector::setTargets().
void LLHUDObject::sortObjects | ( | ) | [static, protected] |
void LLHUDObject::updateAll | ( | ) | [static] |
Reimplemented in LLHUDIcon, and LLHUDText.
Definition at line 266 of file llhudobject.cpp.
References LLFastTimer::FTM_HUD_UPDATE, sortObjects(), LLHUDIcon::updateAll(), and LLHUDText::updateAll().
Referenced by display().
BOOL LLHUDObject::mDead [protected] |
Definition at line 110 of file llhudobject.h.
Referenced by LLHUDEffect::isDead(), LLHUDEffect::LLHUDEffect(), LLHUDObject(), and markDead().
BOOL LLHUDObject::mOnHUDAttachment [protected] |
Definition at line 113 of file llhudobject.h.
Referenced by LLHUDObject(), LLHUDText::render(), LLHUDText::renderForSelect(), LLHUDText::renderText(), LLHUDText::setOnHUDAttachment(), and LLHUDText::updateVisibility().
LLVector3d LLHUDObject::mPositionGlobal [protected] |
Definition at line 112 of file llhudobject.h.
Referenced by LLHUDEffectSpiral::packData(), setPositionAgent(), setPositionGlobal(), LLHUDEffectSpiral::triggerLocal(), LLHUDEffectSpiral::unpackData(), and LLHUDText::updateVisibility().
LLPointer<LLViewerObject> LLHUDObject::mSourceObject [protected] |
Definition at line 114 of file llhudobject.h.
Referenced by LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLHUDEffectLookAt::clearLookAtTarget(), LLHUDEffectPointAt::getPointAtPosGlobal(), getSourceObject(), markDead(), LLHUDIcon::markDead(), LLHUDEffectPointAt::markDead(), LLHUDEffectLookAt::markDead(), LLHUDEffectSpiral::packData(), LLHUDEffectPointAt::packData(), LLHUDEffectLookAt::packData(), LLHUDEffectBeam::packData(), LLHUDEffectSpiral::render(), LLHUDEffectPointAt::render(), LLHUDEffectLookAt::render(), LLHUDEffectBeam::render(), LLHUDConnector::render(), LLHUDIcon::renderIcon(), LLHUDText::renderText(), LLHUDEffectLookAt::setLookAt(), LLHUDEffectPointAt::setPointAt(), setSourceObject(), LLHUDEffectBeam::setSourceObject(), LLHUDEffectBeam::setupParticle(), LLHUDEffectSpiral::triggerLocal(), LLHUDEffectPointAt::update(), LLHUDEffectLookAt::update(), and LLHUDText::updateVisibility().
LLPointer<LLViewerObject> LLHUDObject::mTargetObject [protected] |
Definition at line 115 of file llhudobject.h.
Referenced by LLHUDEffectPointAt::calcTargetPosition(), LLHUDEffectLookAt::calcTargetPosition(), LLHUDEffectLookAt::clearLookAtTarget(), LLHUDEffectPointAt::clearPointAtTarget(), getTargetObject(), markDead(), LLHUDEffectSpiral::packData(), LLHUDEffectPointAt::packData(), LLHUDEffectLookAt::packData(), LLHUDEffectBeam::packData(), LLHUDEffectSpiral::render(), LLHUDEffectBeam::render(), LLHUDConnector::render(), LLHUDEffectLookAt::setLookAt(), LLHUDEffectPointAt::setPointAt(), setTargetObject(), LLHUDEffectSpiral::setTargetObject(), LLHUDEffectBeam::setTargetObject(), LLHUDEffectPointAt::setTargetObjectAndOffset(), LLHUDEffectLookAt::setTargetObjectAndOffset(), LLHUDEffectBeam::setTargetPos(), LLHUDEffectPointAt::setTargetPosGlobal(), LLHUDEffectLookAt::setTargetPosGlobal(), LLHUDEffectSpiral::triggerLocal(), LLHUDEffectPointAt::update(), and LLHUDEffectLookAt::update().
U8 LLHUDObject::mType [protected] |
Definition at line 106 of file llhudobject.h.
Referenced by getType(), LLHUDObject(), LLHUDEffect::packData(), and LLHUDEffect::unpackData().
BOOL LLHUDObject::mVisible [protected] |
Definition at line 111 of file llhudobject.h.
Referenced by LLHUDText::getVisible(), isVisible(), LLHUDObject(), markDead(), LLHUDText::renderText(), and LLHUDText::updateVisibility().
std::list< LLPointer< LLHUDObject > > LLHUDObject::sHUDObjects [static, private] |
Definition at line 119 of file llhudobject.h.
Referenced by addHUDEffect(), addHUDObject(), cleanupHUDObjects(), renderAll(), renderAllForSelect(), and sortObjects().