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);
The ROOT global object gROOT contains a list of all defined classes.
Description of TEveCompoundProjected.
TEveCompoundProjected()
Constructor.
virtual void SetMainColor(Color_t color)
Revert back to the behaviour of TEveElement as color is propagated:
Description of TEveCompound.
virtual void RemoveElementLocal(TEveElement *el)
Decompoundofy el, call base-class version.
virtual void RemoveElementsLocal()
Decompoundofy children, call base-class version.
Bool_t IsCompoundOpen() const
virtual TClass * ProjectedClass(const TEveProjection *p) const
Virtual from TEveProjectable, returns TEveCompoundProjected class.
virtual void SetMainTransparency(Char_t t)
SetMainTransparency for the compound.
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Recurse on all children that are in this compound and call the base-class version.
virtual void SetMainColor(Color_t color)
SetMainColor for the compound.
TEveCompound(const TEveCompound &)
virtual void AddElement(TEveElement *el)
Call base-class implementation.
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.