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