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 
)

LLSelectNode::LLSelectNode ( const LLSelectNode nodep  ) 

LLSelectNode::~LLSelectNode (  ) 

Definition at line 4988 of file llselectmgr.cpp.

References mPermissions, and NULL.


Member Function Documentation

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

Here is the caller graph for this function:

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

Definition at line 5003 of file llselectmgr.cpp.

References mLastTESelected, mTESelected, and SELECT_MAX_TES.

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

Here is the caller graph for this function:

BOOL LLSelectNode::isTESelected ( S32  te_index  ) 

S32 LLSelectNode::getLastSelectedTE (  ) 

Definition at line 5022 of file llselectmgr.cpp.

References isTESelected(), and mLastTESelected.

Referenced by LLObjectSelection::getSelectedTEValue().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

BOOL LLSelectNode::isTransient (  )  [inline]

Definition at line 142 of file llselectmgr.h.

References mTransient.

Referenced by LLSelectMgr::renderSilhouettes().

Here is the caller graph for this function:

LLViewerObject * LLSelectNode::getObject (  ) 

Definition at line 5031 of file llselectmgr.cpp.

References mObject, and NULL.

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

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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


Member Data Documentation

Definition at line 155 of file llselectmgr.h.

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

Definition at line 177 of file llselectmgr.h.

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

Definition at line 182 of file llselectmgr.h.

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

Definition at line 183 of file llselectmgr.h.

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

Definition at line 184 of file llselectmgr.h.

Referenced by LLSelectMgr::adjustTexturesByScale(), and saveTextureScaleRatios().

Definition at line 192 of file llselectmgr.h.

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

Definition at line 193 of file llselectmgr.h.

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


The documentation for this class was generated from the following files:

Generated on Fri May 16 09:04:29 2008 for SecondLife by  doxygen 1.5.5