llselectmgr.h File Reference

A manager for selected objects and TEs. More...

#include "llcharacter.h"
#include "lleditmenuhandler.h"
#include "llstring.h"
#include "llundo.h"
#include "lluuid.h"
#include "llmemory.h"
#include "llsaleinfo.h"
#include "llcategory.h"
#include "v3dmath.h"
#include "llquaternion.h"
#include "llcoord.h"
#include "llframetimer.h"
#include "llbbox.h"
#include "llpermissions.h"
#include "llviewerobject.h"
#include <deque>
#include "boost/iterator/filter_iterator.hpp"

Include dependency graph for llselectmgr.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LLSelectedObjectFunctor
struct  LLSelectedNodeFunctor
struct  LLSelectedTEFunctor
struct  LLSelectedTEGetFunctor< T >
class  LLSelectNode
class  LLObjectSelection
struct  LLObjectSelection::is_non_null
struct  LLObjectSelection::is_valid
struct  LLObjectSelection::is_root
struct  LLObjectSelection::is_valid_root
struct  LLObjectSelection::is_root_object
class  LLSelectMgr

Typedefs

typedef enum e_send_type ESendType
typedef enum e_grid_mode EGridMode
typedef enum e_action_type EActionType
typedef enum e_selection_type ESelectType
typedef LLHandle< LLObjectSelectionLLObjectSelectionHandle

Enumerations

enum  e_send_type { SEND_ONLY_ROOTS, SEND_INDIVIDUALS, SEND_ROOTS_FIRST, SEND_CHILDREN_FIRST }
enum  e_grid_mode { GRID_MODE_WORLD, GRID_MODE_LOCAL, GRID_MODE_REF_OBJECT }
enum  e_action_type {
  SELECT_ACTION_TYPE_BEGIN, SELECT_ACTION_TYPE_PICK, SELECT_ACTION_TYPE_MOVE, SELECT_ACTION_TYPE_ROTATE,
  SELECT_ACTION_TYPE_SCALE, NUM_ACTION_TYPES
}
enum  e_selection_type { SELECT_TYPE_WORLD, SELECT_TYPE_ATTACHMENT, SELECT_TYPE_HUD }

Functions

void dialog_refresh_all ()

Variables

const S32 SELECT_ALL_TES = -1
const S32 SELECT_MAX_TES = 32
LLSelectMgrgSelectMgr


Detailed Description

A manager for selected objects and TEs.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llselectmgr.h.


Typedef Documentation

typedef enum e_action_type EActionType

typedef enum e_grid_mode EGridMode

typedef enum e_selection_type ESelectType

typedef enum e_send_type ESendType

typedef LLHandle<LLObjectSelection> LLObjectSelectionHandle

Definition at line 334 of file llselectmgr.h.


Enumeration Type Documentation

enum e_action_type

Enumerator:
SELECT_ACTION_TYPE_BEGIN 
SELECT_ACTION_TYPE_PICK 
SELECT_ACTION_TYPE_MOVE 
SELECT_ACTION_TYPE_ROTATE 
SELECT_ACTION_TYPE_SCALE 
NUM_ACTION_TYPES 

Definition at line 111 of file llselectmgr.h.

enum e_grid_mode

Enumerator:
GRID_MODE_WORLD 
GRID_MODE_LOCAL 
GRID_MODE_REF_OBJECT 

Definition at line 104 of file llselectmgr.h.

enum e_selection_type

Enumerator:
SELECT_TYPE_WORLD 
SELECT_TYPE_ATTACHMENT 
SELECT_TYPE_HUD 

Definition at line 121 of file llselectmgr.h.

enum e_send_type

Enumerator:
SEND_ONLY_ROOTS 
SEND_INDIVIDUALS 
SEND_ROOTS_FIRST 
SEND_CHILDREN_FIRST 

Definition at line 96 of file llselectmgr.h.


Function Documentation

void dialog_refresh_all (  ) 

Definition at line 5242 of file llselectmgr.cpp.


Variable Documentation

LLSelectMgr* gSelectMgr

Definition at line 103 of file llselectmgr.cpp.

Referenced by add_duplicate(), add_object(), LLVOAvatar::attachObject(), callback_deed_to_group(), LLFloaterSellLandUI::callbackHighlightTransferable(), LLPanelLandObjects::callbackReturnGroupObjects(), LLPanelLandObjects::callbackReturnOtherObjects(), LLPanelLandObjects::callbackReturnOwnerList(), LLPanelLandObjects::callbackReturnOwnerObjects(), LLAgent::cameraOrbitAround(), LLAgent::cameraOrbitOver(), LLAgent::cameraZoomIn(), LLHoverView::cancelHover(), LLPanelPermissions::cbGroupID(), LLAgent::changeCameraToMouselook(), LLSelectMgr::cleanupGlobals(), click_popup_rotate_left(), click_popup_rotate_reset(), click_popup_rotate_right(), commit_grid_mode(), commit_select_component(), confirm_replace_attachment(), LLSelectMgr::confirmDelete(), derez_objects(), disabled_duplicate(), disconnect_viewer(), LLViewerObject::doUpdateInventory(), LLManipRotate::drag(), LLManipScale::drag(), LLManipRotate::dragConstrained(), LLManipScale::dragCorner(), LLManipScale::dragFace(), LLTextureView::draw(), LLToolDragAndDrop::dropObject(), dump_select_mgr(), enable_buy(), enable_deed_object_to_group(), enable_export_selected(), enable_more_than_one_selected(), enable_save_into_inventory(), enable_save_into_task_inventory(), enable_selection_you_own_all(), enable_selection_you_own_one(), enable_take(), LLToolDragAndDrop::endDrag(), LLViewerObjectList::findOrphans(), force_take_copy(), get_family_count(), LLAgent::getCameraZoomFraction(), LLManipRotate::getConstraintAxis(), LLManip::getManipAxis(), LLManip::getManipNormal(), LLManip::getPivotPoint(), LLAgent::getRenderState(), LLManip::getSavedPivotPoint(), LLPanelContents::getState(), LLPanelFace::getState(), LLPanelObject::getState(), LLPanelVolume::getState(), handle_buy(), handle_buy_object(), handle_deed_object_to_group(), handle_duplicate_in_place(), handle_export_selected(), handle_force_delete(), handle_force_unlock(), handle_give_money_dialog(), handle_god_request_avatar_geometry(), handle_god_request_havok(), handle_object_asset_ids(), handle_object_lock(), handle_object_owner_permissive(), handle_object_owner_self(), handle_repeat_duplicate(), handle_selected_texture_info(), handle_take(), LLToolFace::handleDeselect(), LLToolPie::handleDeselect(), LLToolFace::handleDoubleClick(), LLToolIndividual::handleDoubleClick(), LLObjectEnableTouch::handleEvent(), LLObjectEdit::handleEvent(), LLObjectMute::handleEvent(), LLToolsTakeCopy::handleEvent(), LLObjectReturn::handleEvent(), LLObjectEnableReturn::handleEvent(), LLToolsBuyOrTake::handleEvent(), LLToolsSaveToObjectInventory::handleEvent(), LLToolsSnapObjectXY::handleEvent(), LLToolsEnableLink::handleEvent(), LLToolsLink::handleEvent(), LLToolsEnableUnlink::handleEvent(), LLToolsUnlink::handleEvent(), LLObjectEnableDelete::handleEvent(), LLObjectDelete::handleEvent(), LLToolsLookAtSelection::handleEvent(), LLObjectEnableSitOrStand::handleEvent(), LLObjectAttachToAvatar::handleEvent(), LLAttachmentDrop::handleEvent(), LLAttachmentDetach::handleEvent(), LLSomethingSelected::handleEvent(), LLSomethingSelectedNoHUD::handleEvent(), LLEditableSelected::handleEvent(), LLToolsEnableTakeCopy::handleEvent(), LLToolsEditLinkedParts::handleEvent(), LLToolsUseSelectionForGrid::handleEvent(), LLManipScale::handleHover(), LLManipTranslate::handleHover(), LLToolCompGun::handleHover(), LLToolSelectRect::handleHover(), LLToolGrab::handleHoverActive(), LLManipRotate::handleMouseDownOnPart(), LLManipScale::handleMouseDownOnPart(), LLManipTranslate::handleMouseDownOnPart(), LLManipRotate::handleMouseUp(), LLManipScale::handleMouseUp(), LLManipTranslate::handleMouseUp(), LLToolPipette::handleMouseUp(), LLToolSelectRect::handleMouseUp(), LLToolGrab::handleObjectHit(), LLToolSelect::handleObjectSelection(), LLViewerWindow::handlePerFrameHover(), LLToolSelectRect::handleRectangleSelection(), LLAgent::handleScrollWheel(), LLManip::handleSelect(), LLManipRotate::handleSelect(), LLManipScale::handleSelect(), LLManipTranslate::handleSelect(), LLToolComposite::handleSelect(), LLToolFace::handleSelect(), LLToolIndividual::handleSelect(), LLManipRotate::highlightManipulators(), LLManipScale::highlightManipulators(), LLManipTranslate::highlightManipulators(), idle(), idle_startup(), LLVOAvatar::idleUpdate(), is_selection_buy_not_take(), label_touch(), LLFloaterPay::LLFloaterPay(), LLFloaterTelehub::LLFloaterTelehub(), LLFloaterTrustNetRate::LLFloaterTrustNetRate(), LLManipRotate::mouseToRay(), near_attach_object(), LLVOAvatar::needsRenderBeam(), object_selected_and_point_valid(), LLPanelFace::onCancelColor(), LLPanelFace::onCancelTexture(), LLFloaterTelehub::onClickAddSpawnPoint(), LLPanelFace::onClickApply(), LLPanelFace::onClickAutoFix(), LLFloaterBuy::onClickBuy(), LLFloaterBuyContents::onClickBuy(), LLPanelPermissions::onClickClaim(), LLFloaterTelehub::onClickConnect(), LLFloaterTelehub::onClickDisconnect(), LLPanelPermissions::onClickGroup(), LLPanelContents::onClickNewScript(), LLPanelPermissions::onClickOwner(), LLPanelPermissions::onClickRelease(), LLPanelRequestTools::onClickRequest(), LLPanelObjectTools::onClickSetBySelection(), LLFloaterLand::onClose(), LLFloaterTools::onClose(), LLPreview::onCommit(), LLPanelPermissions::onCommitClickAction(), LLPanelPermissions::onCommitDesc(), LLPanelPermissions::onCommitIncludeInSearch(), LLPanelObject::onCommitLock(), LLPanelObject::onCommitMaterial(), LLPanelPermissions::onCommitName(), LLPanelPermissions::onCommitPerm(), LLPanelFace::onDragTexture(), LLToolGrab::onMouseCaptureLost(), LLToolSelect::onMouseCaptureLost(), LLFloaterTools::onOpen(), LLPanelFace::onSelectColor(), LLPanelFace::onSelectTexture(), LLObjectBridge::performAction(), LLToolPie::pickAndShowMenu(), LLHoverView::pickCallback(), LLToolCompInspect::pickCallback(), LLToolCompTranslate::pickCallback(), LLToolCompScale::pickCallback(), LLToolCompRotate::pickCallback(), LLToolDragAndDrop::pickCallback(), LLToolFace::pickCallback(), LLToolCamera::pickCallback(), LLToolGrab::pickCallback(), LLToolIndividual::pickCallback(), LLToolPipette::pickCallback(), LLPanelFace::postBuild(), LLPanelObject::postBuild(), LLPipeline::postSort(), print_object_info(), process_kill_object(), LLSelectMgr::processForceObjectSelect(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLViewerObjectList::processUpdateCore(), LLViewerObject::processUpdateMessage(), queue_actions(), LLFloaterTelehub::refresh(), LLFloaterTools::refresh(), LLPanelContents::refresh(), LLPanelInventory::refresh(), LLPanelPermissions::refresh(), remove_inventory_category_from_avatar_step2(), LLViewerObject::removeChild(), LLObjectBridge::renameItem(), LLManipRotate::render(), LLManipScale::render(), LLManip::renderGuidelines(), LLSelectNode::renderOneSilhouette(), LLViewerWindow::renderSelections(), LLManipRotate::renderSnapGuides(), LLManipScale::renderSnapGuides(), LLManipTranslate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), LLAgent::resetView(), selection_price(), LLToolPie::selectionPropertiesReceived(), send_parcel_select_objects(), LLPanelFace::sendAlpha(), LLPanelFace::sendBump(), LLPanelObject::sendCastShadows(), LLPanelFace::sendColor(), LLPanelFace::sendFullbright(), LLPanelVolume::sendIsFlexible(), LLPanelObject::sendIsPhantom(), LLPanelObject::sendIsPhysical(), LLPanelObject::sendIsTemporary(), LLPanelObject::sendPosition(), LLPanelObject::sendRotation(), LLPanelObject::sendScale(), LLPanelFace::sendShiny(), LLFloaterTelehub::sendTelehubInfoRequest(), LLPanelFace::sendTexGen(), LLPanelFace::sendTexture(), LLPanelFace::sendTextureInfo(), LLManipScale::sendUpdates(), LLPanelPermissions::setAllSaleInfo(), LLAgent::setCameraZoomFraction(), LLAgent::setRegion(), LLFloaterBuy::show(), LLFloaterBuyContents::show(), LLFloaterInspect::show(), LLFloaterOpenObject::show(), LLFloaterTrustNetRate::show(), sitting_on_selection(), LLViewerObjectList::updateApparentAngles(), LLManipScale::updateSnapGuides(), LLHoverView::updateText(), LLSelectMgr::validateSelection(), and LLViewerWindow::~LLViewerWindow().

const S32 SELECT_ALL_TES = -1

Definition at line 61 of file llselectmgr.h.

Referenced by LLSelectMgr::addAsIndividual(), LLObjectSelection::contains(), LLToolSelect::handleObjectSelection(), LLPreview::onCommit(), LLSelectMgr::remove(), and LLObjectBridge::renameItem().

const S32 SELECT_MAX_TES = 32

Definition at line 62 of file llselectmgr.h.

Referenced by LLSelectMgr::addAsIndividual(), LLObjectSelection::contains(), LLSelectNode::LLSelectNode(), LLSelectMgr::processObjectProperties(), LLSelectMgr::remove(), LLSelectNode::selectAllTEs(), and LLSelectNode::selectTE().


Generated on Thu Jul 1 06:10:40 2010 for Second Life Viewer by  doxygen 1.4.7