#include <llselectmgr.h>
Definition at line 196 of file llselectmgr.h.
typedef std::list<LLSelectNode*> LLObjectSelection::list_t |
Definition at line 205 of file llselectmgr.h.
typedef boost::filter_iterator<is_non_null, list_t::iterator > LLObjectSelection::iterator |
Definition at line 218 of file llselectmgr.h.
typedef boost::filter_iterator<is_valid, list_t::iterator > LLObjectSelection::valid_iterator |
Definition at line 229 of file llselectmgr.h.
typedef boost::filter_iterator<is_root, list_t::iterator > LLObjectSelection::root_iterator |
Definition at line 241 of file llselectmgr.h.
typedef boost::filter_iterator<is_root, list_t::iterator > LLObjectSelection::valid_root_iterator |
Definition at line 253 of file llselectmgr.h.
typedef boost::filter_iterator<is_root_object, list_t::iterator > LLObjectSelection::root_object_iterator |
Definition at line 265 of file llselectmgr.h.
LLObjectSelection::~LLObjectSelection | ( | ) | [protected] |
Definition at line 5769 of file llselectmgr.cpp.
References deleteAllNodes().
LLObjectSelection::LLObjectSelection | ( | ) |
Definition at line 5763 of file llselectmgr.cpp.
iterator LLObjectSelection::begin | ( | ) | [inline] |
Definition at line 219 of file llselectmgr.h.
References mList.
Referenced by applyToNodes(), applyToObjects(), applyToTEs(), contains(), getFirstNode(), LLSelectMgr::getGrid(), getSelectedTEValue(), and getTECount().
iterator LLObjectSelection::end | ( | ) | [inline] |
Definition at line 220 of file llselectmgr.h.
References mList.
Referenced by applyToNodes(), applyToObjects(), applyToTEs(), contains(), getFirstNode(), LLSelectMgr::getGrid(), getSelectedTEValue(), and getTECount().
valid_iterator LLObjectSelection::valid_begin | ( | ) | [inline] |
valid_iterator LLObjectSelection::valid_end | ( | ) | [inline] |
root_iterator LLObjectSelection::root_begin | ( | ) | [inline] |
Definition at line 242 of file llselectmgr.h.
References mList.
Referenced by applyToRootNodes(), applyToRootObjects(), getFirstRootNode(), and getRootObjectCount().
root_iterator LLObjectSelection::root_end | ( | ) | [inline] |
Definition at line 243 of file llselectmgr.h.
References mList.
Referenced by applyToRootNodes(), applyToRootObjects(), getFirstRootNode(), and getRootObjectCount().
valid_root_iterator LLObjectSelection::valid_root_begin | ( | ) | [inline] |
valid_root_iterator LLObjectSelection::valid_root_end | ( | ) | [inline] |
root_object_iterator LLObjectSelection::root_object_begin | ( | ) | [inline] |
root_object_iterator LLObjectSelection::root_object_end | ( | ) | [inline] |
void LLObjectSelection::updateEffects | ( | ) |
Definition at line 5788 of file llselectmgr.cpp.
void LLObjectSelection::cleanupNodes | ( | ) |
Definition at line 5774 of file llselectmgr.cpp.
References LLSelectNode::getObject(), LLViewerObject::isDead(), mList, and NULL.
Referenced by LLSelectMgr::getGrid(), and getObjectCount().
BOOL LLObjectSelection::isEmpty | ( | ) | const |
Definition at line 5857 of file llselectmgr.cpp.
References getObjectCount(), OWNERSHIP_COST_PER_OBJECT, and S32.
LLSelectNode * LLObjectSelection::getFirstNode | ( | LLSelectedNodeFunctor * | func = NULL |
) |
Definition at line 6084 of file llselectmgr.cpp.
References LLSelectedNodeFunctor::apply(), begin(), end(), and NULL.
Referenced by getFirstDeleteableObject(), getFirstMoveableNode(), getFirstObject(), getFirstRootNode(), and getFirstSelectedObject().
LLSelectNode * LLObjectSelection::getFirstRootNode | ( | LLSelectedNodeFunctor * | func = NULL , |
|
BOOL | non_root_ok = FALSE | |||
) |
Definition at line 6097 of file llselectmgr.cpp.
References LLSelectedNodeFunctor::apply(), getFirstNode(), NULL, root_begin(), and root_end().
Referenced by getFirstMoveableNode(), and getFirstRootObject().
LLViewerObject * LLObjectSelection::getFirstSelectedObject | ( | LLSelectedNodeFunctor * | func, | |
BOOL | get_parent = FALSE | |||
) |
Definition at line 6119 of file llselectmgr.cpp.
References getFirstNode(), LLSelectNode::getObject(), getSelectedParentObject(), and NULL.
Referenced by getFirstCopyableObject(), getFirstEditableObject(), and getFirstMoveableObject().
LLViewerObject * LLObjectSelection::getFirstObject | ( | ) |
Definition at line 6136 of file llselectmgr.cpp.
References getFirstNode(), LLSelectNode::getObject(), and NULL.
Referenced by LLSelectMgr::getGrid().
LLViewerObject * LLObjectSelection::getFirstRootObject | ( | BOOL | non_root_ok = FALSE |
) |
Definition at line 6145 of file llselectmgr.cpp.
References getFirstRootNode(), LLSelectNode::getObject(), and NULL.
LLSelectNode * LLObjectSelection::getFirstMoveableNode | ( | BOOL | get_root_first = FALSE |
) |
Definition at line 6154 of file llselectmgr.cpp.
References getFirstNode(), getFirstRootNode(), LLSelectNode::getObject(), LLViewerObject::permMove(), and TRUE.
LLViewerObject * LLObjectSelection::getFirstEditableObject | ( | BOOL | get_parent = FALSE |
) |
Definition at line 6218 of file llselectmgr.cpp.
References getFirstSelectedObject(), LLSelectNode::getObject(), and LLViewerObject::permModify().
LLViewerObject * LLObjectSelection::getFirstCopyableObject | ( | BOOL | get_parent = FALSE |
) |
Definition at line 6171 of file llselectmgr.cpp.
References getFirstSelectedObject(), LLSelectNode::getObject(), LLViewerObject::isAttachment(), and LLViewerObject::permCopy().
LLViewerObject * LLObjectSelection::getFirstDeleteableObject | ( | ) |
Definition at line 6187 of file llselectmgr.cpp.
References getFirstNode(), LLSelectNode::getObject(), LLViewerObject::isAttachment(), NULL, LLViewerObject::permAnyOwner(), LLViewerObject::permModify(), and LLViewerObject::permYouOwner().
LLViewerObject * LLObjectSelection::getFirstMoveableObject | ( | BOOL | get_parent = FALSE |
) |
Definition at line 6234 of file llselectmgr.cpp.
References getFirstSelectedObject(), LLSelectNode::getObject(), and LLViewerObject::permMove().
LLViewerObject* LLObjectSelection::getPrimaryObject | ( | ) | [inline] |
Definition at line 291 of file llselectmgr.h.
References mPrimaryObject.
Referenced by getSelectedTEValue().
bool LLObjectSelection::getSelectedTEValue | ( | LLSelectedTEGetFunctor< T > * | func, | |
T & | res | |||
) | [inline] |
Definition at line 722 of file llselectmgr.h.
References begin(), end(), LLSelectedTEGetFunctor< T >::get(), LLSelectNode::getLastSelectedTE(), LLSelectNode::getObject(), getPrimaryObject(), LLSelectNode::isTESelected(), S32, and TRUE.
void LLObjectSelection::addNode | ( | LLSelectNode * | nodep | ) |
Definition at line 5797 of file llselectmgr.cpp.
References LLSelectNode::getObject(), LLViewerObject::isDead(), llassert_always, mList, and mSelectNodeMap.
void LLObjectSelection::addNodeAtEnd | ( | LLSelectNode * | nodep | ) |
Definition at line 5804 of file llselectmgr.cpp.
References LLSelectNode::getObject(), LLViewerObject::isDead(), llassert_always, mList, and mSelectNodeMap.
Referenced by LLSelectMgr::addGridObject().
void LLObjectSelection::moveNodeToFront | ( | LLSelectNode * | nodep | ) |
void LLObjectSelection::removeNode | ( | LLSelectNode * | nodep | ) |
Definition at line 5817 of file llselectmgr.cpp.
References LLSelectNode::getObject(), mList, mPrimaryObject, mSelectNodeMap, NULL, and LLSelectNode::setObject().
void LLObjectSelection::deleteAllNodes | ( | ) |
Definition at line 5828 of file llselectmgr.cpp.
References mList, mPrimaryObject, mSelectNodeMap, and NULL.
Referenced by LLSelectMgr::clearGridObjects(), LLSelectMgr::clearSelections(), and ~LLObjectSelection().
S32 LLObjectSelection::getNumNodes | ( | ) |
LLSelectNode * LLObjectSelection::findNode | ( | LLViewerObject * | objectp | ) |
Definition at line 5836 of file llselectmgr.cpp.
References mSelectNodeMap, and NULL.
Referenced by contains().
S32 LLObjectSelection::getObjectCount | ( | ) |
Definition at line 5868 of file llselectmgr.cpp.
References cleanupNodes(), mList, and S32.
Referenced by getOwnershipCost().
S32 LLObjectSelection::getTECount | ( | ) |
Definition at line 5879 of file llselectmgr.cpp.
References begin(), end(), LLSelectNode::getObject(), LLSelectNode::isTESelected(), and S32.
S32 LLObjectSelection::getRootObjectCount | ( | ) |
Definition at line 5903 of file llselectmgr.cpp.
References root_begin(), root_end(), and S32.
BOOL LLObjectSelection::contains | ( | LLViewerObject * | object | ) |
Definition at line 6010 of file llselectmgr.cpp.
References findNode(), and NULL.
BOOL LLObjectSelection::contains | ( | LLViewerObject * | object, | |
S32 | te | |||
) |
Definition at line 6019 of file llselectmgr.cpp.
References begin(), end(), FALSE, LLSelectNode::getObject(), i, LLSelectNode::isTESelected(), S32, SELECT_ALL_TES, SELECT_MAX_TES, and TRUE.
BOOL LLObjectSelection::isAttachment | ( | ) |
Definition at line 6056 of file llselectmgr.cpp.
References mSelectType, SELECT_TYPE_ATTACHMENT, and SELECT_TYPE_HUD.
bool LLObjectSelection::applyToRootObjects | ( | LLSelectedObjectFunctor * | func, | |
bool | firstonly = false | |||
) |
Definition at line 5931 of file llselectmgr.cpp.
References LLSelectedObjectFunctor::apply(), r, root_begin(), and root_end().
bool LLObjectSelection::applyToObjects | ( | LLSelectedObjectFunctor * | func, | |
bool | firstonly = false | |||
) |
Definition at line 5913 of file llselectmgr.cpp.
References LLSelectedObjectFunctor::apply(), begin(), end(), and r.
Referenced by LLSelectMgr::updateEffects().
bool LLObjectSelection::applyToTEs | ( | LLSelectedTEFunctor * | func, | |
bool | firstonly = false | |||
) |
Definition at line 5949 of file llselectmgr.cpp.
References LLSelectedTEFunctor::apply(), begin(), end(), LLViewerObject::getNumFaces(), LLPrimitive::getNumTEs(), LLSelectNode::isTESelected(), llmin(), r, and S32.
bool LLObjectSelection::applyToRootNodes | ( | LLSelectedNodeFunctor * | func, | |
bool | firstonly = false | |||
) |
Definition at line 5991 of file llselectmgr.cpp.
References LLSelectedNodeFunctor::apply(), r, root_begin(), and root_end().
bool LLObjectSelection::applyToNodes | ( | LLSelectedNodeFunctor * | func, | |
bool | firstonly = false | |||
) |
Definition at line 5975 of file llselectmgr.cpp.
References LLSelectedNodeFunctor::apply(), begin(), end(), and r.
ESelectType LLObjectSelection::getSelectType | ( | ) | const [inline] |
const LLObjectSelection& LLObjectSelection::operator= | ( | const LLObjectSelection & | ) | [private] |
friend class LLSelectMgr [friend] |
Definition at line 198 of file llselectmgr.h.
list_t LLObjectSelection::mList [private] |
Definition at line 207 of file llselectmgr.h.
Referenced by addNode(), addNodeAtEnd(), begin(), cleanupNodes(), deleteAllNodes(), end(), getNumNodes(), getObjectCount(), isEmpty(), moveNodeToFront(), removeNode(), root_begin(), root_end(), root_object_begin(), root_object_end(), valid_begin(), valid_end(), valid_root_begin(), and valid_root_end().
Definition at line 329 of file llselectmgr.h.
Referenced by deleteAllNodes(), getPrimaryObject(), and removeNode().
std::map<LLPointer<LLViewerObject>, LLSelectNode*> LLObjectSelection::mSelectNodeMap [private] |
Definition at line 330 of file llselectmgr.h.
Referenced by addNode(), addNodeAtEnd(), deleteAllNodes(), findNode(), and removeNode().
ESelectType LLObjectSelection::mSelectType [private] |