51 if (color_all || (color_matching && (*i)->GetMainColor() == old_color) ||
52 ((*i)->GetCompound() ==
this && (*i)->GetMainColor() == old_color))
54 (*i)->SetMainColor(color);
80 if (chg_all || (chg_matching && (*i)->GetMainTransparency() == old_t) ||
81 ((*i)->GetCompound() ==
this && (*i)->GetMainTransparency() == old_t))
83 (*i)->SetMainTransparency(t);
119 if ((*i)->GetCompound() ==
this)
120 (*i)->SetCompound(0);
141 if (select_all || (*i)->GetCompound() ==
this)
143 if (impSelSet.insert(*i).second)
144 (*i)->FillImpliedSelectedSet(impSelSet);
TClass instances represent classes, structs and namespaces in the ROOT type system.
Description of TEveCompoundProjected.
void SetMainColor(Color_t color) override
Revert back to the behaviour of TEveElement as color is propagated:
TEveCompoundProjected()
Constructor.
Description of TEveCompound.
void FillImpliedSelectedSet(Set_t &impSelSet) override
Recurse on all children that are in this compound and call the base-class version.
Bool_t IsCompoundOpen() const
void SetMainTransparency(Char_t t) override
SetMainTransparency for the compound.
void AddElement(TEveElement *el) override
Call base-class implementation.
TClass * ProjectedClass(const TEveProjection *p) const override
Virtual from TEveProjectable, returns TEveCompoundProjected class.
void SetMainColor(Color_t color) override
SetMainColor for the compound.
void RemoveElementLocal(TEveElement *el) override
Decompoundofy el, call base-class version.
void RemoveElementsLocal() override
Decompoundofy children, call base-class version.
TEveCompound(const TEveCompound &)
Base class for TEveUtil visualization elements, providing hierarchy management, rendering control and...
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.
Bool_t TestCSCBits(UChar_t f) const
virtual void SetMainTransparency(Char_t t)
Set main-transparency.
virtual void SetMainColor(Color_t color)
Set main color of the element.
@ kCSCBApplyMainTransparencyToAllChildren
@ kCSCBApplyMainColorToAllChildren
@ kCSCBImplySelectAllChildren
@ kCSCBApplyMainColorToMatchingChildren
@ kCSCBApplyMainTransparencyToMatchingChildren
TEveCompound * GetCompound()
std::set< TEveElement * > Set_t
void SetCompound(TEveCompound *c)
virtual Color_t GetMainColor() const
virtual void RemoveElementLocal(TEveElement *el)
Perform additional local removal of el.
virtual Char_t GetMainTransparency() const
virtual void RemoveElementsLocal()
Perform additional local removal of all elements.
Abstract base class for classes that hold results of a non-linear projection transformation.
Base-class for non-linear projections.