#include <lltoolselect.h>
Inheritance diagram for LLToolSelect:
Public Member Functions | |
LLToolSelect (LLToolComposite *composite) | |
virtual BOOL | handleMouseDown (S32 x, S32 y, MASK mask) |
virtual BOOL | handleMouseUp (S32 x, S32 y, MASK mask) |
virtual BOOL | handleDoubleClick (S32 x, S32 y, MASK mask) |
virtual void | stopEditing () |
virtual void | onMouseCaptureLost () |
virtual void | handleDeselect () |
Static Public Member Functions | |
static LLHandle< LLObjectSelection > | handleObjectSelection (LLViewerObject *object, MASK mask, BOOL ignore_group, BOOL temp_select) |
Protected Attributes | |
BOOL | mIgnoreGroup |
LLUUID | mSelectObjectID |
Definition at line 41 of file lltoolselect.h.
LLToolSelect::LLToolSelect | ( | LLToolComposite * | composite | ) |
Definition at line 60 of file lltoolselect.cpp.
void LLToolSelect::handleDeselect | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 251 of file lltoolselect.cpp.
References FALSE, LLTool::hasMouseCapture(), and LLTool::setMouseCapture().
Reimplemented from LLTool.
Definition at line 93 of file lltoolselect.cpp.
References LLTool::handleDoubleClick().
Reimplemented from LLTool.
Reimplemented in LLToolSelectRect.
Definition at line 67 of file lltoolselect.cpp.
References FALSE, LLViewerObjectList::findObject(), LLViewerObject::getID(), gLastHitObjectID, gObjectList, LLTool::handleMouseDown(), mSelectObjectID, NULL, LLUUID::setNull(), and TRUE.
Referenced by LLToolSelectRect::handleMouseDown().
Reimplemented from LLTool.
Reimplemented in LLToolSelectRect.
Definition at line 241 of file lltoolselect.cpp.
References FALSE, LLViewerObjectList::findObject(), LLControlGroup::getBOOL(), gObjectList, gSavedSettings, LLTool::handleMouseUp(), handleObjectSelection(), mIgnoreGroup, and mSelectObjectID.
Referenced by LLToolSelectRect::handleMouseUp().
LLHandle< LLObjectSelection > LLToolSelect::handleObjectSelection | ( | LLViewerObject * | object, | |
MASK | mask, | |||
BOOL | ignore_group, | |||
BOOL | temp_select | |||
) | [static] |
Definition at line 100 of file lltoolselect.cpp.
References LLSelectMgr::deselectAll(), LLSelectMgr::deselectObjectAndFamily(), LLSelectMgr::deselectObjectOnly(), FALSE, LLVOAvatar::findAvatarFromAttachment(), gAgent, gAllowSelectAvatar, LLSelectMgr::getAgentHUDZoom(), LLAgent::getAtAxis(), LLAgent::getAvatarObject(), LLControlGroup::getBOOL(), LLAgent::getFocusOnAvatar(), LLViewerObject::getID(), LLAgent::getPositionGlobal(), LLViewerObject::getRootEdit(), LLSelectMgr::getSelection(), LLSelectMgr::getSelectionCenterGlobal(), LLHUDObject::getSourceObject(), gLastHitHUDIcon, gSavedSettings, gSelectMgr, i, LLPrimitive::isAvatar(), LLViewerObject::isSelected(), MASK_CONTROL, MASK_SHIFT, LLViewerObject::mChildList, LLVector3::mV, LLVector3::normVec(), NULL, S32, SELECT_ALL_TES, SELECTION_ROTATION_TRESHOLD, LLSelectMgr::selectObjectAndFamily(), LLSelectMgr::selectObjectOnly(), LLSelectMgr::setAgentHUDZoom(), LLControlGroup::setBOOL(), LLSelectMgr::setForceSelection(), LLSelectNode::setTransient(), LLVector3::setVec(), LLFloaterScriptDebug::show(), LLAgent::startAutoPilotGlobal(), TRUE, VZ, and LLVector3::x_axis.
Referenced by handleMouseUp(), LLToolPie::pickAndShowMenu(), LLToolCompRotate::pickCallback(), LLToolCompScale::pickCallback(), LLToolCompTranslate::pickCallback(), and LLToolCompInspect::pickCallback().
void LLToolSelect::onMouseCaptureLost | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 268 of file lltoolselect.cpp.
References LLSelectMgr::enableSilhouette(), FALSE, gSelectMgr, mIgnoreGroup, and TRUE.
void LLToolSelect::stopEditing | ( | ) | [virtual] |
Reimplemented from LLTool.
Definition at line 260 of file lltoolselect.cpp.
References FALSE, LLTool::hasMouseCapture(), and LLTool::setMouseCapture().
BOOL LLToolSelect::mIgnoreGroup [protected] |
Definition at line 58 of file lltoolselect.h.
Referenced by handleMouseUp(), and onMouseCaptureLost().
LLUUID LLToolSelect::mSelectObjectID [protected] |