LLToolSelect Class Reference

#include <lltoolselect.h>

Inheritance diagram for LLToolSelect:

Inheritance graph
[legend]
Collaboration diagram for LLToolSelect:

Collaboration graph
[legend]
List of all members.

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< LLObjectSelectionhandleObjectSelection (LLViewerObject *object, MASK mask, BOOL ignore_group, BOOL temp_select)

Protected Attributes

BOOL mIgnoreGroup
LLUUID mSelectObjectID

Detailed Description

Definition at line 41 of file lltoolselect.h.


Constructor & Destructor Documentation

LLToolSelect::LLToolSelect ( LLToolComposite composite  ) 

Definition at line 60 of file lltoolselect.cpp.


Member Function Documentation

void LLToolSelect::handleDeselect (  )  [virtual]

Reimplemented from LLTool.

Definition at line 251 of file lltoolselect.cpp.

References FALSE, LLTool::hasMouseCapture(), and LLTool::setMouseCapture().

BOOL LLToolSelect::handleDoubleClick ( S32  x,
S32  y,
MASK  mask 
) [virtual]

Reimplemented from LLTool.

Definition at line 93 of file lltoolselect.cpp.

References LLTool::handleDoubleClick().

BOOL LLToolSelect::handleMouseDown ( S32  x,
S32  y,
MASK  mask 
) [virtual]

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().

BOOL LLToolSelect::handleMouseUp ( S32  x,
S32  y,
MASK  mask 
) [virtual]

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().


Member Data Documentation

BOOL LLToolSelect::mIgnoreGroup [protected]

Definition at line 58 of file lltoolselect.h.

Referenced by handleMouseUp(), and onMouseCaptureLost().

LLUUID LLToolSelect::mSelectObjectID [protected]

Definition at line 59 of file lltoolselect.h.

Referenced by handleMouseDown(), and handleMouseUp().


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