32 fDoTransparency (doTransparency)
63 if (color_all || (color_matching &&
c->GetMainColor() == old_color) ||
64 (
c->GetCompound() ==
this &&
c->GetMainColor() == old_color))
66 c->SetMainColor(color);
93 if (chg_all || (chg_matching &&
c->GetMainTransparency() == old_t) ||
94 (
c->GetCompound() ==
this &&
c->GetMainTransparency() == old_t))
96 c->SetMainTransparency(t);
131 if (
c->GetCompound() ==
this)
132 c->SetCompound(
nullptr);
152 if (select_all ||
c->GetCompound() ==
this) {
153 if (impSelSet.insert(
c).second)
154 c->FillImpliedSelectedSet(impSelSet);
166 return TClass::GetClass<REveCompoundProjected>();
REveCompoundProjected()
Constructor.
virtual void SetMainColor(Color_t color)
Revert back to the behaviour of REveElement as color is propagated:
void AddElement(REveElement *el) override
Call base-class implementation.
void FillImpliedSelectedSet(Set_t &impSelSet) override
Recurse on all children that are in this compound and call the base-class version.
REveCompound(const REveCompound &)=delete
void RemoveElementsLocal() override
Decompoundofy children, call base-class version.
TClass * ProjectedClass(const REveProjection *p) const override
Virtual from REveProjectable, returns REveCompoundProjected class.
void RemoveElementLocal(REveElement *el) override
Decompoundofy el, call base-class version.
Bool_t IsCompoundOpen() const
void SetMainTransparency(Char_t t) override
SetMainTransparency for the compound.
void SetMainColor(Color_t color) override
SetMainColor for the compound.
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
REveCompound * GetCompound()
virtual void RemoveElementsLocal()
Perform additional local removal of all elements.
void SetCompound(REveCompound *c)
virtual void SetMainTransparency(Char_t t)
Set main-transparency.
void SetupDefaultColorAndTransparency(Color_t col, Bool_t can_edit_color, Bool_t can_edit_transparency)
Set up element to use built-in main color and set flags allowing editing of main color and transparen...
virtual void AddElement(REveElement *el)
Add el to the list of children.
virtual void RemoveElementLocal(REveElement *el)
Perform additional local removal of el.
@ kCSCBApplyMainColorToMatchingChildren
@ kCSCBApplyMainColorToAllChildren
@ kCSCBImplySelectAllChildren
@ kCSCBApplyMainTransparencyToAllChildren
@ kCSCBApplyMainTransparencyToMatchingChildren
virtual Char_t GetMainTransparency() const
Bool_t TestCSCBits(UChar_t f) const
std::set< REveElement * > Set_t
virtual void SetMainColor(Color_t color)
Set main color of the element.
virtual Color_t GetMainColor() const
REveProjection Base for specific classes that implement non-linear projections.
TClass instances represent classes, structs and namespaces in the ROOT type system.