LLHUDConnector Class Reference

#include <llhudconnector.h>

Inheritance diagram for LLHUDConnector:

Inheritance graph
[legend]
Collaboration diagram for LLHUDConnector:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 46 of file llhudconnector.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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::setDoFade ( const BOOL  do_fade  ) 

Definition at line 212 of file llhudconnector.cpp.

References mDoFade.

void LLHUDConnector::setEndpoints ( const BOOL first,
const BOOL second 
)

Definition at line 217 of file llhudconnector.cpp.

References mDrawFirst, and mDrawSecond.

void LLHUDConnector::setLabel ( const LLString label  ) 

Definition at line 64 of file llhudconnector.cpp.

References mLabel.

void LLHUDConnector::setTargets ( LLViewerObject first_object,
LLViewerObject second_object 
)

Definition at line 69 of file llhudconnector.cpp.

References LLHUDObject::setSourceObject(), and LLHUDObject::setTargetObject().

void LLHUDConnector::setZCompare ( const BOOL  zcompare  ) 

Definition at line 200 of file llhudconnector.cpp.

References mZCompare.


Friends And Related Function Documentation

friend class LLHUDObject [friend]

Definition at line 57 of file llhudconnector.h.


Member Data Documentation

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]

Definition at line 70 of file llhudconnector.h.

Referenced by LLHUDConnector(), and render().

F32 LLHUDConnector::mFadeRange [private]

Definition at line 69 of file llhudconnector.h.

Referenced by LLHUDConnector(), and render().

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]

Definition at line 71 of file llhudconnector.h.

Referenced by setZCompare().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:24 2010 for Second Life Viewer by  doxygen 1.4.7