#include <llhudconnector.h>
Inheritance diagram for LLHUDConnector:


Public Member Functions | |
| void | setColors (const LLColor4 &color, const LLColor4 &first_color, const LLColor4 &second_color) |
| void | setZCompare (const BOOL zcompare) |
| void | setDoFade (const BOOL do_fade) |
| void | setLabel (const LLString &label) |
| void | setTargets (LLViewerObject *first_object, LLViewerObject *second_object) |
| void | setEndpoints (const BOOL &first, const BOOL &second) |
Protected Member Functions | |
| LLHUDConnector (const U8 type) | |
| void | render () |
Private Member Functions | |
| ~LLHUDConnector () | |
Private Attributes | |
| LLString | mLabel |
| BOOL | mDoFade |
| F32 | mFadeRange |
| F32 | mFadeDistance |
| BOOL | mZCompare |
| LLColor4 | mColor |
| LLColor4 | mFirstColor |
| LLColor4 | mSecondColor |
| BOOL | mDrawFirst |
| BOOL | mDrawSecond |
Friends | |
| class | LLHUDObject |
Definition at line 46 of file llhudconnector.h.
| LLHUDConnector::LLHUDConnector | ( | const U8 | type | ) | [protected] |
Definition at line 45 of file llhudconnector.cpp.
References f, mColor, mDoFade, mDrawFirst, mDrawSecond, mFadeDistance, mFadeRange, mFirstColor, mLabel, mSecondColor, and TRUE.
| LLHUDConnector::~LLHUDConnector | ( | ) | [private] |
Definition at line 60 of file llhudconnector.cpp.
| void LLHUDConnector::render | ( | ) | [protected, virtual] |
Implements LLHUDObject.
Definition at line 75 of file llhudconnector.cpp.
References f, FALSE, gCamera, LLCoordFrame::getOrigin(), LLFontGL::getWidthF32(), glBegin, glColor4fv, glEnd, glPopMatrix, glTranslatef, gSphere, hud_render_utf8text(), LLPointer< Type >::isNull(), llmax(), mColor, mDoFade, mDrawFirst, mDrawSecond, mFadeDistance, mFadeRange, mFirstColor, mLabel, mSecondColor, LLHUDObject::mSourceObject, LLHUDObject::mTargetObject, LLVector3::mV, LLColor4::mV, LLFontGL::NORMAL, LLVector3::normVec(), NULL, LLSphere::render(), LLFontGL::sSansSerif, LLImageGL::unbindTexture(), and LLColor4::white.
| void LLHUDConnector::setColors | ( | const LLColor4 & | color, | |
| const LLColor4 & | first_color, | |||
| const LLColor4 & | second_color | |||
| ) |
Definition at line 205 of file llhudconnector.cpp.
References mColor, mFirstColor, and mSecondColor.
| void LLHUDConnector::setTargets | ( | LLViewerObject * | first_object, | |
| LLViewerObject * | second_object | |||
| ) |
Definition at line 69 of file llhudconnector.cpp.
References LLHUDObject::setSourceObject(), and LLHUDObject::setTargetObject().
friend class LLHUDObject [friend] |
Definition at line 57 of file llhudconnector.h.
LLColor4 LLHUDConnector::mColor [private] |
Definition at line 73 of file llhudconnector.h.
Referenced by LLHUDConnector(), render(), and setColors().
BOOL LLHUDConnector::mDoFade [private] |
Definition at line 68 of file llhudconnector.h.
Referenced by LLHUDConnector(), render(), and setDoFade().
BOOL LLHUDConnector::mDrawFirst [private] |
Definition at line 77 of file llhudconnector.h.
Referenced by LLHUDConnector(), render(), and setEndpoints().
BOOL LLHUDConnector::mDrawSecond [private] |
Definition at line 78 of file llhudconnector.h.
Referenced by LLHUDConnector(), render(), and setEndpoints().
F32 LLHUDConnector::mFadeDistance [private] |
F32 LLHUDConnector::mFadeRange [private] |
LLColor4 LLHUDConnector::mFirstColor [private] |
Definition at line 74 of file llhudconnector.h.
Referenced by LLHUDConnector(), render(), and setColors().
LLString LLHUDConnector::mLabel [private] |
Definition at line 66 of file llhudconnector.h.
Referenced by LLHUDConnector(), render(), and setLabel().
LLColor4 LLHUDConnector::mSecondColor [private] |
Definition at line 75 of file llhudconnector.h.
Referenced by LLHUDConnector(), render(), and setColors().
BOOL LLHUDConnector::mZCompare [private] |
1.4.7