#include <llselectmgr.h>
Definition at line 336 of file llselectmgr.h.
LLSelectMgr::LLSelectMgr | ( | ) |
Definition at line 177 of file llselectmgr.cpp.
References LLVector3d::clearVec(), FALSE, gColors, LLControlGroup::getBOOL(), LLControlGroup::getColor(), LLControlGroup::getF32(), GRID_MODE_WORLD, gSavedSettings, mGridMode, mGridValid, mHighlightedObjects, mHoverObjects, mLastCameraPos, mRenderSilhouettes, mSelectedObjects, mTEMode, S32, sContextSilhouetteColor, LLControlGroup::setS32(), sHighlightAlpha, sHighlightAlphaTest, sHighlightChildColor, sHighlightInspectColor, sHighlightParentColor, sHighlightThickness, sHighlightUAnim, sHighlightUScale, sHighlightVAnim, sHighlightVScale, sRenderLightRadius, sSilhouetteChildColor, sSilhouetteParentColor, and TRUE.
LLSelectMgr::~LLSelectMgr | ( | ) |
Definition at line 214 of file llselectmgr.cpp.
References clearSelections().
void LLSelectMgr::cleanupGlobals | ( | ) | [static] |
Definition at line 158 of file llselectmgr.cpp.
References clearSelections(), LLSingleton< LLSelectMgr >::getInstance(), and NULL.
Referenced by LLAppViewer::cleanup().
BOOL LLSelectMgr::canUndo | ( | ) | const [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5578 of file llselectmgr.cpp.
References mSelectedObjects, and NULL.
void LLSelectMgr::undo | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5586 of file llselectmgr.cpp.
References gAgent, LLControlGroup::getBOOL(), LLAgent::getGroupID(), gSavedSettings, packAgentAndSessionAndGroupID(), packObjectID(), SEND_CHILDREN_FIRST, SEND_ONLY_ROOTS, and sendListToRegions().
BOOL LLSelectMgr::canRedo | ( | ) | const [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5596 of file llselectmgr.cpp.
References mSelectedObjects, and NULL.
void LLSelectMgr::redo | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5604 of file llselectmgr.cpp.
References gAgent, LLControlGroup::getBOOL(), LLAgent::getGroupID(), gSavedSettings, packAgentAndSessionAndGroupID(), packObjectID(), SEND_CHILDREN_FIRST, SEND_ONLY_ROOTS, and sendListToRegions().
BOOL LLSelectMgr::canDoDelete | ( | ) | const [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5614 of file llselectmgr.cpp.
References mSelectedObjects, and NULL.
Referenced by LLObjectEnableDelete::handleEvent().
void LLSelectMgr::doDelete | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5623 of file llselectmgr.cpp.
References selectDelete().
Referenced by LLObjectDelete::handleEvent().
void LLSelectMgr::deselect | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5639 of file llselectmgr.cpp.
References deselectAll().
BOOL LLSelectMgr::canDeselect | ( | ) | const [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5631 of file llselectmgr.cpp.
References mSelectedObjects.
void LLSelectMgr::duplicate | ( | ) | [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5653 of file llselectmgr.cpp.
References selectDuplicate(), and TRUE.
BOOL LLSelectMgr::canDuplicate | ( | ) | const [virtual] |
Reimplemented from LLEditMenuHandler.
Definition at line 5646 of file llselectmgr.cpp.
References mSelectedObjects, and NULL.
void LLSelectMgr::clearSelections | ( | ) |
Definition at line 219 of file llselectmgr.cpp.
References LLObjectSelection::deleteAllNodes(), mGridObjects, mHighlightedObjects, mHoverObjects, mRectSelectedObjects, and mSelectedObjects.
Referenced by cleanupGlobals(), and ~LLSelectMgr().
void LLSelectMgr::update | ( | ) |
void LLSelectMgr::updateEffects | ( | ) |
Definition at line 233 of file llselectmgr.cpp.
References LLObjectSelection::applyToObjects(), LLFrameTimer::getElapsedTimeF32(), gPipeline, LLPipeline::markMoved(), mEffectsTimer, mGridObjects, mSelectedObjects, and LLFrameTimer::reset().
Referenced by LLAppViewer::idle().
void LLSelectMgr::overrideObjectUpdates | ( | ) |
Definition at line 257 of file llselectmgr.cpp.
References LLSelectNode::getObject(), getSelection(), LLVector3::isExactlyZero(), LLSelectNode::mLastPositionLocal, LLSelectNode::mLastRotation, LLSelectNode::mLastScale, LLViewerObject::permMove(), and LLViewerObject::setPosition().
Referenced by updateSelectionCenter().
Definition at line 5730 of file llselectmgr.cpp.
References mForceSelection.
Referenced by LLToolSelect::handleObjectSelection(), and LLFloaterInspect::show().
LLObjectSelectionHandle LLSelectMgr::selectObjectOnly | ( | LLViewerObject * | object, | |
S32 | face = SELECT_ALL_TES | |||
) |
Definition at line 289 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_ObjectSelect, _PREHASH_SessionID, addAsIndividual(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), canSelectObject(), gAgent, LLEditMenuHandler::gEditMenuHandler, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getLocalID(), LLAgent::getSessionID(), gMessageSystem, LLViewerObject::isSelected(), llassert, mSelectedObjects, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, saveSelectedObjectTransform(), SELECT_ACTION_TYPE_PICK, LLMessageSystem::sendReliable(), updatePointAt(), updateSelectionCenter(), and LLVector3::zero.
Referenced by demoteSelectionToIndividuals(), LLToolSelect::handleObjectSelection(), LLToolIndividual::handleSelect(), LLToolIndividual::pickCallback(), and LLToolFace::pickCallback().
LLObjectSelectionHandle LLSelectMgr::selectObjectAndFamily | ( | LLViewerObject * | object, | |
BOOL | add_to_end = FALSE | |||
) |
Definition at line 352 of file llselectmgr.cpp.
References addAsFamily(), LLViewerObject::addThisAndNonJointChildren(), canSelectObject(), dialog_refresh_all(), FALSE, LLEditMenuHandler::gEditMenuHandler, LLControlGroup::getBOOL(), LLXform::getParent(), gSavedSettings, LLPrimitive::isAvatar(), LLViewerObject::isJointChild(), LLViewerObject::isSelected(), llassert, mSelectedObjects, NULL, promoteSelectionToRoot(), LLViewerObject::resetRot(), saveSelectedObjectTransform(), SELECT_ACTION_TYPE_PICK, sendSelect(), LLPrimitive::setAcceleration(), LLControlGroup::setBOOL(), LLPrimitive::setVelocity(), updatePointAt(), updateSelectionCenter(), and LLVector3::zero.
Referenced by LLViewerObjectList::findOrphans(), LLToolSelect::handleObjectSelection(), LLViewerObjectList::processUpdateCore(), promoteSelectionToRoot(), and LLViewerObject::removeChild().
LLObjectSelectionHandle LLSelectMgr::selectObjectAndFamily | ( | const std::vector< LLViewerObject * > & | object_list, | |
BOOL | send_to_sim = TRUE | |||
) |
Definition at line 432 of file llselectmgr.cpp.
References addAsFamily(), canSelectObject(), dialog_refresh_all(), FALSE, LLEditMenuHandler::gEditMenuHandler, LLControlGroup::getBOOL(), gSavedSettings, llassert, mSelectedObjects, NULL, promoteSelectionToRoot(), saveSelectedObjectTransform(), SELECT_ACTION_TYPE_PICK, sendSelect(), LLControlGroup::setBOOL(), updatePointAt(), updateSelectionCenter(), and LLVector3::zero.
LLObjectSelectionHandle LLSelectMgr::selectHighlightedObjects | ( | ) |
Definition at line 923 of file llselectmgr.cpp.
References canSelectObject(), LLEditMenuHandler::gEditMenuHandler, getHighlightedObjects(), LLSelectNode::getObject(), getSelectTypeForObject(), LLXform::isRootEdit(), LLViewerObject::isSelected(), mHighlightedObjects, mSelectedObjects, NULL, requestObjectPropertiesFamily(), saveSelectedObjectTransform(), SELECT_ACTION_TYPE_PICK, sendSelect(), LLViewerObject::setSelected(), TRUE, unhighlightAll(), updatePointAt(), and updateSelectionCenter().
Referenced by LLToolSelectRect::handleMouseUp().
LLObjectSelectionHandle LLSelectMgr::setHoverObject | ( | LLViewerObject * | objectp | ) |
Definition at line 774 of file llselectmgr.cpp.
References LLViewerObject::addThisAndNonJointChildren(), FALSE, gAgentID, LLPrimitive::getPCode(), LLViewerObject::getRootEdit(), LLViewerObject::LL_VO_SURFACE_PATCH, mHoverObjects, LLViewerObject::mID, NULL, and requestObjectPropertiesFamily().
Referenced by LLHoverView::cancelHover(), and LLHoverView::pickCallback().
void LLSelectMgr::highlightObjectOnly | ( | LLViewerObject * | objectp | ) |
Definition at line 818 of file llselectmgr.cpp.
References LLControlGroup::getBOOL(), LLPrimitive::getPCode(), gSavedSettings, LL_PCODE_VOLUME, mRectSelectedObjects, LLViewerObject::permMove(), and LLViewerObject::permYouOwner().
Referenced by LLToolSelectRect::handleRectangleSelection(), highlightObjectAndFamily(), and LLToolPipette::pickCallback().
void LLSelectMgr::highlightObjectAndFamily | ( | LLViewerObject * | objectp | ) |
Definition at line 840 of file llselectmgr.cpp.
References LLXform::getRoot(), highlightObjectOnly(), i, and LLViewerObject::mChildList.
Referenced by LLToolDragAndDrop::pickCallback(), and processForceObjectSelect().
void LLSelectMgr::highlightObjectAndFamily | ( | const std::vector< LLViewerObject * > & | list | ) |
Definition at line 859 of file llselectmgr.cpp.
References LLPrimitive::getPCode(), LLXform::getRoot(), LL_PCODE_VOLUME, LLViewerObject::mChildList, and mRectSelectedObjects.
void LLSelectMgr::deselectObjectOnly | ( | LLViewerObject * | object, | |
BOOL | send_to_sim = TRUE | |||
) |
Definition at line 636 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectDeselect, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLViewerObject::getLocalID(), LLAgent::getSessionID(), gMessageSystem, LLViewerObject::isSelected(), LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), LLMessageSystem::sendReliable(), updatePointAt(), and updateSelectionCenter().
Referenced by deselectHighlightedObjects(), LLToolSelect::handleObjectSelection(), and validateSelection().
void LLSelectMgr::deselectObjectAndFamily | ( | LLViewerObject * | object, | |
BOOL | send_to_sim = TRUE , |
|||
BOOL | include_entire_object = FALSE | |||
) |
Definition at line 553 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectDeselect, _PREHASH_ObjectLocalID, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), FALSE, gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLXform::getParent(), LLXform::getRoot(), LLAgent::getSessionID(), gMessageSystem, i, LLPrimitive::isAvatar(), LLViewerObject::isJointChild(), LLViewerObject::isSelected(), LLMessageSystem::isSendFull(), MAX_OBJECTS_PER_PACKET, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), NULL, S32, LLMessageSystem::sendReliable(), TRUE, updatePointAt(), and updateSelectionCenter().
Referenced by deselectHighlightedObjects(), LLViewerObjectList::findOrphans(), LLToolSelect::handleObjectSelection(), LLViewerObject::removeChild(), removeObjectFromSelections(), and repeatDuplicate().
void LLSelectMgr::deselectAll | ( | ) |
Definition at line 3328 of file llselectmgr.cpp.
References LLVector3d::clearVec(), mLastSentSelectionCenterGlobal, mSelectedObjects, NULL, packAgentAndSessionID(), packObjectLocalID(), removeAll(), SEND_INDIVIDUALS, sendListToRegions(), LLPrimitive::setAngularVelocity(), LLPrimitive::setVelocity(), and updatePointAt().
Referenced by LLToolPlacer::addObject(), LLAgent::changeCameraToMouselook(), demoteSelectionToIndividuals(), deselect(), deselectAllIfTooFar(), deselectUnused(), LLAppViewer::disconnectViewer(), LLToolDragAndDrop::dropObject(), LLToolSelectRect::handleHover(), LLToolCompGun::handleHover(), LLToolSelect::handleObjectSelection(), LLToolIndividual::handleSelect(), LLFloaterTelehub::onClickAddSpawnPoint(), LLPreview::onCommit(), LLToolIndividual::pickCallback(), LLToolGrab::pickCallback(), LLToolFace::pickCallback(), processForceObjectSelect(), promoteSelectionToRoot(), LLObjectBridge::renameItem(), LLAgent::resetView(), selectDuplicate(), selectDuplicateOnRay(), and sendAttach().
void LLSelectMgr::deselectAllForStandingUp | ( | ) |
Definition at line 3358 of file llselectmgr.cpp.
References LLVector3d::clearVec(), mLastSentSelectionCenterGlobal, mSelectedObjects, NULL, packAgentAndSessionID(), packObjectLocalID(), removeAll(), SEND_INDIVIDUALS, sendListToRegions(), LLPrimitive::setAngularVelocity(), LLPrimitive::setVelocity(), and updatePointAt().
Referenced by LLOverlayBar::onClickStandUp().
void LLSelectMgr::deselectUnused | ( | ) |
Definition at line 3388 of file llselectmgr.cpp.
References deselectAll(), and mSelectedObjects.
Referenced by LLViewerWindow::handlePerFrameHover().
void LLSelectMgr::deselectAllIfTooFar | ( | ) |
Definition at line 3407 of file llselectmgr.cpp.
References deselectAll(), fsqrtf, gAgent, gDebugSelectMgr, LLControlGroup::getBOOL(), LLControlGroup::getF32(), LLAgent::getPositionGlobal(), getSelectionCenterGlobal(), LLView::getVisible(), gPieObject, gPieRate, gSavedSettings, LLVector3d::isExactlyZero(), llendl, llinfos, LLVector3d::magVecSquared(), mSelectedObjects, and SELECT_TYPE_HUD.
Referenced by LLAppViewer::idle().
void LLSelectMgr::deselectHighlightedObjects | ( | ) |
Definition at line 982 of file llselectmgr.cpp.
References deselectObjectAndFamily(), deselectObjectOnly(), LLControlGroup::getBOOL(), LLXform::getRoot(), gSavedSettings, LLViewerObject::isSelected(), mRectSelectedObjects, indra::base::config::set(), and unhighlightAll().
Referenced by LLToolSelectRect::handleMouseUp().
void LLSelectMgr::unhighlightObjectOnly | ( | LLViewerObject * | objectp | ) |
Definition at line 887 of file llselectmgr.cpp.
References LLPrimitive::getPCode(), LL_PCODE_VOLUME, and mRectSelectedObjects.
Referenced by LLToolSelectRect::handleRectangleSelection(), and unhighlightObjectAndFamily().
void LLSelectMgr::unhighlightObjectAndFamily | ( | LLViewerObject * | objectp | ) |
Definition at line 897 of file llselectmgr.cpp.
References LLXform::getRoot(), LLViewerObject::mChildList, and unhighlightObjectOnly().
void LLSelectMgr::unhighlightAll | ( | ) |
Definition at line 917 of file llselectmgr.cpp.
References mHighlightedObjects, and mRectSelectedObjects.
Referenced by LLFloaterSellLandUI::callbackHighlightTransferable(), LLPanelLandObjects::callbackReturnGroupObjects(), LLPanelLandObjects::callbackReturnOtherObjects(), LLPanelLandObjects::callbackReturnOwnerList(), LLPanelLandObjects::callbackReturnOwnerObjects(), deselectHighlightedObjects(), LLToolDragAndDrop::endDrag(), LLToolPipette::handleMouseUp(), LLFloaterLand::onClose(), LLToolPipette::pickCallback(), LLToolDragAndDrop::pickCallback(), LLAgent::resetView(), selectHighlightedObjects(), and send_parcel_select_objects().
Definition at line 503 of file llselectmgr.cpp.
References deselectObjectAndFamily(), FALSE, LLToolMgr::getCurrentTool(), LLTool::getEditingObject(), LLSingleton< LLToolMgr >::getInstance(), getSelection(), gNoRender, LLPrimitive::isAvatar(), LLViewerObject::mID, NULL, LLTool::stopEditing(), and TRUE.
Referenced by process_kill_object().
LLObjectSelectionHandle LLSelectMgr::getHoverObjects | ( | ) | [inline] |
Definition at line 442 of file llselectmgr.h.
References mHoverObjects.
Referenced by getHoverNode(), and processObjectPropertiesFamily().
LLObjectSelectionHandle LLSelectMgr::getSelection | ( | ) | [inline] |
Definition at line 443 of file llselectmgr.h.
References mSelectedObjects.
Referenced by adjustTexturesByScale(), LLAgent::cameraOrbitAround(), LLAgent::cameraOrbitOver(), LLAgent::cameraZoomIn(), confirm_replace_attachment(), demoteSelectionToIndividuals(), derez_objects(), LLManipScale::drag(), LLManipRotate::drag(), LLTextureView::draw(), dump(), enable_buy(), enable_save_into_inventory(), enable_save_into_task_inventory(), enable_selection_you_own_all(), enable_selection_you_own_one(), enable_take(), findObjectPermissions(), LLViewerObjectList::findOrphans(), LLAgent::getCameraZoomFraction(), LLPanelVolume::getState(), LLPanelObject::getState(), LLPanelFace::getState(), handle_export_selected(), handle_force_unlock(), handle_selected_texture_info(), handle_take(), LLToolsUseSelectionForGrid::handleEvent(), LLToolsEnableTakeCopy::handleEvent(), LLEditableSelected::handleEvent(), LLSomethingSelectedNoHUD::handleEvent(), LLSomethingSelected::handleEvent(), LLAttachmentDetach::handleEvent(), LLObjectEnableSitOrStand::handleEvent(), LLToolsLookAtSelection::handleEvent(), LLToolsEnableUnlink::handleEvent(), LLToolsLink::handleEvent(), LLToolsEnableLink::handleEvent(), LLToolsSnapObjectXY::handleEvent(), LLToolsSaveToObjectInventory::handleEvent(), LLObjectEnableReturn::handleEvent(), LLObjectMute::handleEvent(), LLObjectEdit::handleEvent(), LLObjectEnableTouch::handleEvent(), LLToolSelect::handleObjectSelection(), LLAgent::handleScrollWheel(), LLToolIndividual::handleSelect(), LLVOAvatar::idleUpdate(), is_selection_buy_not_take(), object_is_wearable(), object_selected_and_point_valid(), LLPanelFace::onClickAutoFix(), LLPanelContents::onClickNewScript(), LLPanelObjectTools::onClickSetBySelection(), LLPanelPermissions::onCommitClickAction(), LLPanelPermissions::onCommitPerm(), LLPanelFace::onDragTexture(), overrideObjectUpdates(), LLToolPie::pickAndShowMenu(), LLToolGrab::pickCallback(), LLToolCamera::pickCallback(), LLToolCompInspect::pickCallback(), LLPipeline::postSort(), processObjectProperties(), promoteSelectionToRoot(), queue_actions(), LLPanelPermissions::refresh(), LLPanelInventory::refresh(), LLPanelContents::refresh(), removeObjectFromSelections(), LLViewerWindow::renderSelections(), repeatDuplicate(), saveSelectedObjectColors(), saveSelectedObjectTextures(), saveSelectedObjectTransform(), selectDelete(), selectDuplicate(), selectGetAggregatePermissions(), selectGetAggregateTexturePermissions(), selectGetAllRootsValid(), selectGetAllValid(), selectGetCreator(), selectGetGroup(), selectGetLastOwner(), selectGetModify(), selectGetOwner(), selectGetPerm(), selectGetPermissions(), selectGetRootsCopy(), selectGetRootsModify(), selectGetRootsTransfer(), selectGetSaleInfo(), selection_price(), selectionAllPCode(), selectionDump(), selectionGetClickAction(), selectionGetIncludeInSearch(), selectionMove(), selectionResetRotation(), selectionRevertColors(), selectionRevertTextures(), selectionRotateAroundZ(), selectionSetAlphaOnly(), selectionSetBumpmap(), selectionSetClickAction(), selectionSetColor(), selectionSetColorOnly(), selectionSetFullbright(), selectionSetImage(), selectionSetIncludeInSearch(), selectionSetMaterial(), selectionSetMediaTypeAndURL(), selectionSetShiny(), selectionSetTexGen(), selectionTexScaleAutofit(), selectionUpdateCastShadows(), selectionUpdatePhantom(), selectionUpdatePhysics(), selectionUpdateTemporary(), selectIsForSale(), selectIsGroupOwned(), sendListToRegions(), sendSelectionMove(), LLPanelFace::sendTextureInfo(), LLAgent::setCameraZoomFraction(), LLFloaterOpenObject::show(), LLFloaterInspect::show(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), sitting_on_selection(), LLViewerObjectList::updateApparentAngles(), updateSilhouettes(), and validateSelection().
LLObjectSelectionHandle LLSelectMgr::getEditSelection | ( | ) | [inline] |
Definition at line 445 of file llselectmgr.h.
References convertTransient(), and mSelectedObjects.
Referenced by LLObjectReturn::handleEvent(), LLManip::handleSelect(), LLFloaterPay::LLFloaterPay(), LLFloaterTelehub::LLFloaterTelehub(), LLFloaterTools::onOpen(), LLFloaterOpenObject::show(), LLFloaterBuyContents::show(), and LLFloaterBuy::show().
LLObjectSelectionHandle LLSelectMgr::getHighlightedObjects | ( | ) | [inline] |
Definition at line 446 of file llselectmgr.h.
References mHighlightedObjects.
Referenced by LLToolSelectRect::handleRectangleSelection(), and selectHighlightedObjects().
LLSelectNode * LLSelectMgr::getHoverNode | ( | ) |
Definition at line 813 of file llselectmgr.cpp.
References getHoverObjects().
Referenced by LLHoverView::updateText().
void LLSelectMgr::addGridObject | ( | LLViewerObject * | objectp | ) |
Definition at line 1006 of file llselectmgr.cpp.
References LLObjectSelection::addNodeAtEnd(), FALSE, LLViewerObject::mChildList, and mGridObjects.
Referenced by LLToolsUseSelectionForGrid::handleEvent().
void LLSelectMgr::clearGridObjects | ( | ) |
Definition at line 1020 of file llselectmgr.cpp.
References LLObjectSelection::deleteAllNodes(), and mGridObjects.
Referenced by LLToolsUseSelectionForGrid::handleEvent().
void LLSelectMgr::setGridMode | ( | EGridMode | mode | ) |
Definition at line 1025 of file llselectmgr.cpp.
References FALSE, gSavedSettings, mGridMode, mGridValid, LLControlGroup::setS32(), and updateSelectionCenter().
Referenced by commit_grid_mode(), and LLToolsUseSelectionForGrid::handleEvent().
EGridMode LLSelectMgr::getGridMode | ( | ) | [inline] |
Definition at line 456 of file llselectmgr.h.
References mGridMode.
Referenced by LLManipRotate::dragConstrained(), LLManipTranslate::renderSnapGuides(), LLManipScale::renderSnapGuides(), and LLManipRotate::renderSnapGuides().
void LLSelectMgr::getGrid | ( | LLVector3 & | origin, | |
LLQuaternion & | rotation, | |||
LLVector3 & | scale | |||
) |
Definition at line 1033 of file llselectmgr.cpp.
References LLObjectSelection::begin(), LLObjectSelection::cleanupNodes(), LLVector3::clearVec(), LLObjectSelection::end(), F32_MAX, FALSE, LLBBox::getCenterAgent(), LLBBox::getExtentLocal(), LLControlGroup::getF32(), LLObjectSelection::getFirstObject(), LLViewerObject::getRenderMatrix(), LLViewerObject::getRenderPosition(), LLViewerObject::getRenderRotation(), LLViewerObject::getRootEdit(), LLBBox::getRotation(), getSelectedParentObject(), getSelectTypeForObject(), LLDrawable::getSpatialExtents(), LLXform::getWorldPosition(), LLXform::getWorldRotation(), GRID_MODE_LOCAL, GRID_MODE_REF_OBJECT, gSavedSettings, LLDrawable::isActive(), LLVector3::isFinite(), LLPointer< Type >::isNull(), lerp(), llassert, LLQuaternion::loadIdentity(), LLViewerObject::mDrawable, mGridMode, mGridObjects, mGridOrigin, mGridRotation, mGridScale, mGridValid, mSavedSelectionBBox, mSelectedObjects, LLPointer< Type >::notNull(), SELECT_TYPE_ATTACHMENT, SELECT_TYPE_HUD, SELECT_TYPE_WORLD, TRUE, and update_min_max().
Referenced by LLManipRotate::dragConstrained(), LLManipRotate::getConstraintAxis(), LLManip::getManipAxis(), LLManip::getManipNormal(), LLManipTranslate::handleMouseDownOnPart(), LLManipTranslate::highlightManipulators(), LLManipRotate::highlightManipulators(), LLManipRotate::render(), LLManip::renderGuidelines(), LLManipTranslate::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLManipTranslate::renderTranslationHandles(), and LLManipScale::updateSnapGuides().
BOOL LLSelectMgr::getTEMode | ( | ) | [inline] |
Definition at line 459 of file llselectmgr.h.
References mTEMode.
Referenced by sendMultipleUpdate(), and sendSelectionMove().
void LLSelectMgr::setTEMode | ( | BOOL | b | ) | [inline] |
Definition at line 460 of file llselectmgr.h.
References mTEMode.
Referenced by LLToolFace::handleDeselect(), and LLToolFace::handleSelect().
BOOL LLSelectMgr::shouldShowSelection | ( | ) | [inline] |
Definition at line 462 of file llselectmgr.h.
References mShowSelection.
Referenced by LLVOAvatar::needsRenderBeam().
LLBBox LLSelectMgr::getBBoxOfSelection | ( | ) | const |
Definition at line 5569 of file llselectmgr.cpp.
References mSelectionBBox.
Referenced by LLManipScale::dragCorner(), LLManipScale::dragFace(), LLManip::getPivotPoint(), LLToolsLookAtSelection::handleEvent(), LLManipScale::handleMouseDownOnPart(), LLManipScale::handleSelect(), LLManipScale::highlightManipulators(), LLManipScale::render(), LLSelectNode::renderOneSilhouette(), and saveSelectedObjectTransform().
LLBBox LLSelectMgr::getSavedBBoxOfSelection | ( | ) | const [inline] |
Definition at line 465 of file llselectmgr.h.
References mSavedSelectionBBox.
Referenced by LLManip::getSavedPivotPoint(), and LLManipScale::renderSnapGuides().
void LLSelectMgr::dump | ( | ) |
Definition at line 1298 of file llselectmgr.cpp.
References LLViewerObject::flagHandleTouch(), LLViewerObject::flagScripted(), LLViewerObject::flagTakesMoney(), LLDrawable::FORCE_INVISIBLE, LLPrimitive::getNumTEs(), LLSelectNode::getObject(), LLPrimitive::getPCode(), LLXform::getPosition(), LLViewerObject::getPositionAgent(), LLViewerObject::getPositionGlobal(), LLViewerObject::getPositionRegion(), getSelection(), LLDrawable::isState(), LLSelectNode::isTESelected(), LLDrawable::isVisible(), llendl, llinfos, LLViewerObject::mDrawable, mHighlightedObjects, mSelectedObjects, mSelectionCenterGlobal, mTEMode, LLPrimitive::pCodeToString(), and S32.
Referenced by dump_select_mgr().
void LLSelectMgr::cleanup | ( | ) |
Definition at line 1348 of file llselectmgr.cpp.
References mSilhouetteImagep, and NULL.
Referenced by LLViewerWindow::~LLViewerWindow().
void LLSelectMgr::updateSilhouettes | ( | ) |
Definition at line 4517 of file llselectmgr.cpp.
References canSelectObject(), LLXform::clearChanged(), gAgent, generateSilhouette(), LLControlGroup::getBOOL(), LLAgent::getCameraPositionGlobal(), LLAgent::getCurrentCameraBuildOffset(), LLViewerImageList::getImageFromFile(), LLSingleton< LLViewerCamera >::getInstance(), LLViewerJointAttachment::getIsHUDAttachment(), LLSelectNode::getObject(), LLXform::getParent(), LLXform::getRoot(), LLViewerObject::getRootEdit(), getSelection(), gImageList, gSavedSettings, LLViewerObject::isAttachment(), LLXform::isChanged(), LLPointer< Type >::isNull(), LLXform::isRoot(), LLXform::isRootEdit(), MAX_SILS_PER_FRAME, LLViewerObject::mChildList, LLViewerObject::mDrawable, mHighlightedObjects, LLSelectNode::mIndividualSelection, mLastCameraPos, LLXform::MOVED, mRectSelectedObjects, mSelectedObjects, LLSelectNode::mSilhouetteExists, mSilhouetteImagep, LLPointer< Type >::notNull(), S32, LLSelectNode::selectAllTEs(), indra::base::config::set(), LLXform::SILHOUETTE, SILHOUETTE_UPDATE_THRESHOLD_SQUARED, and TRUE.
Referenced by LLViewerWindow::renderSelections().
void LLSelectMgr::renderSilhouettes | ( | BOOL | for_hud | ) |
Definition at line 4788 of file llselectmgr.cpp.
References LLViewerImage::bindTexture(), LLKeyboard::currentMask(), FALSE, gAgent, LLAgent::getAvatarObject(), LLBBox::getCenterLocal(), LLBBox::getExtentLocal(), LLVOAvatar::getHUDBBox(), LLViewerObject::getID(), LLSingleton< LLViewerCamera >::getInstance(), LLSelectNode::getObject(), LLFloaterInspect::getSelectedUUID(), gKeyboard, LLViewerObject::isHUDAttachment(), LLXform::isRoot(), LLXform::isRootEdit(), LLViewerObject::isSelected(), LLSelectNode::isTransient(), llmax(), MASK_CONTROL, mHighlightedObjects, LLVOAvatar::mHUDCurZoom, mRenderSilhouettes, mSelectedObjects, mSilhouetteImagep, LLVector3::mV, OGL_TO_CFR_ROTATION, LLColor4::red, LLSelectNode::renderOneSilhouette(), S32, sContextSilhouetteColor, sHighlightChildColor, sHighlightInspectColor, sHighlightParentColor, sRenderHiddenSelections, sSilhouetteChildColor, sSilhouetteParentColor, stop_glerror, TRUE, and VX.
Referenced by LLViewerWindow::renderSelections().
void LLSelectMgr::enableSilhouette | ( | BOOL | enable | ) | [inline] |
Definition at line 472 of file llselectmgr.h.
References mRenderSilhouettes.
Referenced by LLManipTranslate::handleMouseDownOnPart(), LLManipScale::handleMouseDownOnPart(), LLManipRotate::handleMouseDownOnPart(), LLManipTranslate::handleMouseUp(), LLManipScale::handleMouseUp(), LLManipRotate::handleMouseUp(), and LLToolSelect::onMouseCaptureLost().
void LLSelectMgr::saveSelectedObjectTransform | ( | EActionType | action_type | ) |
Definition at line 3720 of file llselectmgr.cpp.
References gAgent, getBBoxOfSelection(), LLSelectNode::getObject(), LLXform::getParent(), LLAgent::getPosGlobalFromAgent(), LLXform::getPosition(), LLXform::getRotation(), getSelection(), LLXform::getWorldPosition(), LLXform::getWorldRotation(), LLViewerObject::isAttachment(), LLXform::isRootEdit(), LLViewerObject::mDrawable, LLSelectNode::mSavedPositionGlobal, LLSelectNode::mSavedPositionLocal, LLSelectNode::mSavedRotation, LLSelectNode::mSavedScale, mSavedSelectionBBox, mSelectedObjects, NULL, and LLSelectNode::saveTextureScaleRatios().
Referenced by addAsFamily(), addAsIndividual(), LLManipTranslate::handleMouseDownOnPart(), LLManipScale::handleMouseDownOnPart(), LLManipRotate::handleMouseDownOnPart(), LLManipTranslate::handleMouseUp(), LLManipScale::handleMouseUp(), LLManipRotate::handleMouseUp(), LLManipTranslate::handleSelect(), LLManipScale::handleSelect(), LLManipRotate::handleSelect(), selectHighlightedObjects(), selectObjectAndFamily(), selectObjectOnly(), and LLPanelObject::sendScale().
void LLSelectMgr::saveSelectedObjectColors | ( | ) |
Definition at line 3687 of file llselectmgr.cpp.
References getSelection(), and LLSelectNode::saveColors().
Referenced by LLPanelFace::onSelectColor().
void LLSelectMgr::saveSelectedObjectTextures | ( | ) |
Definition at line 3700 of file llselectmgr.cpp.
References FALSE, getSelection(), LLSelectNode::mValid, and sendSelect().
Referenced by LLPanelFace::onSelectTexture().
void LLSelectMgr::selectionUpdatePhysics | ( | BOOL | use_physics | ) |
Definition at line 3804 of file llselectmgr.cpp.
References FLAGS_USE_PHYSICS, and getSelection().
Referenced by LLPanelObject::sendIsPhysical().
void LLSelectMgr::selectionUpdateTemporary | ( | BOOL | is_temporary | ) |
Definition at line 3810 of file llselectmgr.cpp.
References FLAGS_TEMPORARY_ON_REZ, and getSelection().
Referenced by LLPanelObject::sendIsTemporary().
void LLSelectMgr::selectionUpdatePhantom | ( | BOOL | is_ghost | ) |
Definition at line 3816 of file llselectmgr.cpp.
References FLAGS_PHANTOM, and getSelection().
Referenced by LLPanelVolume::sendIsFlexible(), and LLPanelObject::sendIsPhantom().
void LLSelectMgr::selectionUpdateCastShadows | ( | BOOL | cast_shadows | ) |
Definition at line 3822 of file llselectmgr.cpp.
References FLAGS_CAST_SHADOWS, and getSelection().
Referenced by LLPanelObject::sendCastShadows().
void LLSelectMgr::selectionDump | ( | ) |
Definition at line 3674 of file llselectmgr.cpp.
References getSelection().
Referenced by print_object_info().
Definition at line 1841 of file llselectmgr.cpp.
References FALSE, LLPrimitive::getPCode(), and getSelection().
Referenced by LLPanelVolume::getState(), LLPanelObject::getState(), LLPanelContents::getState(), LLPanelPermissions::refresh(), LLFloaterTools::refresh(), and LLFloaterTelehub::refresh().
Definition at line 1902 of file llselectmgr.cpp.
References FALSE, LLViewerObject::getClickAction(), getSelection(), and mSelectedObjects.
Referenced by LLPanelPermissions::onCommitClickAction(), and LLPanelPermissions::setAllSaleInfo().
bool LLSelectMgr::selectionGetIncludeInSearch | ( | bool * | include_in_search_out | ) |
Definition at line 1860 of file llselectmgr.cpp.
References FALSE, LLViewerObject::getIncludeInSearch(), getSelection(), and mSelectedObjects.
Referenced by LLPanelPermissions::refresh().
void LLSelectMgr::selectionSetMaterial | ( | U8 | material | ) |
Definition at line 1819 of file llselectmgr.cpp.
References getSelection(), LL_MCODE_MASK, and LLViewerObject::permModify().
Referenced by LLPanelObject::onCommitMaterial().
void LLSelectMgr::selectionSetImage | ( | const LLUUID & | imageid | ) |
Definition at line 1374 of file llselectmgr.cpp.
References LLPermissions::allowOperationBy(), LLHUDManager::createViewerEffect(), LLToolDragAndDrop::dropTextureAllFaces(), LLToolDragAndDrop::dropTextureOneFace(), FALSE, gAgent, LLAgent::getAvatarObject(), LLAgent::getEffectColor(), LLAgent::getID(), LLViewerImageList::getImage(), LLSingleton< LLHUDManager >::getInstance(), LLInventoryModel::getItem(), LLInventoryItem::getPermissions(), getSelection(), gImageList, gInventory, LL_HUD_DUR_SHORT, LLHUDObject::LL_HUD_EFFECT_BEAM, llendl, llwarns, mSelectedObjects, LLUUID::null, PERM_COPY, S32, LLHUDEffect::setColor(), LLHUDEffect::setDuration(), LLHUDObject::setSourceObject(), LLHUDEffectSpiral::setTargetObject(), LLViewerObject::setTEImage(), LLToolDragAndDrop::SOURCE_AGENT, and TRUE.
Referenced by LLPanelFace::sendTexture().
void LLSelectMgr::selectionSetColor | ( | const LLColor4 & | color | ) |
Definition at line 1449 of file llselectmgr.cpp.
References getSelection(), LLViewerObject::permModify(), and S32.
void LLSelectMgr::selectionSetColorOnly | ( | const LLColor4 & | color | ) |
Definition at line 1473 of file llselectmgr.cpp.
References getSelection(), LLColor4::mV, LLViewerObject::permModify(), S32, and VALPHA.
Referenced by LLPanelFace::sendColor().
void LLSelectMgr::selectionSetAlphaOnly | ( | const F32 | alpha | ) |
Definition at line 1500 of file llselectmgr.cpp.
References getSelection(), LLColor4::mV, LLViewerObject::permModify(), S32, and VALPHA.
Referenced by LLPanelFace::sendAlpha().
void LLSelectMgr::selectionRevertColors | ( | ) |
Definition at line 1524 of file llselectmgr.cpp.
References getSelection(), LLSelectNode::mSavedColors, mSelectedObjects, LLViewerObject::permModify(), and S32.
Referenced by LLPanelFace::onCancelColor().
BOOL LLSelectMgr::selectionRevertTextures | ( | ) |
Definition at line 1551 of file llselectmgr.cpp.
References FALSE, LLViewerImageList::getImage(), getSelection(), gImageList, LLSelectNode::mSavedTextures, mSelectedObjects, LLViewerObject::permModify(), and S32.
Referenced by LLPanelFace::onCancelTexture().
void LLSelectMgr::selectionSetBumpmap | ( | U8 | bumpmap | ) |
Definition at line 1588 of file llselectmgr.cpp.
References getSelection(), LLViewerObject::permModify(), and S32.
Referenced by LLPanelFace::sendBump().
void LLSelectMgr::selectionSetTexGen | ( | U8 | texgen | ) |
Definition at line 1610 of file llselectmgr.cpp.
References getSelection(), LLViewerObject::permModify(), and S32.
Referenced by LLPanelFace::sendTexGen().
void LLSelectMgr::selectionSetShiny | ( | U8 | shiny | ) |
Definition at line 1633 of file llselectmgr.cpp.
References getSelection(), LLViewerObject::permModify(), and S32.
Referenced by LLPanelFace::sendShiny().
void LLSelectMgr::selectionSetFullbright | ( | U8 | fullbright | ) |
Definition at line 1655 of file llselectmgr.cpp.
References getSelection(), LL_MCODE_GLASS, LL_MCODE_LIGHT, LL_MCODE_MASK, LLViewerObject::permModify(), and S32.
Referenced by LLPanelFace::sendFullbright().
void LLSelectMgr::selectionSetMediaTypeAndURL | ( | U8 | media_type, | |
const std::string & | media_url | |||
) |
Definition at line 1701 of file llselectmgr.cpp.
References getSelection(), LLViewerObject::MEDIA_TYPE_WEB_PAGE, LLTextureEntry::MF_NONE, LLTextureEntry::MF_WEB_PAGE, LLViewerObject::permModify(), and S32.
void LLSelectMgr::selectionSetClickAction | ( | U8 | action | ) |
Definition at line 1930 of file llselectmgr.cpp.
References getSelection(), packAgentAndSessionID(), packObjectClickAction(), SEND_INDIVIDUALS, and sendListToRegions().
Referenced by LLPanelPermissions::onCommitClickAction(), LLPanelVolume::sendIsFlexible(), and LLPanelPermissions::setAllSaleInfo().
void LLSelectMgr::selectionSetIncludeInSearch | ( | bool | include_in_search | ) |
Definition at line 1885 of file llselectmgr.cpp.
References getSelection(), NULL, packAgentAndSessionID(), packObjectIncludeInSearch(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLPanelPermissions::onCommitIncludeInSearch().
void LLSelectMgr::selectionSetGlow | ( | const F32 | glow | ) |
Definition at line 1744 of file llselectmgr.cpp.
References mSelectedObjects, LLViewerObject::permModify(), and S32.
Referenced by LLPanelFace::sendGlow().
void LLSelectMgr::selectionSetObjectPermissions | ( | U8 | perm_field, | |
BOOL | set, | |||
U32 | perm_mask, | |||
BOOL | override = FALSE | |||
) |
Definition at line 3293 of file llselectmgr.cpp.
References LLPermData::mField, LLPermData::mMask, LLPermData::mOverride, LLPermData::mSet, packPermissions(), packPermissionsHead(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by handle_object_lock(), handle_object_owner_permissive(), LLPanelObject::onCommitLock(), and LLPanelPermissions::onCommitPerm().
void LLSelectMgr::selectionSetObjectName | ( | const LLString & | name | ) |
Definition at line 3446 of file llselectmgr.cpp.
References mSelectedObjects, packAgentAndSessionID(), packObjectName(), SEND_INDIVIDUALS, SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLPanelPermissions::onCommitName(), and LLObjectBridge::renameItem().
void LLSelectMgr::selectionSetObjectDescription | ( | const LLString & | desc | ) |
Definition at line 3467 of file llselectmgr.cpp.
References mSelectedObjects, packAgentAndSessionID(), packObjectDescription(), SEND_INDIVIDUALS, SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLPreview::onCommit(), and LLPanelPermissions::onCommitDesc().
void LLSelectMgr::selectionSetObjectCategory | ( | const LLCategory & | category | ) |
Definition at line 3488 of file llselectmgr.cpp.
References mSelectedObjects, packAgentAndSessionID(), packObjectCategory(), SEND_ONLY_ROOTS, and sendListToRegions().
void LLSelectMgr::selectionSetObjectSaleInfo | ( | const LLSaleInfo & | sale_info | ) |
Definition at line 3500 of file llselectmgr.cpp.
References mSelectedObjects, packAgentAndSessionID(), packObjectSaleInfo(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLPanelPermissions::setAllSaleInfo().
void LLSelectMgr::selectionTexScaleAutofit | ( | F32 | repeats_per_meter | ) |
Definition at line 2065 of file llselectmgr.cpp.
References getSelection(), LLPrimitive::getTESTAxes(), LLViewerObject::permModify(), S32, and TRUE.
Referenced by LLPanelFace::onClickApply().
Definition at line 2105 of file llselectmgr.cpp.
References FALSE, LLPrimitive::getNumTEs(), LLSelectNode::getObject(), getSelection(), LLPrimitive::getTESTAxes(), LLTextureEntry::getTexGen(), LLSelectNode::mTextureScaleRatios, LLVector3::mV, LLViewerObject::permModify(), and LLTextureEntry::TEX_GEN_PLANAR.
Referenced by LLManipScale::handleHover(), LLManipScale::handleMouseUp(), and LLPanelObject::sendScale().
void LLSelectMgr::selectionResetRotation | ( | ) |
Definition at line 2021 of file llselectmgr.cpp.
References getSelection(), gPipeline, LLPipeline::markMoved(), LLViewerObject::mDrawable, LLPointer< Type >::notNull(), and TRUE.
Referenced by click_popup_rotate_reset().
void LLSelectMgr::selectionRotateAroundZ | ( | F32 | degrees | ) |
Definition at line 2040 of file llselectmgr.cpp.
References DEG_TO_RAD, LLViewerObject::getRotationEdit(), getSelection(), gPipeline, LLPipeline::markMoved(), LLViewerObject::mDrawable, LLPointer< Type >::notNull(), and TRUE.
Referenced by click_popup_rotate_left(), and click_popup_rotate_right().
bool LLSelectMgr::selectionMove | ( | const LLVector3 & | displ, | |
F32 | rx, | |||
F32 | ry, | |||
F32 | rz, | |||
U32 | update_type | |||
) |
Definition at line 6250 of file llselectmgr.cpp.
References dist_vec(), LLControlGroup::getBOOL(), LLViewerObject::getChildren(), LLSingleton< LLViewerCamera >::getInstance(), LLViewerObject::getPositionEdit(), LLViewerObject::getPositionGlobal(), LLViewerObject::getRotationEdit(), getSelection(), getSelectionCenterGlobal(), gPipeline, gSavedSettings, LLViewerObject::isAttachment(), LLPipeline::markMoved(), LLViewerObject::mDrawable, LLVector3::mV, LLPointer< Type >::notNull(), LLViewerObject::permModify(), LLViewerObject::permMove(), LLCoordFrame::rotateToAbsolute(), S32, LLViewerObject::setPosition(), LLQuaternion::setQuat(), LLViewerObject::setRotation(), LLMatrix4::setTranslation(), LLVector3::setVec(), TRUE, UPD_NONE, UPD_POSITION, UPD_ROTATION, and updateSelectionCenter().
void LLSelectMgr::sendSelectionMove | ( | ) |
Definition at line 6379 of file llselectmgr.cpp.
References LLMessageSystem::clearMessage(), LLControlGroup::getBOOL(), LLMessageSystem::getCurrentSendTotal(), LLViewerRegion::getHost(), LLSelectNode::getObject(), LLViewerObject::getRegion(), getSelection(), getTEMode(), gMessageSystem, gSavedSettings, LLMessageSystem::isSendFull(), MAX_OBJECTS_PER_PACKET, mSelectedObjects, LLMessageSystem::newMessage(), NULL, packAgentAndSessionID(), packMultipleUpdate(), S32, LLMessageSystem::sendReliable(), UPD_LINKED_SETS, UPD_POSITION, and UPD_ROTATION.
Referenced by LLViewerJoystick::moveObjects().
Definition at line 1957 of file llselectmgr.cpp.
References gAgent, gMessageSystem, LLAgent::isGodlike(), mSelectedObjects, LLMessageSystem::newMessage(), packGodlikeHead(), packObjectIDAsParam(), SEND_ONLY_ROOTS, sendListToRegions(), and LLAgent::sendReliableMessage().
Referenced by handle_god_request_avatar_geometry(), handle_god_request_havok(), handle_object_asset_ids(), LLFloaterTelehub::onClickAddSpawnPoint(), LLFloaterTelehub::onClickConnect(), LLFloaterTelehub::onClickDisconnect(), LLPanelRequestTools::onClickRequest(), and LLFloaterTelehub::sendTelehubInfoRequest().
void LLSelectMgr::validateSelection | ( | ) |
Definition at line 5679 of file llselectmgr.cpp.
References canSelectObject(), deselectObjectOnly(), LLSingleton< LLSelectMgr >::getInstance(), and getSelection().
Referenced by LLToolPie::handleDeselect().
BOOL LLSelectMgr::canSelectObject | ( | LLViewerObject * | object | ) |
Definition at line 5695 of file llselectmgr.cpp.
References FALSE, LLControlGroup::getBOOL(), LLPrimitive::getPCode(), getSelectTypeForObject(), gSavedSettings, LLPrimitive::isAvatar(), LLViewerObject::isDead(), LLViewerObject::isOrphaned(), LLViewerObject::LL_VO_SURFACE_PATCH, mForceSelection, mSelectedObjects, and TRUE.
Referenced by get_family_count(), selectHighlightedObjects(), selectObjectAndFamily(), selectObjectOnly(), updateSilhouettes(), and validateSelection().
BOOL LLSelectMgr::selectGetAllRootsValid | ( | ) |
Definition at line 2173 of file llselectmgr.cpp.
References FALSE, getSelection(), LLSelectNode::mValid, and TRUE.
Referenced by LLToolsEnableUnlink::handleEvent(), and LLToolsEnableLink::handleEvent().
BOOL LLSelectMgr::selectGetAllValid | ( | ) |
Definition at line 2192 of file llselectmgr.cpp.
References FALSE, getSelection(), LLSelectNode::mValid, and TRUE.
BOOL LLSelectMgr::selectGetRootsModify | ( | ) |
Definition at line 2234 of file llselectmgr.cpp.
References FALSE, LLSelectNode::getObject(), getSelection(), LLSelectNode::mValid, LLViewerObject::permModify(), and TRUE.
Referenced by LLPanelPermissions::refresh().
BOOL LLSelectMgr::selectGetModify | ( | ) |
Definition at line 2211 of file llselectmgr.cpp.
References FALSE, LLSelectNode::getObject(), getSelection(), LLSelectNode::mValid, LLViewerObject::permModify(), and TRUE.
Referenced by LLPanelPermissions::refresh().
BOOL LLSelectMgr::selectGetRootsTransfer | ( | ) |
Definition at line 2259 of file llselectmgr.cpp.
References FALSE, LLSelectNode::getObject(), getSelection(), LLSelectNode::mValid, LLViewerObject::permTransfer(), and TRUE.
Referenced by LLPanelPermissions::refresh().
BOOL LLSelectMgr::selectGetRootsCopy | ( | ) |
Definition at line 2282 of file llselectmgr.cpp.
References FALSE, LLSelectNode::getObject(), getSelection(), LLSelectNode::mValid, LLViewerObject::permCopy(), and TRUE.
Referenced by LLPanelPermissions::refresh().
Definition at line 2305 of file llselectmgr.cpp.
References FALSE, gCacheName, LLPermissions::getCreator(), LLCacheName::getFullName(), getSelection(), LLUUID::isNull(), LLSelectNode::mPermissions, LLSelectNode::mValid, and TRUE.
Referenced by LLPanelPermissions::refresh().
Definition at line 2357 of file llselectmgr.cpp.
References FALSE, gCacheName, LLCacheName::getFullName(), LLPermissions::getOwnership(), getSelection(), LLUUID::isNull(), LLSelectNode::mPermissions, LLSelectNode::mValid, and TRUE.
Referenced by LLPanelVolume::getState(), LLPanelObject::getState(), handle_buy_object(), LLPanelPermissions::onClickGroup(), LLPanelObjectTools::onClickSetBySelection(), LLPanelPermissions::refresh(), LLFloaterBuyContents::show(), and LLFloaterBuy::show().
Definition at line 2425 of file llselectmgr.cpp.
References FALSE, gCacheName, LLCacheName::getFullName(), LLPermissions::getLastOwner(), getSelection(), LLUUID::isNull(), LLSelectNode::mPermissions, LLSelectNode::mValid, and TRUE.
Referenced by LLPanelPermissions::refresh().
Definition at line 2485 of file llselectmgr.cpp.
References FALSE, LLPermissions::getGroup(), getSelection(), LLSelectNode::mPermissions, LLSelectNode::mValid, and TRUE.
Referenced by callback_deed_to_group(), LLPanelContents::getState(), LLPanelPermissions::onClickOwner(), and LLPanelPermissions::refresh().
Definition at line 2553 of file llselectmgr.cpp.
References FALSE, LLPermissions::getMaskBase(), LLPermissions::getMaskEveryone(), LLPermissions::getMaskGroup(), LLPermissions::getMaskNextOwner(), LLPermissions::getMaskOwner(), getSelection(), LLSelectNode::mPermissions, LLSelectNode::mValid, PERM_BASE, PERM_EVERYONE, PERM_GROUP, PERM_NEXT_OWNER, PERM_OWNER, and TRUE.
Referenced by LLPanelObject::getState(), and LLPanelPermissions::refresh().
BOOL LLSelectMgr::selectIsGroupOwned | ( | ) |
Definition at line 2524 of file llselectmgr.cpp.
References FALSE, getSelection(), LLPermissions::isGroupOwned(), LLSelectNode::mPermissions, LLSelectNode::mValid, and TRUE.
Referenced by LLPanelPermissions::onClickOwner(), and LLPanelPermissions::refresh().
BOOL LLSelectMgr::selectGetPermissions | ( | LLPermissions & | perm | ) |
Definition at line 2622 of file llselectmgr.cpp.
References LLPermissions::accumulate(), FALSE, getSelection(), LLSelectNode::mPermissions, LLSelectNode::mValid, and TRUE.
Referenced by handle_buy_object().
Definition at line 2829 of file llselectmgr.cpp.
References FALSE, LLSaleInfo::getSalePrice(), getSelection(), LLSaleInfo::isForSale(), LLSelectNode::mSaleInfo, and TRUE.
Referenced by LLPanelPermissions::refresh().
BOOL LLSelectMgr::selectGetCategory | ( | LLCategory & | category | ) |
BOOL LLSelectMgr::selectGetSaleInfo | ( | LLSaleInfo & | sale_info | ) |
Definition at line 2851 of file llselectmgr.cpp.
References LLSaleInfo::accumulate(), FALSE, getSelection(), LLSelectNode::mSaleInfo, LLSelectNode::mValid, and TRUE.
Referenced by handle_buy(), LLPanelPermissions::onCommitClickAction(), and LLPanelPermissions::refresh().
BOOL LLSelectMgr::selectGetAggregatePermissions | ( | LLAggregatePermissions & | ag_perm | ) |
Definition at line 2880 of file llselectmgr.cpp.
References LLAggregatePermissions::aggregate(), FALSE, getSelection(), LLSelectNode::mAggregatePerm, LLSelectNode::mValid, and TRUE.
Referenced by handle_buy_object().
BOOL LLSelectMgr::selectGetAggregateTexturePermissions | ( | LLAggregatePermissions & | ag_perm | ) |
Definition at line 2909 of file llselectmgr.cpp.
References LLAggregatePermissions::aggregate(), FALSE, LLSelectNode::getObject(), getSelection(), LLSelectNode::mAggregateTexturePerm, LLSelectNode::mAggregateTexturePermOwner, LLSelectNode::mValid, LLViewerObject::permYouOwner(), and TRUE.
LLPermissions * LLSelectMgr::findObjectPermissions | ( | const LLViewerObject * | object | ) |
Definition at line 1780 of file llselectmgr.cpp.
References LLSelectNode::getObject(), getSelection(), LLSelectNode::mPermissions, and NULL.
Referenced by LLViewerObject::doUpdateInventory().
void LLSelectMgr::selectDelete | ( | ) |
Definition at line 2652 of file llselectmgr.cpp.
References LLViewerWindow::alertXml(), confirmDelete(), convertTransient(), FALSE, getSelection(), gViewerWindow, LLViewerObject::isAttachment(), make_ui_sound(), LLViewerObject::permCopy(), LLViewerObject::permMove(), LLViewerObject::permYouOwner(), S32, and TRUE.
Referenced by doDelete().
void LLSelectMgr::selectForceDelete | ( | ) |
Definition at line 2816 of file llselectmgr.cpp.
References packDeleteHeader(), packObjectLocalID(), SEND_ONLY_ROOTS, sendListToRegions(), and TRUE.
Referenced by handle_force_delete().
Definition at line 2953 of file llselectmgr.cpp.
References deselectAll(), LLDuplicateData::flags, FLAGS_CREATE_SELECTED, LLSelectNode::getObject(), LLViewerObject::getPositionGlobal(), LLXform::getRotation(), getSelection(), make_ui_sound(), LLSelectNode::mDuplicated, LLSelectNode::mDuplicatePos, LLSelectNode::mDuplicateRot, mSelectedObjects, LLDuplicateData::offset, packDuplicate(), packDuplicateHeader(), SEND_ONLY_ROOTS, sendListToRegions(), and TRUE.
Referenced by duplicate(), handle_duplicate_in_place(), and LLManipTranslate::handleHover().
void LLSelectMgr::repeatDuplicate | ( | ) |
Definition at line 2986 of file llselectmgr.cpp.
References deselectObjectAndFamily(), LLDuplicateData::flags, LLSelectNode::getObject(), LLViewerObject::getPositionGlobal(), LLXform::getRotation(), getSelection(), make_ui_sound(), LLSelectNode::mDuplicated, LLSelectNode::mDuplicatePos, LLSelectNode::mDuplicateRot, mSelectedObjects, LLDuplicateData::offset, packDuplicate(), packDuplicateHeader(), SEND_ONLY_ROOTS, sendListToRegions(), sendMultipleUpdate(), LLViewerObject::setPositionGlobal(), LLViewerObject::setRotation(), UPD_POSITION, UPD_ROTATION, and LLVector3::zero.
Referenced by handle_repeat_duplicate().
void LLSelectMgr::selectDuplicateOnRay | ( | const LLVector3 & | ray_start_region, | |
const LLVector3 & | ray_end_region, | |||
BOOL | bypass_raycast, | |||
BOOL | ray_end_is_intersection, | |||
const LLUUID & | ray_target_id, | |||
BOOL | copy_centers, | |||
BOOL | copy_rotates, | |||
BOOL | select_copy | |||
) |
Definition at line 3072 of file llselectmgr.cpp.
References deselectAll(), FLAGS_CREATE_SELECTED, make_ui_sound(), LLDuplicateOnRayData::mBypassRaycast, LLDuplicateOnRayData::mCopyCenters, LLDuplicateOnRayData::mCopyRotates, LLDuplicateOnRayData::mFlags, LLDuplicateOnRayData::mRayEndIsIntersection, LLDuplicateOnRayData::mRayEndRegion, LLDuplicateOnRayData::mRayStartRegion, LLDuplicateOnRayData::mRayTargetID, mSelectedObjects, packDuplicateOnRayHead(), packObjectLocalID(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLToolPlacer::addDuplicate().
void LLSelectMgr::sendMultipleUpdate | ( | U32 | type | ) |
Definition at line 3135 of file llselectmgr.cpp.
References LLControlGroup::getBOOL(), getTEMode(), gSavedSettings, packAgentAndSessionID(), packMultipleUpdate(), SEND_ONLY_ROOTS, SEND_ROOTS_FIRST, sendListToRegions(), UPD_LINKED_SETS, and UPD_NONE.
Referenced by LLToolsSnapObjectXY::handleEvent(), LLManipTranslate::handleMouseUp(), LLManipScale::handleMouseUp(), LLManipRotate::handleMouseUp(), repeatDuplicate(), LLPanelObject::sendPosition(), LLPanelObject::sendRotation(), LLPanelObject::sendScale(), and LLManipScale::sendUpdates().
void LLSelectMgr::sendOwner | ( | const LLUUID & | owner_id, | |
const LLUUID & | group_id, | |||
BOOL | override = FALSE | |||
) |
Definition at line 3203 of file llselectmgr.cpp.
References LLOwnerData::group_id, LLOwnerData::override, LLOwnerData::owner_id, packObjectLocalID(), packOwnerHead(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by callback_deed_to_group(), handle_force_unlock(), handle_object_owner_self(), LLPanelPermissions::onClickClaim(), and LLPanelPermissions::onClickRelease().
void LLSelectMgr::sendGroup | ( | const LLUUID & | group_id | ) |
Definition at line 3234 of file llselectmgr.cpp.
References packAgentAndSessionAndGroupID(), packObjectLocalID(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLPanelPermissions::cbGroupID().
void LLSelectMgr::sendBuy | ( | const LLUUID & | buyer_id, | |
const LLUUID & | category_id, | |||
const LLSaleInfo | sale_info | |||
) |
Definition at line 3256 of file llselectmgr.cpp.
References LLBuyData::mCategoryID, LLBuyData::mSaleInfo, packAgentGroupAndCatID(), packBuyObjectIDs(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLFloaterBuyContents::onClickBuy(), and LLFloaterBuy::onClickBuy().
void LLSelectMgr::sendAttach | ( | U8 | attachment_point | ) |
Definition at line 3515 of file llselectmgr.cpp.
References deselectAll(), gAgent, get_if_there(), LLAgent::getAvatarObject(), LLSingleton< LLToolMgr >::getInstance(), LLToolMgr::inEdit(), LLVOAvatar::mAttachmentPoints, mSelectedObjects, NULL, packAgentIDAndSessionAndAttachment(), packObjectIDAndRotation(), S32, SELECT_TYPE_WORLD, SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by near_attach_object().
void LLSelectMgr::sendDetach | ( | ) |
Definition at line 3542 of file llselectmgr.cpp.
References mSelectedObjects, NULL, packAgentAndSessionID(), packObjectLocalID(), SELECT_TYPE_WORLD, SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLAttachmentDetach::handleEvent().
void LLSelectMgr::sendDropAttachment | ( | ) |
Definition at line 3558 of file llselectmgr.cpp.
References mSelectedObjects, NULL, packAgentAndSessionID(), packObjectLocalID(), SELECT_TYPE_WORLD, SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLAttachmentDrop::handleEvent().
void LLSelectMgr::sendLink | ( | ) |
Definition at line 3577 of file llselectmgr.cpp.
References mSelectedObjects, NULL, packAgentAndSessionID(), packObjectLocalID(), SEND_ONLY_ROOTS, and sendListToRegions().
Referenced by LLToolsLink::handleEvent().
void LLSelectMgr::sendDelink | ( | ) |
Definition at line 3592 of file llselectmgr.cpp.
References mSelectedObjects, NULL, packAgentAndSessionID(), packObjectLocalID(), SEND_INDIVIDUALS, and sendListToRegions().
Referenced by LLToolsUnlink::handleEvent().
void LLSelectMgr::sendSelect | ( | ) |
Definition at line 3646 of file llselectmgr.cpp.
References mSelectedObjects, NULL, packAgentAndSessionID(), packObjectLocalID(), SEND_INDIVIDUALS, and sendListToRegions().
Referenced by saveSelectedObjectTextures(), selectHighlightedObjects(), and selectObjectAndFamily().
void LLSelectMgr::requestObjectPropertiesFamily | ( | LLViewerObject * | object | ) |
Definition at line 4206 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_ObjectData, _PREHASH_ObjectID, _PREHASH_RequestFlags, _PREHASH_RequestObjectPropertiesFamily, _PREHASH_SessionID, LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLViewerRegion::getHost(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLViewerObject::mID, LLMessageSystem::newMessageFast(), LLMessageSystem::nextBlockFast(), and LLMessageSystem::sendReliable().
Referenced by selectHighlightedObjects(), and setHoverObject().
void LLSelectMgr::processObjectProperties | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) | [static] |
Definition at line 4224 of file llselectmgr.cpp.
References _PREHASH_AggregatePerms, _PREHASH_AggregatePermTextures, _PREHASH_AggregatePermTexturesOwner, _PREHASH_BaseMask, _PREHASH_CreationDate, _PREHASH_CreatorID, _PREHASH_Description, _PREHASH_EveryoneMask, _PREHASH_FolderID, _PREHASH_FromTaskID, _PREHASH_GroupID, _PREHASH_GroupMask, _PREHASH_InventorySerial, _PREHASH_ItemID, _PREHASH_LastOwnerID, _PREHASH_Name, _PREHASH_NextOwnerMask, _PREHASH_ObjectData, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_OwnerMask, _PREHASH_SitName, _PREHASH_TextureID, _PREHASH_TouchName, LLAggregatePermissions::AP_ALL, LLAggregatePermissions::AP_EMPTY, LLAggregatePermissions::AP_NONE, DB_INV_ITEM_DESC_BUF_SIZE, DB_INV_ITEM_NAME_BUF_SIZE, dialog_refresh_all(), LLViewerObject::dirtyInventory(), enable_save_into_inventory(), FALSE, LLMessageSystem::getBinaryDataFast(), LLSingleton< LLSelectMgr >::getInstance(), LLMessageSystem::getNumberOfBlocksFast(), LLSelectNode::getObject(), LLMessageSystem::getS16Fast(), getSelection(), LLMessageSystem::getSizeFast(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getU64Fast(), LLMessageSystem::getUUIDFast(), LLAggregatePermissions::getValue(), LLView::getVisible(), gPopupMenuView, i, LLPermissions::init(), LLPermissions::initMasks(), LLSelectNode::mAggregatePerm, LLSelectNode::mAggregateTexturePerm, LLSelectNode::mAggregateTexturePermOwner, LLSelectNode::mCategory, LLSelectNode::mCreationDate, LLUUID::mData, LLSelectNode::mDescription, LLSelectNode::mFolderID, LLSelectNode::mFromTaskID, LLViewerObject::mID, LLSelectNode::mInventorySerial, LLSelectNode::mItemID, LLSelectNode::mName, LLSelectNode::mPermissions, LLSelectNode::mSaleInfo, LLSelectNode::mSitName, LLSelectNode::mTouchName, LLSelectNode::mValid, NULL, PERM_COPY, PERM_TRANSFER, LLViewerObject::permYouOwner(), S32, SAVE_INTO_INVENTORY, LLSelectNode::saveTextures(), SELECT_MAX_TES, LLToolPie::selectionPropertiesReceived(), LLMenuGL::setItemEnabled(), TRUE, LLAggregatePermissions::unpackMessage(), LLCategory::unpackMultiMessage(), LLSaleInfo::unpackMultiMessage(), and UUID_BYTES.
Referenced by register_viewer_callbacks().
void LLSelectMgr::processObjectPropertiesFamily | ( | LLMessageSystem * | mesgsys, | |
void ** | user_data | |||
) | [static] |
Definition at line 4396 of file llselectmgr.cpp.
References _PREHASH_BaseMask, _PREHASH_Description, _PREHASH_EveryoneMask, _PREHASH_GroupID, _PREHASH_GroupMask, _PREHASH_LastOwnerID, _PREHASH_Name, _PREHASH_NextOwnerMask, _PREHASH_ObjectData, _PREHASH_ObjectID, _PREHASH_OwnerID, _PREHASH_OwnerMask, _PREHASH_RequestFlags, LLMuteList::AR_MONEY, LLMuteList::autoRemove(), BUG_REPORT, BUG_REPORT_REQUEST, COMPLAINT_REPORT, COMPLAINT_REPORT_REQUEST, DB_INV_ITEM_DESC_BUF_SIZE, DB_INV_ITEM_NAME_BUF_SIZE, dialog_refresh_all(), gCacheName, LLCacheName::getFullName(), getHoverObjects(), LLSingleton< LLSelectMgr >::getInstance(), LLMuteList::getInstance(), LLSelectNode::getObject(), LLFloaterReporter::getReporter(), LLMessageSystem::getStringFast(), LLMessageSystem::getU32Fast(), LLMessageSystem::getUUIDFast(), LLPermissions::init(), LLPermissions::initMasks(), LLSelectNode::mCategory, LLSelectNode::mDescription, LLViewerObject::mID, LLSelectNode::mName, LLSelectNode::mPermissions, LLSelectNode::mSaleInfo, LLSelectNode::mValid, LLUUID::null, OBJECT_PAY_REQUEST, LLFloaterReporter::setPickedObjectProperties(), TRUE, LLCategory::unpackMessage(), and LLSaleInfo::unpackMessage().
Referenced by register_viewer_callbacks().
void LLSelectMgr::processForceObjectSelect | ( | LLMessageSystem * | msg, | |
void ** | ||||
) | [static] |
Definition at line 4478 of file llselectmgr.cpp.
References deselectAll(), LLViewerObjectList::findObject(), LLMessageSystem::getBOOL(), LLSingleton< LLSelectMgr >::getInstance(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getS32(), LLMessageSystem::getSenderIP(), LLMessageSystem::getSenderPort(), LLViewerObjectList::getUUIDFromLocal(), gObjectList, highlightObjectAndFamily(), i, and S32.
Referenced by register_viewer_callbacks().
void LLSelectMgr::requestGodInfo | ( | ) |
LLVector3d LLSelectMgr::getSelectionCenterGlobal | ( | ) | const [inline] |
Definition at line 622 of file llselectmgr.h.
References mSelectionCenterGlobal.
Referenced by confirmDelete(), deselectAllIfTooFar(), LLToolSelect::handleObjectSelection(), LLSelectNode::renderOneSilhouette(), and selectionMove().
void LLSelectMgr::updateSelectionCenter | ( | ) |
Definition at line 5414 of file llselectmgr.cpp.
References LLBBox::addBBoxAgent(), LLVector3d::clearVec(), FALSE, gAgent, gAgentID, LLEditMenuHandler::gEditMenuHandler, LLAgent::getAvatarObject(), LLViewerObject::getBoundingBoxAgent(), LLBBox::getCenterAgent(), LLToolMgr::getCurrentTool(), LLTool::getEditingPointGlobal(), LLSingleton< LLToolMgr >::getInstance(), LLSelectNode::getObject(), LLAgent::getPosGlobalFromAgent(), LLViewerObject::getRootEdit(), getSelectTypeForObject(), LLViewerObject::isChild(), LLTool::isEditing(), LLViewerObject::isJointChild(), LLVector3d::magVecSquared(), LLVOAvatar::mHUDCurZoom, LLVOAvatar::mHUDTargetZoom, mLastSentSelectionCenterGlobal, mPauseRequest, mSelectedObjects, mSelectionBBox, mSelectionCenterGlobal, mShowSelection, LLUUID::null, NULL, overrideObjectUpdates(), LLCharacter::requestPause(), resetAgentHUDZoom(), SELECT_TYPE_ATTACHMENT, SELECT_TYPE_HUD, SELECT_TYPE_WORLD, and TRUE.
Referenced by addAsIndividual(), LLVOAvatar::attachObject(), deselectObjectAndFamily(), deselectObjectOnly(), LLManipScale::drag(), LLManipRotate::drag(), LLManipTranslate::handleHover(), LLToolGrab::handleHoverActive(), LLManipTranslate::handleMouseDownOnPart(), LLManipRotate::handleMouseUp(), LLToolGrab::handleObjectHit(), LLToolGrab::onMouseCaptureLost(), LLViewerObject::processUpdateMessage(), remove(), removeAll(), selectHighlightedObjects(), selectionMove(), selectObjectAndFamily(), selectObjectOnly(), LLPanelObject::sendPosition(), setGridMode(), and LLAgent::setRegion().
void LLSelectMgr::resetAgentHUDZoom | ( | ) |
Definition at line 5736 of file llselectmgr.cpp.
References gAgent, LLAgent::getAvatarObject(), LLVOAvatar::mHUDCurZoom, and LLVOAvatar::mHUDTargetZoom.
Referenced by updateSelectionCenter().
Definition at line 5754 of file llselectmgr.cpp.
References gAgent, LLAgent::getAvatarObject(), LLVOAvatar::mHUDCurZoom, and LLVOAvatar::mHUDTargetZoom.
Referenced by LLToolSelect::handleObjectSelection().
Definition at line 5745 of file llselectmgr.cpp.
References gAgent, LLAgent::getAvatarObject(), LLVOAvatar::mHUDCurZoom, and LLVOAvatar::mHUDTargetZoom.
Referenced by LLToolSelect::handleObjectSelection().
void LLSelectMgr::updatePointAt | ( | ) |
Definition at line 5529 of file llselectmgr.cpp.
References LLViewerObjectList::findObject(), gAgent, LLViewerObject::getRenderRotation(), gObjectList, LLViewerObject::isSelected(), LOOKAT_TARGET_CLEAR, LOOKAT_TARGET_SELECT, mSelectedObjects, mShowSelection, POINTAT_TARGET_CLEAR, POINTAT_TARGET_SELECT, LLVector3::rotVec(), LLAgent::setLookAt(), LLAgent::setPointAt(), and LLVector3::setVec().
Referenced by LLVOAvatar::attachObject(), deselectAll(), deselectAllForStandingUp(), deselectObjectAndFamily(), deselectObjectOnly(), selectHighlightedObjects(), selectObjectAndFamily(), and selectObjectOnly().
void LLSelectMgr::remove | ( | std::vector< LLViewerObject * > & | objects | ) |
Definition at line 1130 of file llselectmgr.cpp.
References dialog_refresh_all(), FALSE, mSelectedObjects, NULL, LLViewerObject::setSelected(), and updateSelectionCenter().
Referenced by LLObjectBridge::performAction(), LLToolFace::pickCallback(), and remove_inventory_category_from_avatar_step2().
void LLSelectMgr::remove | ( | LLViewerObject * | object, | |
S32 | te = SELECT_ALL_TES , |
|||
BOOL | undoable = TRUE | |||
) |
Definition at line 1152 of file llselectmgr.cpp.
References dialog_refresh_all(), FALSE, LLPrimitive::getNumTEs(), LLSelectNode::getObject(), i, LLSelectNode::isTESelected(), llendl, llerrs, mSelectedObjects, NULL, S32, SELECT_ALL_TES, SELECT_MAX_TES, LLSelectNode::selectTE(), LLViewerObject::setSelected(), and updateSelectionCenter().
void LLSelectMgr::removeAll | ( | ) |
Definition at line 1212 of file llselectmgr.cpp.
References dialog_refresh_all(), FALSE, mSelectedObjects, LLViewerObject::setSelected(), and updateSelectionCenter().
Referenced by deselectAll(), and deselectAllForStandingUp().
void LLSelectMgr::addAsIndividual | ( | LLViewerObject * | object, | |
S32 | te = SELECT_ALL_TES , |
|||
BOOL | undoable = TRUE | |||
) |
Definition at line 723 of file llselectmgr.cpp.
References dialog_refresh_all(), FALSE, LLPrimitive::getNumTEs(), LLSelectNode::getObject(), llassert_always, llendl, llerrs, LLSelectNode::mIndividualSelection, mSelectedObjects, saveSelectedObjectTransform(), SELECT_ACTION_TYPE_PICK, SELECT_ALL_TES, SELECT_MAX_TES, LLSelectNode::selectAllTEs(), LLSelectNode::selectTE(), LLViewerObject::setSelected(), LLSelectNode::setTransient(), TRUE, and updateSelectionCenter().
Referenced by LLPreview::onCommit(), LLToolFace::pickCallback(), LLObjectBridge::renameItem(), and selectObjectOnly().
void LLSelectMgr::promoteSelectionToRoot | ( | ) |
Definition at line 1230 of file llselectmgr.cpp.
References deselectAll(), FALSE, LLSelectNode::getObject(), LLXform::getParent(), getSelection(), LLViewerObject::isJointChild(), LLXform::isRootEdit(), LLSelectNode::mIndividualSelection, selectObjectAndFamily(), and TRUE.
Referenced by commit_select_component(), LLToolsEditLinkedParts::handleEvent(), LLToolComposite::handleSelect(), LLFloaterTools::onClose(), and selectObjectAndFamily().
void LLSelectMgr::demoteSelectionToIndividuals | ( | ) |
Definition at line 1272 of file llselectmgr.cpp.
References deselectAll(), LLDynamicArray< Type, BlockSize >::getLength(), getSelection(), and selectObjectOnly().
Referenced by commit_select_component(), and LLToolsEditLinkedParts::handleEvent().
void LLSelectMgr::convertTransient | ( | ) | [private] |
Definition at line 3397 of file llselectmgr.cpp.
References FALSE, mSelectedObjects, and LLSelectNode::setTransient().
Referenced by getEditSelection(), and selectDelete().
ESelectType LLSelectMgr::getSelectTypeForObject | ( | LLViewerObject * | object | ) | [private] |
Definition at line 5659 of file llselectmgr.cpp.
References LLViewerObject::isAttachment(), LLViewerObject::isHUDAttachment(), SELECT_TYPE_ATTACHMENT, SELECT_TYPE_HUD, and SELECT_TYPE_WORLD.
Referenced by canSelectObject(), getGrid(), selectHighlightedObjects(), and updateSelectionCenter().
void LLSelectMgr::addAsFamily | ( | std::vector< LLViewerObject * > & | objects, | |
BOOL | add_to_end = FALSE | |||
) | [private] |
Definition at line 670 of file llselectmgr.cpp.
References FALSE, gAgentID, gAllowSelectAvatar, LLPrimitive::getNumTEs(), LLViewerObject::isSelected(), LLViewerObject::mID, mSelectedObjects, saveSelectedObjectTransform(), SELECT_ACTION_TYPE_PICK, LLSelectNode::selectAllTEs(), LLViewerObject::setSelected(), LLSelectNode::setTransient(), and TRUE.
Referenced by selectObjectAndFamily().
void LLSelectMgr::generateSilhouette | ( | LLSelectNode * | nodep, | |
const LLVector3 & | view_point | |||
) | [private] |
Definition at line 4906 of file llselectmgr.cpp.
References LLSelectNode::getObject(), LLPrimitive::getPCode(), and LL_PCODE_VOLUME.
Referenced by updateSilhouettes().
void LLSelectMgr::sendListToRegions | ( | const LLString & | message_name, | |
void(*)(void *user_data) | pack_header, | |||
void(*)(LLSelectNode *node, void *user_data) | pack_body, | |||
void * | user_data, | |||
ESendType | send_type | |||
) | [private] |
Definition at line 4034 of file llselectmgr.cpp.
References LLMessageSystem::clearMessage(), LLMessageSystem::getCurrentSendTotal(), LLViewerRegion::getHost(), LLSelectNode::getObject(), LLViewerObject::getRegion(), getSelection(), gMessageSystem, LLXform::isRootEdit(), LLMessageSystem::isSendFull(), llendl, llerrs, MAX_OBJECTS_PER_PACKET, LLSelectNode::mLastPositionLocal, LLSelectNode::mLastRotation, LLSelectNode::mLastScale, n, LLMessageSystem::newMessage(), NULL, S32, SEND_CHILDREN_FIRST, SEND_INDIVIDUALS, SEND_ONLY_ROOTS, SEND_ROOTS_FIRST, LLMessageSystem::sendReliable(), and LLVector3::setVec().
Referenced by confirmDelete(), deselectAll(), deselectAllForStandingUp(), redo(), repeatDuplicate(), selectDuplicate(), selectDuplicateOnRay(), selectForceDelete(), selectionSetClickAction(), selectionSetIncludeInSearch(), selectionSetObjectCategory(), selectionSetObjectDescription(), selectionSetObjectName(), selectionSetObjectPermissions(), selectionSetObjectSaleInfo(), sendAttach(), sendBuy(), sendDelink(), sendDetach(), sendDropAttachment(), sendGodlikeRequest(), sendGroup(), sendLink(), sendMultipleUpdate(), sendOwner(), sendSelect(), and undo().
void LLSelectMgr::packAgentID | ( | void * | user_data | ) | [static, private] |
Definition at line 3844 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), gMessageSystem, and LLMessageSystem::nextBlockFast().
void LLSelectMgr::packAgentAndSessionID | ( | void * | user_data | ) | [static, private] |
Definition at line 3851 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by deselectAll(), deselectAllForStandingUp(), selectionSetClickAction(), selectionSetIncludeInSearch(), selectionSetObjectCategory(), selectionSetObjectDescription(), selectionSetObjectName(), selectionSetObjectSaleInfo(), sendDelink(), sendDetach(), sendDropAttachment(), sendLink(), sendMultipleUpdate(), sendSelect(), and sendSelectionMove().
void LLSelectMgr::packAgentAndGroupID | ( | void * | user_data | ) | [static, private] |
Definition at line 3859 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupID, LLMessageSystem::addUUIDFast(), gMessageSystem, LLOwnerData::group_id, LLMessageSystem::nextBlockFast(), and LLOwnerData::owner_id.
void LLSelectMgr::packAgentAndSessionAndGroupID | ( | void * | user_data | ) | [static, private] |
Definition at line 3869 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by packDuplicateHeader(), redo(), sendGroup(), and undo().
void LLSelectMgr::packAgentIDAndSessionAndAttachment | ( | void * | user_data | ) | [static, private] |
Definition at line 3834 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_AttachmentPoint, _PREHASH_SessionID, LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by sendAttach().
void LLSelectMgr::packAgentGroupAndCatID | ( | void * | user_data | ) | [static, private] |
Definition at line 3903 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_CategoryID, _PREHASH_GroupID, _PREHASH_SessionID, LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getGroupID(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLBuyData::mCategoryID, and LLMessageSystem::nextBlockFast().
Referenced by sendBuy().
void LLSelectMgr::packDeleteHeader | ( | void * | userdata | ) | [static, private] |
Definition at line 3892 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Force, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by selectForceDelete().
void LLSelectMgr::packDeRezHeader | ( | void * | user_data | ) | [static, private] |
Definition at line 3914 of file llselectmgr.cpp.
References _PREHASH_AgentBlock, _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_Destination, _PREHASH_DestinationID, _PREHASH_GroupID, _PREHASH_PacketCount, _PREHASH_PacketNumber, _PREHASH_SessionID, _PREHASH_TransactionID, LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLUUID::generate(), LLAgent::getGroupID(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLDeRezInfo::mDestination, LLDeRezInfo::mDestinationID, and LLMessageSystem::nextBlockFast().
Referenced by confirmDelete().
void LLSelectMgr::packObjectID | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3933 of file llselectmgr.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectID, LLMessageSystem::addUUIDFast(), LLSelectNode::getObject(), gMessageSystem, LLViewerObject::mID, and LLMessageSystem::nextBlockFast().
Referenced by redo(), and undo().
void LLSelectMgr::packObjectIDAsParam | ( | LLSelectNode * | node, | |
void * | ||||
) | [static, private] |
Definition at line 2010 of file llselectmgr.cpp.
References LLMessageSystem::addString(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, MAX_STRING, and LLMessageSystem::nextBlock().
Referenced by sendGodlikeRequest().
void LLSelectMgr::packObjectIDAndRotation | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3939 of file llselectmgr.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_Rotation, LLMessageSystem::addQuatFast(), LLMessageSystem::addU32Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), LLXform::getRotation(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by sendAttach().
void LLSelectMgr::packObjectLocalID | ( | LLSelectNode * | node, | |
void * | ||||
) | [static, private] |
Definition at line 3961 of file llselectmgr.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectLocalID, LLMessageSystem::addU32Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by confirmDelete(), deselectAll(), deselectAllForStandingUp(), selectDuplicateOnRay(), selectForceDelete(), sendDelink(), sendDetach(), sendDropAttachment(), sendGroup(), sendLink(), sendOwner(), and sendSelect().
void LLSelectMgr::packObjectClickAction | ( | LLSelectNode * | node, | |
void * | data | |||
) | [static, private] |
Definition at line 3946 of file llselectmgr.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectLocalID, LLMessageSystem::addU32Fast(), LLMessageSystem::addU8(), LLViewerObject::getClickAction(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by selectionSetClickAction().
void LLSelectMgr::packObjectIncludeInSearch | ( | LLSelectNode * | node, | |
void * | data | |||
) | [static, private] |
Definition at line 3953 of file llselectmgr.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectLocalID, LLMessageSystem::addBOOL(), LLMessageSystem::addU32Fast(), LLViewerObject::getIncludeInSearch(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by selectionSetIncludeInSearch().
void LLSelectMgr::packObjectName | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3968 of file llselectmgr.cpp.
References _PREHASH_LocalID, _PREHASH_Name, _PREHASH_ObjectData, LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by selectionSetObjectName().
void LLSelectMgr::packObjectDescription | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3978 of file llselectmgr.cpp.
References _PREHASH_Description, _PREHASH_LocalID, _PREHASH_ObjectData, LLMessageSystem::addStringFast(), LLMessageSystem::addU32Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by selectionSetObjectDescription().
void LLSelectMgr::packObjectCategory | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3989 of file llselectmgr.cpp.
References _PREHASH_LocalID, _PREHASH_ObjectData, LLMessageSystem::addU32Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, LLMessageSystem::nextBlockFast(), and LLCategory::packMessage().
Referenced by selectionSetObjectCategory().
void LLSelectMgr::packObjectSaleInfo | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3999 of file llselectmgr.cpp.
References _PREHASH_LocalID, _PREHASH_ObjectData, LLMessageSystem::addU32Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, LLMessageSystem::nextBlockFast(), and LLSaleInfo::packMessage().
Referenced by selectionSetObjectSaleInfo().
void LLSelectMgr::packBuyObjectIDs | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3265 of file llselectmgr.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_SalePrice, _PREHASH_SaleType, LLMessageSystem::addS32Fast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), LLSaleInfo::getSalePrice(), LLSaleInfo::getSaleType(), gMessageSystem, LLBuyData::mObjectsSent, LLBuyData::mSaleInfo, and LLMessageSystem::nextBlockFast().
Referenced by sendBuy().
void LLSelectMgr::packDuplicate | ( | LLSelectNode * | node, | |
void * | duplicate_data | |||
) | [static, private] |
Definition at line 3047 of file llselectmgr.cpp.
References _PREHASH_ObjectData, _PREHASH_ObjectLocalID, LLMessageSystem::addU32Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, and LLMessageSystem::nextBlockFast().
Referenced by repeatDuplicate(), and selectDuplicate().
void LLSelectMgr::packDuplicateHeader | ( | void * | data | ) | [static, private] |
Definition at line 3879 of file llselectmgr.cpp.
References _PREHASH_DuplicateFlags, _PREHASH_Offset, _PREHASH_SharedData, LLMessageSystem::addU32Fast(), LLMessageSystem::addVector3Fast(), LLDuplicateData::flags, gAgent, LLAgent::getGroupID(), gMessageSystem, LLMessageSystem::nextBlockFast(), LLDuplicateData::offset, and packAgentAndSessionAndGroupID().
Referenced by repeatDuplicate(), and selectDuplicate().
void LLSelectMgr::packDuplicateOnRayHead | ( | void * | user_data | ) | [static, private] |
Definition at line 3110 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_BypassRaycast, _PREHASH_CopyCenters, _PREHASH_CopyRotates, _PREHASH_DuplicateFlags, _PREHASH_GroupID, _PREHASH_RayEnd, _PREHASH_RayEndIsIntersection, _PREHASH_RayStart, _PREHASH_RayTargetID, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addUUIDFast(), LLMessageSystem::addVector3Fast(), gAgent, LLAgent::getGroupID(), LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLDuplicateOnRayData::mBypassRaycast, LLDuplicateOnRayData::mCopyCenters, LLDuplicateOnRayData::mCopyRotates, LLDuplicateOnRayData::mFlags, LLDuplicateOnRayData::mRayEndIsIntersection, LLDuplicateOnRayData::mRayEndRegion, LLDuplicateOnRayData::mRayStartRegion, LLDuplicateOnRayData::mRayTargetID, and LLMessageSystem::nextBlockFast().
Referenced by selectDuplicateOnRay().
void LLSelectMgr::packPermissions | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 4019 of file llselectmgr.cpp.
References _PREHASH_Field, _PREHASH_Mask, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_Set, LLMessageSystem::addBOOLFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), gMessageSystem, LLPermData::mField, LLPermData::mMask, LLPermData::mSet, and LLMessageSystem::nextBlockFast().
Referenced by selectionSetObjectPermissions().
static void LLSelectMgr::packDeselect | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
void LLSelectMgr::packMultipleUpdate | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 3155 of file llselectmgr.cpp.
References _PREHASH_Data, _PREHASH_ObjectData, _PREHASH_ObjectLocalID, _PREHASH_Type, LLMessageSystem::addBinaryDataFast(), LLMessageSystem::addU32Fast(), LLMessageSystem::addU8Fast(), LLViewerObject::getLocalID(), LLSelectNode::getObject(), LLXform::getPosition(), LLXform::getScale(), gMessageSystem, htonmemcpy(), LLVector3::mV, MVT_LLQuaternion, MVT_LLVector3, LLMessageSystem::nextBlockFast(), LLQuaternion::packToVector3(), S32, UPD_POSITION, UPD_ROTATION, and UPD_SCALE.
Referenced by sendMultipleUpdate(), and sendSelectionMove().
void LLSelectMgr::packPhysics | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 4009 of file llselectmgr.cpp.
void LLSelectMgr::packShape | ( | LLSelectNode * | node, | |
void * | user_data | |||
) | [static, private] |
Definition at line 4014 of file llselectmgr.cpp.
void LLSelectMgr::packOwnerHead | ( | void * | user_data | ) | [static, private] |
Definition at line 3217 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_GroupID, _PREHASH_HeaderData, _PREHASH_Override, _PREHASH_OwnerID, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLOwnerData::group_id, LLMessageSystem::nextBlockFast(), LLOwnerData::override, and LLOwnerData::owner_id.
Referenced by sendOwner().
void LLSelectMgr::packHingeHead | ( | void * | user_data | ) | [static, private] |
Definition at line 3662 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_JointType, _PREHASH_SessionID, _PREHASH_Type, LLMessageSystem::addU8Fast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, and LLMessageSystem::nextBlockFast().
void LLSelectMgr::packPermissionsHead | ( | void * | user_data | ) | [static, private] |
Definition at line 3308 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_HeaderData, _PREHASH_Override, _PREHASH_SessionID, LLMessageSystem::addBOOLFast(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLPermData::mOverride, and LLMessageSystem::nextBlockFast().
Referenced by selectionSetObjectPermissions().
void LLSelectMgr::packGodlikeHead | ( | void * | user_data | ) | [static, private] |
Definition at line 1985 of file llselectmgr.cpp.
References _PREHASH_AgentData, _PREHASH_AgentID, _PREHASH_SessionID, LLMessageSystem::addString(), LLMessageSystem::addUUID(), LLMessageSystem::addUUIDFast(), gAgent, LLAgent::getID(), LLAgent::getSessionID(), gMessageSystem, LLMessageSystem::nextBlock(), LLMessageSystem::nextBlockFast(), and LLUUID::null.
Referenced by sendGodlikeRequest().
void LLSelectMgr::confirmDelete | ( | S32 | option, | |
void * | data | |||
) | [static, private] |
Definition at line 2766 of file llselectmgr.cpp.
References LLAssetType::AT_TRASH, LLHUDManager::createViewerEffect(), DRD_TRASH, LLInventoryModel::findCategoryUUIDForType(), gAgent, LLAgent::getEffectColor(), LLSingleton< LLViewerStats >::getInstance(), LLSingleton< LLHUDManager >::getInstance(), LLSingleton< LLSelectMgr >::getInstance(), getSelectionCenterGlobal(), LLViewerStats::getStat(), gInventory, indra::ipc::xml_rpc::handle(), LLHUDObject::LL_HUD_EFFECT_POINT, llendl, llwarns, LOOKAT_TARGET_CLEAR, mSelectedObjects, packDeRezHeader(), packObjectLocalID(), SELECT_TYPE_HUD, SEND_ONLY_ROOTS, sendListToRegions(), LLHUDEffect::setColor(), LLHUDEffect::setDuration(), LLAgent::setLookAt(), LLHUDObject::setPositionGlobal(), LLViewerStats::setStat(), LLViewerStats::ST_OBJECT_DELETE_COUNT, and TRUE.
Referenced by selectDelete().
BOOL LLSelectMgr::sRectSelectInclusive = TRUE [static] |
Definition at line 339 of file llselectmgr.h.
Referenced by LLToolsSelectBySurrounding::handleEvent(), LLToolSelectRect::handleRectangleSelection(), and settings_to_globals().
BOOL LLSelectMgr::sRenderHiddenSelections = TRUE [static] |
Definition at line 340 of file llselectmgr.h.
Referenced by LLToolsShowHiddenSelection::handleEvent(), LLSelectNode::renderOneSilhouette(), LLViewerParcelOverlay::renderPropertyLines(), renderSilhouettes(), and settings_to_globals().
BOOL LLSelectMgr::sRenderLightRadius = FALSE [static] |
Definition at line 341 of file llselectmgr.h.
Referenced by LLToolsShowSelectionLightRadius::handleEvent(), LLSelectMgr(), LLViewerWindow::renderSelections(), and settings_to_globals().
F32 LLSelectMgr::sHighlightThickness = 0.f [static] |
Definition at line 342 of file llselectmgr.h.
Referenced by LLSelectMgr(), and LLSelectNode::renderOneSilhouette().
F32 LLSelectMgr::sHighlightUScale = 0.f [static] |
Definition at line 343 of file llselectmgr.h.
Referenced by LLSelectMgr(), and LLSelectNode::renderOneSilhouette().
F32 LLSelectMgr::sHighlightVScale = 0.f [static] |
Definition at line 344 of file llselectmgr.h.
Referenced by LLSelectMgr(), and LLSelectNode::renderOneSilhouette().
F32 LLSelectMgr::sHighlightAlpha = 0.f [static] |
Definition at line 345 of file llselectmgr.h.
Referenced by LLSelectMgr(), and LLSelectNode::renderOneSilhouette().
F32 LLSelectMgr::sHighlightAlphaTest = 0.f [static] |
F32 LLSelectMgr::sHighlightUAnim = 0.f [static] |
Definition at line 347 of file llselectmgr.h.
Referenced by LLSelectMgr(), and LLSelectNode::renderOneSilhouette().
F32 LLSelectMgr::sHighlightVAnim = 0.f [static] |
Definition at line 348 of file llselectmgr.h.
Referenced by LLSelectMgr(), and LLSelectNode::renderOneSilhouette().
LLPointer<LLViewerImage> LLSelectMgr::mSilhouetteImagep [private] |
Definition at line 685 of file llselectmgr.h.
Referenced by cleanup(), renderSilhouettes(), and updateSilhouettes().
Definition at line 686 of file llselectmgr.h.
Referenced by addAsFamily(), addAsIndividual(), canDeselect(), canDoDelete(), canDuplicate(), canRedo(), canSelectObject(), canUndo(), clearSelections(), confirmDelete(), convertTransient(), deselectAll(), deselectAllForStandingUp(), deselectAllIfTooFar(), deselectUnused(), dump(), getEditSelection(), getGrid(), getSelection(), LLSelectMgr(), remove(), removeAll(), renderSilhouettes(), repeatDuplicate(), saveSelectedObjectTransform(), selectDuplicate(), selectDuplicateOnRay(), selectGetOwnershipCost(), selectHighlightedObjects(), selectionGetClickAction(), selectionGetGlow(), selectionGetIncludeInSearch(), selectionRevertColors(), selectionRevertTextures(), selectionSetGlow(), selectionSetImage(), selectionSetObjectCategory(), selectionSetObjectDescription(), selectionSetObjectName(), selectionSetObjectSaleInfo(), selectObjectAndFamily(), selectObjectOnly(), sendAttach(), sendDelink(), sendDetach(), sendDropAttachment(), sendGodlikeRequest(), sendLink(), sendSelect(), sendSelectionMove(), update(), updateEffects(), updatePointAt(), updateSelectionCenter(), and updateSilhouettes().
Definition at line 687 of file llselectmgr.h.
Referenced by clearSelections(), getHoverObjects(), LLSelectMgr(), and setHoverObject().
Definition at line 688 of file llselectmgr.h.
Referenced by clearSelections(), dump(), getHighlightedObjects(), LLSelectMgr(), renderSilhouettes(), selectHighlightedObjects(), unhighlightAll(), and updateSilhouettes().
std::set<LLPointer<LLViewerObject> > LLSelectMgr::mRectSelectedObjects [private] |
Definition at line 689 of file llselectmgr.h.
Referenced by clearSelections(), deselectHighlightedObjects(), highlightObjectAndFamily(), highlightObjectOnly(), unhighlightAll(), unhighlightObjectOnly(), and updateSilhouettes().
LLObjectSelection LLSelectMgr::mGridObjects [private] |
Definition at line 691 of file llselectmgr.h.
Referenced by addGridObject(), clearGridObjects(), clearSelections(), getGrid(), and updateEffects().
LLQuaternion LLSelectMgr::mGridRotation [private] |
LLVector3 LLSelectMgr::mGridOrigin [private] |
LLVector3 LLSelectMgr::mGridScale [private] |
EGridMode LLSelectMgr::mGridMode [private] |
Definition at line 695 of file llselectmgr.h.
Referenced by getGrid(), getGridMode(), LLSelectMgr(), and setGridMode().
BOOL LLSelectMgr::mGridValid [private] |
Definition at line 696 of file llselectmgr.h.
Referenced by getGrid(), LLSelectMgr(), and setGridMode().
BOOL LLSelectMgr::mTEMode [private] |
Definition at line 699 of file llselectmgr.h.
Referenced by dump(), getTEMode(), LLSelectMgr(), and setTEMode().
Definition at line 700 of file llselectmgr.h.
Referenced by dump(), getSelectionCenterGlobal(), and updateSelectionCenter().
LLBBox LLSelectMgr::mSelectionBBox [private] |
Definition at line 701 of file llselectmgr.h.
Referenced by getBBoxOfSelection(), and updateSelectionCenter().
Definition at line 703 of file llselectmgr.h.
Referenced by deselectAll(), deselectAllForStandingUp(), and updateSelectionCenter().
BOOL LLSelectMgr::mShowSelection [private] |
Definition at line 704 of file llselectmgr.h.
Referenced by shouldShowSelection(), updatePointAt(), and updateSelectionCenter().
LLVector3d LLSelectMgr::mLastCameraPos [private] |
BOOL LLSelectMgr::mRenderSilhouettes [private] |
Definition at line 706 of file llselectmgr.h.
Referenced by enableSilhouette(), LLSelectMgr(), and renderSilhouettes().
LLBBox LLSelectMgr::mSavedSelectionBBox [private] |
Definition at line 707 of file llselectmgr.h.
Referenced by getGrid(), getSavedBBoxOfSelection(), and saveSelectedObjectTransform().
LLFrameTimer LLSelectMgr::mEffectsTimer [private] |
BOOL LLSelectMgr::mForceSelection [private] |
Definition at line 710 of file llselectmgr.h.
Referenced by canSelectObject(), and setForceSelection().
LLAnimPauseRequest LLSelectMgr::mPauseRequest [private] |