12#ifndef ROOT_TEveSelection
13#define ROOT_TEveSelection
40 typedef std::map<TEveElement*, Set_t>
SelMap_t;
41 typedef std::map<TEveElement*, Set_t>::iterator
SelMap_i;
#define ClassDef(name, id)
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
void(TEveElement::* ImplySelect_foo)()
void(TEveElement::* Select_foo)(Bool_t)
Make sure there is a SINGLE running TEveSelection for each selection type (select/highlight).
TEveElement * MapPickedToSelected(TEveElement *el)
Given element el that was picked or clicked by the user, find the parent/ancestor element that should...
ImplySelect_foo fIncImpSelElement
ImplySelect_foo fDecImpSelElement
virtual void RemoveImpliedSelected(TEveElement *el)
Remove element from all implied-selected sets.
virtual Bool_t AcceptElement(TEveElement *el)
Pre-addition check.
SelMap_t fImpliedSelected
std::map< TEveElement *, Set_t > SelMap_t
void RecheckImpliedSet(SelMap_i smi)
Recalculate implied-selected state for given selection entry.
void SetPickToSelect(Int_t ps)
void SelectionRepeated(TEveElement *el)
Called when secondary selection changed internally.
void SetHighlightMode()
Set to 'highlight' mode.
void SelectionRemoved(TEveElement *el)
Emit SelectionRemoved signal.
TEveSelection(const TEveSelection &)
void DoElementUnselect(SelMap_i entry)
Deselect element indicated by the entry and clear its implied-selected set.
virtual void RemoveElements()
Add an element into selection, virtual from TEveElement.
void RecheckImpliedSetForElement(TEveElement *el)
If given element is selected or implied-selected with this selection and recheck implied-set for give...
virtual void RemoveElement(TEveElement *el)
Add an element into selection, virtual from TEveElement.
virtual void DeactivateSelection()
Deactivate this selection.
void SetIsMaster(Bool_t m)
virtual void UserRePickedElement(TEveElement *el)
Called when secondary selection becomes empty.
virtual void ActivateSelection()
Activate this selection.
virtual void RemoveElementsLocal()
Virtual from TEveElement.
virtual void UserPickedElement(TEveElement *el, Bool_t multi=kFALSE)
Called when user picks/clicks on an element.
void SelectionAdded(TEveElement *el)
Emit SelectionAdded signal.
Int_t GetPickToSelect() const
virtual void UserUnPickedElement(TEveElement *el)
Called when secondary selection becomes empty.
Bool_t GetIsMaster() const
virtual void AddElement(TEveElement *el)
Add an element into selection, virtual from TEveElement.
void SelectionCleared()
Emit SelectionCleared signal.
void DoElementSelect(SelMap_i entry)
Select element indicated by the entry and fill its implied-selected set.
std::map< TEveElement *, Set_t >::iterator SelMap_i
TEveSelection & operator=(const TEveSelection &)
virtual void RemoveElementLocal(TEveElement *el)
Virtual from TEveElement.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www....
static constexpr double ps