50 if (color_all || (color_matching && (*i)->GetMainColor() == old_color) ||
51 ((*i)->GetCompound() ==
this && (*i)->GetMainColor() == old_color))
53 (*i)->SetMainColor(color);
79 if (chg_all || (chg_matching && (*i)->GetMainTransparency() == old_t) ||
80 ((*i)->GetCompound() ==
this && (*i)->GetMainTransparency() == old_t))
82 (*i)->SetMainTransparency(t);
118 if ((*i)->GetCompound() ==
this)
119 (*i)->SetCompound(
nullptr);
140 if (select_all || (*i)->GetCompound() ==
this)
142 if (impSelSet.insert(*i).second)
143 (*i)->FillImpliedSelectedSet(impSelSet);
char Char_t
Character 1 byte (char).
bool Bool_t
Boolean (0=false, 1=true) (bool).
short Color_t
Color number (short).
TClass instances represent classes, structs and namespaces in the ROOT type system.
void SetMainColor(Color_t color) override
Revert back to the behaviour of TEveElement as color is propagated:
TEveCompoundProjected()
Constructor.
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 &)
TEveElementList(const char *n="TEveElementList", const char *t="", Bool_t doColor=kFALSE, Bool_t doTransparency=kFALSE)
Constructor.
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
TEveElement()
Default constructor.
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.
TEveProjected(const TEveProjected &)
Base-class for non-linear projections.