LLSelectNode Class Reference

#include <llselectmgr.h>

Collaboration diagram for LLSelectNode:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLSelectNode (LLViewerObject *object, BOOL do_glow)
 LLSelectNode (const LLSelectNode &nodep)
 ~LLSelectNode ()
void selectAllTEs (BOOL b)
void selectTE (S32 te_index, BOOL selected)
BOOL isTESelected (S32 te_index)
S32 getLastSelectedTE ()
void renderOneSilhouette (const LLColor4 &color)
void setTransient (BOOL transient)
BOOL isTransient ()
LLViewerObjectgetObject ()
void setObject (LLViewerObject *object)
void saveColors ()
void saveTextures (const std::vector< LLUUID > &textures)
void saveTextureScaleRatios ()
BOOL allowOperationOnNode (PermissionBit op, U64 group_proxy_power) const

Public Attributes

BOOL mIndividualSelection
BOOL mTransient
BOOL mValid
LLPermissionsmPermissions
LLSaleInfo mSaleInfo
LLAggregatePermissions mAggregatePerm
LLAggregatePermissions mAggregateTexturePerm
LLAggregatePermissions mAggregateTexturePermOwner
LLString mName
LLString mDescription
LLCategory mCategory
S16 mInventorySerial
LLVector3 mSavedPositionLocal
LLVector3 mLastPositionLocal
LLVector3d mSavedPositionGlobal
LLVector3 mSavedScale
LLVector3 mLastScale
LLQuaternion mSavedRotation
LLQuaternion mLastRotation
BOOL mDuplicated
LLVector3d mDuplicatePos
LLQuaternion mDuplicateRot
LLUUID mItemID
LLUUID mFolderID
LLUUID mFromTaskID
LLString mTouchName
LLString mSitName
U64 mCreationDate
std::vector< LLColor4mSavedColors
std::vector< LLUUIDmSavedTextures
std::vector< LLVector3mTextureScaleRatios
std::vector< LLVector3mSilhouetteVertices
std::vector< LLVector3mSilhouetteNormals
std::vector< S32mSilhouetteSegments
BOOL mSilhouetteExists

Protected Attributes

LLPointer< LLViewerObjectmObject
BOOL mTESelected [SELECT_MAX_TES]
S32 mLastTESelected

Detailed Description

Definition at line 129 of file llselectmgr.h.


Constructor & Destructor Documentation

LLSelectNode::LLSelectNode ( LLViewerObject object,
BOOL  do_glow 
)

Definition at line 4803 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 4822 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 (  ) 

Definition at line 4872 of file llselectmgr.cpp.

References mPermissions, and NULL.


Member Function Documentation

BOOL LLSelectNode::allowOperationOnNode ( PermissionBit  op,
U64  group_proxy_power 
) const

Definition at line 4996 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.

S32 LLSelectNode::getLastSelectedTE (  ) 

Definition at line 4906 of file llselectmgr.cpp.

References isTESelected(), and mLastTESelected.

LLViewerObject * LLSelectNode::getObject (  ) 

Definition at line 4915 of file llselectmgr.cpp.

References mObject, and NULL.

Referenced by LLSelectMgr::addAsIndividual(), LLObjectSelection::addNode(), LLObjectSelection::addNodeAtEnd(), LLObjectSelection::cleanupNodes(), LLObjectSelection::contains(), enable_buy(), enable_save_into_inventory(), enable_save_into_task_inventory(), LLSelectMgr::findObjectPermissions(), LLSelectMgr::generateSilhouette(), LLObjectSelection::getFirstCopyableObject(), LLObjectSelection::getFirstDeleteableObject(), LLObjectSelection::getFirstEditableObject(), LLObjectSelection::getFirstMoveableNode(), LLObjectSelection::getFirstMoveableObject(), LLObjectSelection::getFirstObject(), LLObjectSelection::getFirstRootObject(), LLObjectSelection::getFirstSelectedObject(), LLManipTranslate::handleHover(), LLManipTranslate::handleMouseDownOnPart(), LLFloaterOpenObject::moveToInventory(), LLFloaterInspect::onClickCreatorProfile(), LLFloaterInspect::onClickOwnerProfile(), 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(), LLSelectMgr::remove(), LLObjectSelection::removeNode(), renderOneSilhouette(), LLManipTranslate::renderSnapGuides(), LLManipRotate::renderSnapGuides(), LLSelectMgr::saveSelectedObjectTransform(), LLSelectMgr::selectHighlightedObjects(), LLSelectMgr::sendListToRegions(), and sitting_on_selection().

BOOL LLSelectNode::isTESelected ( S32  te_index  ) 

Definition at line 4897 of file llselectmgr.cpp.

References FALSE, mObject, and mTESelected.

Referenced by LLObjectSelection::applyToTEs(), LLObjectSelection::contains(), getLastSelectedTE(), and LLSelectMgr::remove().

BOOL LLSelectNode::isTransient (  )  [inline]

Definition at line 142 of file llselectmgr.h.

References mTransient.

void LLSelectNode::renderOneSilhouette ( const LLColor4 color  ) 

Definition at line 5090 of file llselectmgr.cpp.

References d, f, gAgent, gCamera, LLAgent::getAvatarObject(), LLSelectMgr::getBBoxOfSelection(), LLAgent::getCameraPositionGlobal(), LLViewerCamera::getDefaultFOV(), LLFrameTimer::getElapsedSeconds(), LLBBox::getExtentLocal(), getObject(), LLCoordFrame::getOrigin(), LLViewerCamera::getPointOfInterest(), LLViewerObject::getRenderMatrix(), LLViewerObject::getRenderPosition(), LLSelectMgr::getSelectionCenterGlobal(), LLCamera::getView(), LLPrimitive::getVolume(), glBegin, glBlendFunc, glColor4f, glEnd, glFogf, glFogi, glMultMatrixf, glPopMatrix, gSelectMgr, i, LLDrawable::isActive(), LLViewerObject::isHUDAttachment(), llclamp(), LLVector3::magVec(), LLViewerObject::mDrawable, LLVOAvatar::mHUDCurZoom, LLMatrix4::mMatrix, mSilhouetteExists, mSilhouetteNormals, mSilhouetteSegments, mSilhouetteVertices, LLVector3::mV, LLColor4::mV, S32, LLSelectMgr::sHighlightAlpha, LLSelectMgr::sHighlightThickness, LLSelectMgr::sHighlightUAnim, LLSelectMgr::sHighlightUScale, LLSelectMgr::sHighlightVAnim, LLSelectMgr::sHighlightVScale, LLSelectMgr::sRenderHiddenSelections, t, v, VBLUE, VGREEN, and VRED.

void LLSelectNode::saveColors (  ) 

Definition at line 4933 of file llselectmgr.cpp.

References 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 4946 of file llselectmgr.cpp.

References mObject, mSavedTextures, and LLPointer< Type >::notNull().

Referenced by LLSelectNode(), and LLSelectMgr::processObjectProperties().

void LLSelectNode::saveTextureScaleRatios (  ) 

Definition at line 4960 of file llselectmgr.cpp.

References LLTextureEntry::getScale(), LLPrimitive::getTESTAxes(), LLTextureEntry::getTexGen(), i, mObject, mTextureScaleRatios, LLVector3::mV, LLPointer< Type >::notNull(), s, t, LLTextureEntry::TEX_GEN_PLANAR, and v.

Referenced by LLSelectMgr::saveSelectedObjectTransform().

void LLSelectNode::selectAllTEs ( BOOL  b  ) 

Definition at line 4878 of file llselectmgr.cpp.

References i, mLastTESelected, mTESelected, S32, and SELECT_MAX_TES.

Referenced by LLSelectMgr::addAsIndividual(), LLSelectNode(), and LLSelectMgr::updateSilhouettes().

void LLSelectNode::selectTE ( S32  te_index,
BOOL  selected 
)

Definition at line 4887 of file llselectmgr.cpp.

References mLastTESelected, mTESelected, and SELECT_MAX_TES.

Referenced by LLSelectMgr::addAsIndividual(), and LLSelectMgr::remove().

void LLSelectNode::setObject ( LLViewerObject object  ) 

Definition at line 4928 of file llselectmgr.cpp.

References mObject.

Referenced by LLObjectSelection::removeNode().

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


Member Data Documentation

LLAggregatePermissions LLSelectNode::mAggregatePerm

Definition at line 159 of file llselectmgr.h.

Referenced by LLSelectNode(), and LLSelectMgr::processObjectProperties().

LLAggregatePermissions LLSelectNode::mAggregateTexturePerm

Definition at line 160 of file llselectmgr.h.

Referenced by LLSelectNode(), and LLSelectMgr::processObjectProperties().

LLAggregatePermissions LLSelectNode::mAggregateTexturePermOwner

Definition at line 161 of file llselectmgr.h.

Referenced by LLSelectNode(), and LLSelectMgr::processObjectProperties().

LLCategory LLSelectNode::mCategory

Definition at line 164 of file llselectmgr.h.

Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), and LLSelectMgr::processObjectPropertiesFamily().

U64 LLSelectNode::mCreationDate

Definition at line 181 of file llselectmgr.h.

Referenced by LLSelectMgr::processObjectProperties().

LLString LLSelectNode::mDescription

Definition at line 163 of file llselectmgr.h.

Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLPanelPermissions::refresh(), and LLHoverView::updateText().

BOOL LLSelectNode::mDuplicated

Definition at line 173 of file llselectmgr.h.

Referenced by LLSelectNode().

LLVector3d LLSelectNode::mDuplicatePos

Definition at line 174 of file llselectmgr.h.

Referenced by LLSelectNode().

LLQuaternion LLSelectNode::mDuplicateRot

Definition at line 175 of file llselectmgr.h.

Referenced by LLSelectNode().

LLUUID LLSelectNode::mFolderID

Definition at line 177 of file llselectmgr.h.

Referenced by LLSelectNode(), and LLSelectMgr::processObjectProperties().

LLUUID LLSelectNode::mFromTaskID

Definition at line 178 of file llselectmgr.h.

Referenced by enable_save_into_task_inventory(), LLToolsSaveToObjectInventory::handleEvent(), LLSelectNode(), and LLSelectMgr::processObjectProperties().

BOOL LLSelectNode::mIndividualSelection

Definition at line 153 of file llselectmgr.h.

Referenced by LLSelectMgr::addAsIndividual(), LLManipTranslate::handleHover(), LLSelectNode(), LLObjectSelection::is_valid_root::operator()(), LLObjectSelection::is_root::operator()(), LLSelectMgr::promoteSelectionToRoot(), and LLSelectMgr::updateSilhouettes().

S16 LLSelectNode::mInventorySerial

Definition at line 165 of file llselectmgr.h.

Referenced by LLSelectNode(), LLSelectMgr::processObjectProperties(), and LLPanelInventory::refresh().

LLUUID LLSelectNode::mItemID

Definition at line 176 of file llselectmgr.h.

Referenced by enable_save_into_inventory(), LLSelectNode(), and LLSelectMgr::processObjectProperties().

LLVector3 LLSelectNode::mLastPositionLocal

Definition at line 167 of file llselectmgr.h.

Referenced by LLManipTranslate::handleHover(), LLSelectMgr::overrideObjectUpdates(), and LLSelectMgr::sendListToRegions().

LLQuaternion LLSelectNode::mLastRotation

Definition at line 172 of file llselectmgr.h.

Referenced by LLSelectMgr::overrideObjectUpdates(), and LLSelectMgr::sendListToRegions().

LLVector3 LLSelectNode::mLastScale

Definition at line 170 of file llselectmgr.h.

Referenced by LLSelectMgr::overrideObjectUpdates(), and LLSelectMgr::sendListToRegions().

S32 LLSelectNode::mLastTESelected [protected]

Definition at line 193 of file llselectmgr.h.

Referenced by getLastSelectedTE(), LLSelectNode(), selectAllTEs(), and selectTE().

LLString LLSelectNode::mName

Definition at line 162 of file llselectmgr.h.

Referenced by LLFloaterPay::give(), LLObjectMute::handleEvent(), LLSelectNode(), LLFloaterOpenObject::moveToInventory(), LLPanelObjectTools::onClickSetBySelection(), LLFloaterPay::payViaObject(), LLToolPie::pickAndShowMenu(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLPanelPermissions::refresh(), LLFloaterOpenObject::refresh(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), and LLHoverView::updateText().

LLPointer<LLViewerObject> LLSelectNode::mObject [protected]

Definition at line 191 of file llselectmgr.h.

Referenced by allowOperationOnNode(), getObject(), isTESelected(), LLSelectNode(), saveColors(), saveTextures(), saveTextureScaleRatios(), and setObject().

LLPermissions* LLSelectNode::mPermissions

Definition at line 157 of file llselectmgr.h.

Referenced by allowOperationOnNode(), enable_buy(), enable_save_into_inventory(), LLSelectMgr::findObjectPermissions(), LLSelectNode(), LLFloaterInspect::onClickOwnerProfile(), LLFloaterPay::payViaObject(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLFloaterBuyContents::show(), LLFloaterBuy::show(), LLHoverView::updateText(), and ~LLSelectNode().

LLSaleInfo LLSelectNode::mSaleInfo

Definition at line 158 of file llselectmgr.h.

Referenced by enable_buy(), LLSelectNode(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), and LLHoverView::updateText().

std::vector<LLColor4> LLSelectNode::mSavedColors

Definition at line 182 of file llselectmgr.h.

Referenced by LLSelectNode(), saveColors(), and LLSelectMgr::selectionRevertColors().

LLVector3d LLSelectNode::mSavedPositionGlobal

Definition at line 168 of file llselectmgr.h.

Referenced by LLManipTranslate::handleHover(), LLSelectNode(), LLManipTranslate::renderSnapGuides(), and LLSelectMgr::saveSelectedObjectTransform().

LLVector3 LLSelectNode::mSavedPositionLocal

Definition at line 166 of file llselectmgr.h.

Referenced by LLManipTranslate::handleHover(), LLSelectNode(), and LLSelectMgr::saveSelectedObjectTransform().

LLQuaternion LLSelectNode::mSavedRotation

Definition at line 171 of file llselectmgr.h.

Referenced by LLManipRotate::dragConstrained(), LLManipRotate::getObjectAxisClosestToMouse(), LLSelectNode(), and LLSelectMgr::saveSelectedObjectTransform().

LLVector3 LLSelectNode::mSavedScale

Definition at line 169 of file llselectmgr.h.

Referenced by LLSelectNode(), and LLSelectMgr::saveSelectedObjectTransform().

std::vector<LLUUID> LLSelectNode::mSavedTextures

Definition at line 183 of file llselectmgr.h.

Referenced by LLSelectNode(), saveTextures(), and LLSelectMgr::selectionRevertTextures().

BOOL LLSelectNode::mSilhouetteExists

Definition at line 188 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().

std::vector<LLVector3> LLSelectNode::mSilhouetteVertices

Definition at line 185 of file llselectmgr.h.

Referenced by LLVOVolume::generateSilhouette(), LLSelectNode(), and renderOneSilhouette().

LLString LLSelectNode::mSitName

Definition at line 180 of file llselectmgr.h.

Referenced by LLObjectEnableSitOrStand::handleEvent(), LLSelectNode(), and LLSelectMgr::processObjectProperties().

BOOL LLSelectNode::mTESelected[SELECT_MAX_TES] [protected]

Definition at line 192 of file llselectmgr.h.

Referenced by isTESelected(), LLSelectNode(), selectAllTEs(), and selectTE().

std::vector<LLVector3> LLSelectNode::mTextureScaleRatios

Definition at line 184 of file llselectmgr.h.

Referenced by saveTextureScaleRatios().

LLString LLSelectNode::mTouchName

Definition at line 179 of file llselectmgr.h.

Referenced by LLObjectEnableTouch::handleEvent(), label_touch(), LLSelectNode(), and LLSelectMgr::processObjectProperties().

BOOL LLSelectNode::mTransient

Definition at line 155 of file llselectmgr.h.

Referenced by isTransient(), LLSelectNode(), and setTransient().

BOOL LLSelectNode::mValid

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(), label_touch(), LLSelectNode(), LLObjectSelection::is_valid_root::operator()(), LLObjectSelection::is_valid::operator()(), LLSelectMgr::processObjectProperties(), LLSelectMgr::processObjectPropertiesFamily(), LLPanelInventory::refresh(), LLSelectMgr::saveSelectedObjectTextures(), sitting_on_selection(), and LLHoverView::updateText().


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