32 fPickToSelect (kPS_Projectable),
65 Set_t &set = entry->second;
69 for (
Set_i i = set.begin(); i != set.end(); ++i)
80 Set_t &set = entry->second;
82 for (
Set_i i = set.begin(); i != set.end(); ++i)
140 Warning(
"TEveSelection::RemoveElementLocal",
"element not found in map.");
178 Set_i j = i->second.find(el);
179 if (j != i->second.end())
192 smi->first->FillImpliedSelectedSet(set);
193 for (
Set_i i = set.begin(); i != set.end(); ++i)
195 if (smi->second.find(*i) == smi->second.end())
197 smi->second.insert(*i);
220 if (i->second.find(el) != i->second.end())
247 Emit(
"SelectionCleared()");
R__EXTERN TEveManager * gEve
Bool_t InheritsFrom(const char *cl) const override
Return kTRUE if this class inherits from a class with name "classname".
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
virtual void SelectElement(Bool_t state)
Set element's selection state. Stamp appropriately.
virtual void AddElement(TEveElement *el)
Add el to the list of children.
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
virtual TEveElement * ForwardSelection()
Returns element to be selected on click.
virtual void HighlightElement(Bool_t state)
Set element's highlight state. Stamp appropriately.
virtual TClass * IsA() const
virtual void RemoveElements()
Remove all elements.
virtual void IncImpliedHighlighted()
Increase element's implied-highlight count. Stamp appropriately.
Bool_t HasChildren() const
TEveElement * GetMaster()
Returns the master element - that is:
virtual void DecImpliedHighlighted()
Decrease element's implied-highlight count. Stamp appropriately.
TEveCompound * GetCompound()
std::set< TEveElement * > Set_t
virtual void RemoveElement(TEveElement *el)
Remove el from the list of children.
virtual void DecImpliedSelected()
Decrease element's implied-selection count. Stamp appropriately.
Bool_t HasChild(TEveElement *el)
Check if element el is a child of this element.
virtual void IncImpliedSelected()
Increase element's implied-selection count. Stamp appropriately.
virtual TEveElement * ForwardEdit()
Returns element to be displayed in GUI editor on click.
void ElementSelect(TEveElement *element)
Select an element.
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Abstract base class for classes that hold results of a non-linear projection transformation.
TEveProjectable * GetProjectable() const
Make sure there is a SINGLE running TEveSelection for each selection type (select/highlight).
Bool_t AcceptElement(TEveElement *el) override
Pre-addition check.
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.
void RemoveElementsLocal() override
Virtual from TEveElement.
SelMap_t fImpliedSelected
void RecheckImpliedSet(SelMap_i smi)
Recalculate implied-selected state for given selection entry.
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.
void RecheckImpliedSetForElement(TEveElement *el)
If given element is selected or implied-selected with this selection and recheck implied-set for give...
void RemoveElements() override
Add an element into selection, virtual from TEveElement.
virtual void DeactivateSelection()
Deactivate this selection.
virtual void UserRePickedElement(TEveElement *el)
Called when secondary selection becomes empty.
virtual void ActivateSelection()
Activate this selection.
void RemoveElementLocal(TEveElement *el) override
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.
virtual void UserUnPickedElement(TEveElement *el)
Called when secondary selection becomes empty.
void AddElement(TEveElement *el) override
Add an element into selection, virtual from TEveElement.
void RemoveElement(TEveElement *el) override
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
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.