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())
231 Emit(
"SelectionAdded(TEveElement*)", (
Long_t)el);
239 Emit(
"SelectionRemoved(TEveElement*)", (
Long_t)el);
247 Emit(
"SelectionCleared()");
255 Emit(
"SelectionRepeated(TEveElement*)", (
Long_t)el);
Abstract base class for classes that hold results of a non-linear projection transformation.
TEveProjectable * GetProjectable() const
virtual void SelectElement(Bool_t state)
Set element's selection state. Stamp appropriately.
SelMap_t fImpliedSelected
virtual void UserUnPickedElement(TEveElement *el)
Called when secondary selection becomes empty.
std::set< TEveElement * > Set_t
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
Bool_t HasChildren() const
void Redraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
virtual Bool_t AcceptElement(TEveElement *el)
Pre-addition check.
void RecheckImpliedSet(SelMap_i smi)
Recalculate implied-selected state for given selection entry.
virtual void AddElement(TEveElement *el)
Add an element into selection, virtual from TEveElement.
virtual void RemoveElement(TEveElement *el)
Remove el from the list of children.
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
Bool_t HasChild(TEveElement *el)
Check if element el is a child of this element.
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.
virtual void DeactivateSelection()
Deactivate this selection.
void SelectionRepeated(TEveElement *el)
Called when secondary selection changed internally.
TEveElement * GetMaster()
Returns the master element - that is:
R__EXTERN TEveManager * gEve
virtual void DecImpliedHighlighted()
Decrease element's implied-highlight count. Stamp appropriately.
virtual void DecImpliedSelected()
Decrease element's implied-selection count. Stamp appropriately.
virtual void IncImpliedSelected()
Increase element's implied-selection count. Stamp appropriately.
void SetHighlightMode()
Set to 'highlight' mode.
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
virtual void IncImpliedHighlighted()
Increase element's implied-highlight count. Stamp appropriately.
virtual void AddElement(TEveElement *el)
Add el to the list of children.
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...
virtual TEveElement * ForwardEdit()
Returns element to be displayed in GUI editor on click.
virtual void RemoveImpliedSelected(TEveElement *el)
Remove element from all implied-selected sets.
void SelectionAdded(TEveElement *el)
Emit SelectionAdded signal.
virtual void HighlightElement(Bool_t state)
Set element's highlight state. Stamp appropriately.
virtual void RemoveElementsLocal()
Virtual from TEveElement.
void SelectionRemoved(TEveElement *el)
Emit SelectionRemoved signal.
virtual void RemoveElements()
Add an element into selection, virtual from TEveElement.
virtual void RemoveElements()
Remove all elements.
void DoElementSelect(SelMap_i entry)
Select element indicated by the entry and fill its implied-selected set.
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
void ElementSelect(TEveElement *element)
Select an element.
void RecheckImpliedSetForElement(TEveElement *el)
If given element is selected or implied-selected with this selection and recheck implied-set for give...
TEveCompound * GetCompound()
virtual TEveElement * ForwardSelection()
Returns element to be selected on click.
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
ImplySelect_foo fDecImpSelElement
TEveSelection(const TEveSelection &)
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.