#include <llselectmgr.h>
Definition at line 129 of file llselectmgr.h.
LLSelectNode::LLSelectNode | ( | LLViewerObject * | object, | |
BOOL | do_glow | |||
) |
Definition at line 4919 of file llselectmgr.cpp.
References FALSE, mDescription, mDuplicated, mIndividualSelection, mInventorySerial, mName, mObject, mPermissions, mSilhouetteExists, mSitName, mTouchName, mTransient, mValid, LLStringBase< char >::null, saveColors(), and selectAllTEs().
LLSelectNode::LLSelectNode | ( | const LLSelectNode & | nodep | ) |
Definition at line 4938 of file llselectmgr.cpp.
References i, mAggregatePerm, mAggregateTexturePerm, mAggregateTexturePermOwner, mCategory, mDescription, mDuplicated, mDuplicatePos, mDuplicateRot, mFolderID, mFromTaskID, mIndividualSelection, mItemID, mLastTESelected, mName, mObject, mPermissions, mSaleInfo, mSavedColors, mSavedPositionGlobal, mSavedPositionLocal, mSavedRotation, mSavedScale, mSavedTextures, mSilhouetteExists, mSilhouetteNormals, mSilhouetteSegments, mSilhouetteVertices, mSitName, mTESelected, mTouchName, mTransient, mValid, S32, saveTextures(), and SELECT_MAX_TES.
LLSelectNode::~LLSelectNode | ( | ) |
void LLSelectNode::selectAllTEs | ( | BOOL | b | ) |
Definition at line 4994 of file llselectmgr.cpp.
References i, mLastTESelected, mTESelected, S32, and SELECT_MAX_TES.
Referenced by LLSelectMgr::addAsFamily(), LLSelectMgr::addAsIndividual(), LLSelectNode(), and LLSelectMgr::updateSilhouettes().
Definition at line 5003 of file llselectmgr.cpp.
References mLastTESelected, mTESelected, and SELECT_MAX_TES.
Referenced by LLSelectMgr::addAsIndividual(), and LLSelectMgr::remove().
Definition at line 5013 of file llselectmgr.cpp.
References FALSE, mObject, and mTESelected.
Referenced by LLObjectSelection::applyToTEs(), LLObjectSelection::contains(), LLSelectMgr::dump(), getLastSelectedTE(), LLObjectSelection::getSelectedTEValue(), LLObjectSelection::getTECount(), handle_selected_texture_info(), and LLSelectMgr::remove().
S32 LLSelectNode::getLastSelectedTE | ( | ) |
Definition at line 5022 of file llselectmgr.cpp.
References isTESelected(), and mLastTESelected.
Referenced by LLObjectSelection::getSelectedTEValue().
void LLSelectNode::renderOneSilhouette | ( | const LLColor4 & | color | ) |
Definition at line 5206 of file llselectmgr.cpp.
References LLGLImmediate::begin(), LLGLImmediate::blendFunc(), LLGLImmediate::color4f(), d, LLGLImmediate::end(), LLGLImmediate::flush(), gAgent, LLAgent::getAvatarObject(), LLSelectMgr::getBBoxOfSelection(), LLAgent::getCameraPositionGlobal(), LLViewerCamera::getDefaultFOV(), LLFrameTimer::getElapsedSeconds(), LLBBox::getExtentLocal(), LLSingleton< LLSelectMgr >::getInstance(), LLSingleton< LLViewerCamera >::getInstance(), getObject(), LLCoordFrame::getOrigin(), LLViewerCamera::getPointOfInterest(), LLViewerObject::getRenderMatrix(), LLViewerObject::getRenderPosition(), LLSelectMgr::getSelectionCenterGlobal(), LLCamera::getView(), LLPrimitive::getVolume(), gGL, i, LLDrawable::isActive(), LLViewerObject::isHUDAttachment(), LLVertexBuffer::LINES, llclamp(), LLVector3::magVec(), LLViewerObject::mDrawable, LLVOAvatar::mHUDCurZoom, LLMatrix4::mMatrix, mSilhouetteExists, mSilhouetteNormals, mSilhouetteSegments, mSilhouetteVertices, LLVector2::mV, LLVector3::mV, LLColor4::mV, S32, LLSelectMgr::sHighlightAlpha, LLSelectMgr::sHighlightThickness, LLSelectMgr::sHighlightUAnim, LLSelectMgr::sHighlightUScale, LLSelectMgr::sHighlightVAnim, LLSelectMgr::sHighlightVScale, LLSelectMgr::sRenderHiddenSelections, LLGLImmediate::texCoord2f(), LLGLImmediate::texCoord2fv(), LLVertexBuffer::TRIANGLES, VBLUE, LLGLImmediate::vertex3fv(), VGREEN, and VRED.
Referenced by LLSelectMgr::renderSilhouettes().
void LLSelectNode::setTransient | ( | BOOL | transient | ) | [inline] |
Definition at line 141 of file llselectmgr.h.
References mTransient.
Referenced by LLSelectMgr::addAsFamily(), LLSelectMgr::addAsIndividual(), LLSelectMgr::convertTransient(), and LLToolSelect::handleObjectSelection().
BOOL LLSelectNode::isTransient | ( | ) | [inline] |
Definition at line 142 of file llselectmgr.h.
References mTransient.
Referenced by LLSelectMgr::renderSilhouettes().
LLViewerObject * LLSelectNode::getObject | ( | ) |
Definition at line 5031 of file llselectmgr.cpp.
Referenced by LLSelectMgr::addAsIndividual(), LLObjectSelection::addNode(), LLObjectSelection::addNodeAtEnd(), LLSelectMgr::adjustTexturesByScale(), LLObjectSelection::cleanupNodes(), LLObjectSelection::contains(), derez_objects(), LLManipScale::drag(), LLManipRotate::drag(), LLManipScale::dragCorner(), LLSelectMgr::dump(), enable_buy(), enable_save_into_inventory(), enable_save_into_task_inventory(), enable_take(), LLSelectMgr::findObjectPermissions(), LLSelectMgr::generateSilhouette(), LLObjectSelection::getFirstCopyableObject(), LLObjectSelection::getFirstDeleteableObject(), LLObjectSelection::getFirstEditableObject(), LLObjectSelection::getFirstMoveableNode(), LLObjectSelection::getFirstMoveableObject(), LLObjectSelection::getFirstObject(), LLObjectSelection::getFirstRootObject(), LLObjectSelection::getFirstSelectedObject(), LLObjectSelection::getSelectedTEValue(), LLObjectSelection::getTECount(), handle_export_selected(), handle_selected_texture_info(), handle_take(), LLToolsSnapObjectXY::handleEvent(), LLManipTranslate::handleHover(), LLManipTranslate::handleMouseDownOnPart(), is_selection_buy_not_take(), LLFloaterOpenObject::moveToInventory(), object_selected_and_point_valid(), LLFloaterInspect::onClickCreatorProfile(), LLFloaterInspect::onClickOwnerProfile(), LLPanelFace::onDragTexture(), LLObjectSelection::is_root_object::operator()(), LLObjectSelection::is_valid_root::operator()(), LLObjectSelection::is_root::operator()(), LLObjectSelection::is_valid::operator()(), LLObjectSelection::is_non_null::operator()(), LLSelectMgr::overrideObjectUpdates(), LLSelectMgr::packBuyObjectIDs(), LLSelectMgr::packDuplicate(), LLSelectMgr::packMultipleUpdate(), LLSelectMgr::packObjectCategory(), LLSelectMgr::packObjectClickAction(), LLSelectMgr::packObjectDescription(), LLSelectMgr::packObjectID(), LLSelectMgr::packObjectIDAndRotation(), LLSelectMgr::packObjectIDAsParam(), LLSelectMgr::packObjectIncludeInSearch(), LLSelectMgr::packObjectLocalID(), LLSelectMgr::packObjectName(), LLSelectMgr::packObjectSaleInfo(), LLSelectMgr::packPermissions(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLSelectMgr::promoteSelectionToRoot(), LLPanelPermissions::refresh(), LLPanelInventory::refresh(), LLFloaterInspect::refresh(), LLSelectMgr::remove(), LLObjectSelection::removeNode(), renderOneSilhouette(), LLViewerWindow::renderSelections(), LLSelectMgr::renderSilhouettes(), LLManipTranslate::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLSelectMgr::repeatDuplicate(), LLSelectMgr::saveSelectedObjectTransform(), LLSelectMgr::selectDuplicate(), LLSelectMgr::selectGetAggregateTexturePermissions(), LLSelectMgr::selectGetModify(), LLSelectMgr::selectGetRootsCopy(), LLSelectMgr::selectGetRootsModify(), LLSelectMgr::selectGetRootsTransfer(), LLSelectMgr::selectHighlightedObjects(), selection_price(), LLSelectMgr::sendListToRegions(), LLSelectMgr::sendSelectionMove(), sitting_on_selection(), LLManipScale::stretchFace(), LLSelectMgr::updateSelectionCenter(), and LLSelectMgr::updateSilhouettes().
void LLSelectNode::setObject | ( | LLViewerObject * | object | ) |
Definition at line 5044 of file llselectmgr.cpp.
References mObject.
Referenced by LLObjectSelection::removeNode().
void LLSelectNode::saveColors | ( | ) |
Definition at line 5049 of file llselectmgr.cpp.
References LLTextureEntry::getColor(), i, mObject, mSavedColors, LLPointer< Type >::notNull(), and S32.
Referenced by LLSelectNode(), and LLSelectMgr::saveSelectedObjectColors().
void LLSelectNode::saveTextures | ( | const std::vector< LLUUID > & | textures | ) |
Definition at line 5062 of file llselectmgr.cpp.
References mObject, mSavedTextures, and LLPointer< Type >::notNull().
Referenced by LLSelectNode(), and LLSelectMgr::processObjectProperties().
void LLSelectNode::saveTextureScaleRatios | ( | ) |
Definition at line 5076 of file llselectmgr.cpp.
References LLTextureEntry::getScale(), LLPrimitive::getTESTAxes(), LLTextureEntry::getTexGen(), i, mObject, mTextureScaleRatios, LLVector3::mV, LLPointer< Type >::notNull(), and LLTextureEntry::TEX_GEN_PLANAR.
Referenced by LLSelectMgr::saveSelectedObjectTransform().
BOOL LLSelectNode::allowOperationOnNode | ( | PermissionBit | op, | |
U64 | group_proxy_power | |||
) | const |
Definition at line 5112 of file llselectmgr.cpp.
References LLPermissions::allowOperationBy(), LLPermissions::allowTransferTo(), FALSE, gAgent, LLPermissions::getGroup(), LLAgent::getID(), LLPermissions::getOwnership(), LLAgent::hasPowerInGroup(), LLAgent::isGodlike(), LLAgent::isGrantedProxy(), LLAgent::isInGroup(), LLPermissions::isOwned(), mObject, mPermissions, LLUUID::notNull(), LLUUID::null, PERM_COPY, PERM_MODIFY, PERM_MOVE, PERM_OWNER, PERM_TRANSFER, and TRUE.
Referenced by derez_objects().
Definition at line 153 of file llselectmgr.h.
Referenced by LLSelectMgr::addAsIndividual(), LLManipRotate::drag(), LLManipScale::dragCorner(), LLViewerObjectList::findOrphans(), LLManipTranslate::handleHover(), LLSelectNode(), LLObjectSelection::is_valid_root::operator()(), LLObjectSelection::is_root::operator()(), LLSelectMgr::promoteSelectionToRoot(), LLManipScale::stretchFace(), and LLSelectMgr::updateSilhouettes().
Definition at line 155 of file llselectmgr.h.
Referenced by isTransient(), LLSelectNode(), and setTransient().
Definition at line 156 of file llselectmgr.h.
Referenced by enable_save_into_inventory(), enable_save_into_task_inventory(), LLObjectEnableSitOrStand::handleEvent(), LLToolsSaveToObjectInventory::handleEvent(), LLObjectEnableTouch::handleEvent(), LLSelectNode(), LLObjectSelection::is_valid_root::operator()(), LLObjectSelection::is_valid::operator()(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLPanelInventory::refresh(), LLSelectMgr::saveSelectedObjectTextures(), LLSelectMgr::selectGetAggregatePermissions(), LLSelectMgr::selectGetAggregateTexturePermissions(), LLSelectMgr::selectGetAllRootsValid(), LLSelectMgr::selectGetAllValid(), LLSelectMgr::selectGetCreator(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectGetLastOwner(), LLSelectMgr::selectGetModify(), LLSelectMgr::selectGetOwner(), LLSelectMgr::selectGetPerm(), LLSelectMgr::selectGetPermissions(), LLSelectMgr::selectGetRootsCopy(), LLSelectMgr::selectGetRootsModify(), LLSelectMgr::selectGetRootsTransfer(), LLSelectMgr::selectGetSaleInfo(), LLSelectMgr::selectIsGroupOwned(), sitting_on_selection(), and LLHoverView::updateText().
Definition at line 157 of file llselectmgr.h.
Referenced by allowOperationOnNode(), derez_objects(), enable_buy(), enable_save_into_inventory(), enable_take(), LLSelectMgr::findObjectPermissions(), LLSelectNode(), object_is_wearable(), LLFloaterInspect::onClickOwnerProfile(), LLFloaterPay::payViaObject(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLFloaterInspect::refresh(), LLSelectMgr::selectGetCreator(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectGetLastOwner(), LLSelectMgr::selectGetOwner(), LLSelectMgr::selectGetPerm(), LLSelectMgr::selectGetPermissions(), LLSelectMgr::selectIsGroupOwned(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), LLHoverView::updateText(), and ~LLSelectNode().
Definition at line 158 of file llselectmgr.h.
Referenced by enable_buy(), is_selection_buy_not_take(), LLSelectNode(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLSelectMgr::selectGetSaleInfo(), selection_price(), LLSelectMgr::selectIsForSale(), and LLHoverView::updateText().
Definition at line 159 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), and LLSelectMgr::selectGetAggregatePermissions().
Definition at line 160 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), and LLSelectMgr::selectGetAggregateTexturePermissions().
Definition at line 161 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), and LLSelectMgr::selectGetAggregateTexturePermissions().
Definition at line 162 of file llselectmgr.h.
Referenced by LLFloaterPay::give(), handle_selected_texture_info(), LLObjectMute::handleEvent(), LLSelectNode(), LLFloaterOpenObject::moveToInventory(), LLPanelObjectTools::onClickSetBySelection(), LLFloaterPay::payViaObject(), LLToolPie::pickAndShowMenu(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLPanelPermissions::refresh(), LLFloaterOpenObject::refresh(), LLFloaterInspect::refresh(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), and LLHoverView::updateText().
Definition at line 163 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLPanelPermissions::refresh(), and LLHoverView::updateText().
Definition at line 164 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), and LLSelectMgr::processObjectPropertiesFamily().
Definition at line 165 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), and LLPanelInventory::refresh().
Definition at line 166 of file llselectmgr.h.
Referenced by LLManipRotate::drag(), LLManipScale::dragCorner(), LLManipTranslate::handleHover(), LLSelectNode(), LLSelectMgr::saveSelectedObjectTransform(), and LLManipScale::stretchFace().
Definition at line 167 of file llselectmgr.h.
Referenced by LLManipScale::drag(), LLManipRotate::drag(), LLManipTranslate::handleHover(), LLSelectMgr::overrideObjectUpdates(), and LLSelectMgr::sendListToRegions().
Definition at line 168 of file llselectmgr.h.
Referenced by LLManipRotate::drag(), LLManipScale::dragCorner(), LLManipTranslate::handleHover(), LLSelectNode(), LLManipTranslate::renderSnapGuides(), LLSelectMgr::saveSelectedObjectTransform(), and LLManipScale::stretchFace().
Definition at line 169 of file llselectmgr.h.
Referenced by LLManipScale::dragCorner(), LLSelectNode(), LLSelectMgr::saveSelectedObjectTransform(), and LLManipScale::stretchFace().
Definition at line 170 of file llselectmgr.h.
Referenced by LLManipScale::drag(), LLSelectMgr::overrideObjectUpdates(), and LLSelectMgr::sendListToRegions().
Definition at line 171 of file llselectmgr.h.
Referenced by LLManipRotate::drag(), LLManipRotate::dragConstrained(), LLManipRotate::getObjectAxisClosestToMouse(), LLSelectNode(), and LLSelectMgr::saveSelectedObjectTransform().
Definition at line 172 of file llselectmgr.h.
Referenced by LLManipRotate::drag(), LLSelectMgr::overrideObjectUpdates(), and LLSelectMgr::sendListToRegions().
Definition at line 173 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::repeatDuplicate(), and LLSelectMgr::selectDuplicate().
Definition at line 174 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::repeatDuplicate(), and LLSelectMgr::selectDuplicate().
Definition at line 175 of file llselectmgr.h.
Referenced by LLSelectNode(), LLSelectMgr::repeatDuplicate(), and LLSelectMgr::selectDuplicate().
Definition at line 176 of file llselectmgr.h.
Referenced by enable_save_into_inventory(), LLSelectNode(), and LLSelectMgr::processObjectProperties().
Definition at line 177 of file llselectmgr.h.
Referenced by handle_take(), LLSelectNode(), and LLSelectMgr::processObjectProperties().
Definition at line 178 of file llselectmgr.h.
Referenced by enable_save_into_task_inventory(), LLToolsSaveToObjectInventory::handleEvent(), LLSelectNode(), and LLSelectMgr::processObjectProperties().
Definition at line 179 of file llselectmgr.h.
Referenced by LLObjectEnableTouch::handleEvent(), LLSelectNode(), and LLSelectMgr::processObjectProperties().
Definition at line 180 of file llselectmgr.h.
Referenced by LLObjectEnableSitOrStand::handleEvent(), LLSelectNode(), and LLSelectMgr::processObjectProperties().
Definition at line 181 of file llselectmgr.h.
Referenced by LLSelectMgr::processObjectProperties(), and LLFloaterInspect::refresh().
std::vector<LLColor4> LLSelectNode::mSavedColors |
Definition at line 182 of file llselectmgr.h.
Referenced by LLSelectNode(), saveColors(), and LLSelectMgr::selectionRevertColors().
std::vector<LLUUID> LLSelectNode::mSavedTextures |
Definition at line 183 of file llselectmgr.h.
Referenced by LLSelectNode(), saveTextures(), and LLSelectMgr::selectionRevertTextures().
std::vector<LLVector3> LLSelectNode::mTextureScaleRatios |
Definition at line 184 of file llselectmgr.h.
Referenced by LLSelectMgr::adjustTexturesByScale(), and saveTextureScaleRatios().
std::vector<LLVector3> LLSelectNode::mSilhouetteVertices |
Definition at line 185 of file llselectmgr.h.
Referenced by LLVOVolume::generateSilhouette(), LLSelectNode(), and renderOneSilhouette().
std::vector<LLVector3> LLSelectNode::mSilhouetteNormals |
Definition at line 186 of file llselectmgr.h.
Referenced by LLVOVolume::generateSilhouette(), LLSelectNode(), and renderOneSilhouette().
std::vector<S32> LLSelectNode::mSilhouetteSegments |
Definition at line 187 of file llselectmgr.h.
Referenced by LLVOVolume::generateSilhouette(), LLSelectNode(), and renderOneSilhouette().
Definition at line 188 of file llselectmgr.h.
Referenced by LLVOVolume::generateSilhouette(), LLSelectNode(), renderOneSilhouette(), and LLSelectMgr::updateSilhouettes().
LLPointer<LLViewerObject> LLSelectNode::mObject [protected] |
Definition at line 191 of file llselectmgr.h.
Referenced by allowOperationOnNode(), getObject(), isTESelected(), LLSelectNode(), saveColors(), saveTextures(), saveTextureScaleRatios(), and setObject().
BOOL LLSelectNode::mTESelected[SELECT_MAX_TES] [protected] |
Definition at line 192 of file llselectmgr.h.
Referenced by isTESelected(), LLSelectNode(), selectAllTEs(), and selectTE().
S32 LLSelectNode::mLastTESelected [protected] |
Definition at line 193 of file llselectmgr.h.
Referenced by getLastSelectedTE(), LLSelectNode(), selectAllTEs(), and selectTE().