26REveCompound::REveCompound(
const std::string&
n,
const std::string& t,
63 (
c->GetCompound() ==
this &&
c->GetMainColor() ==
old_color))
65 c->SetMainColor(color);
93 (
c->GetCompound() ==
this &&
c->GetMainTransparency() ==
old_t))
95 c->SetMainTransparency(t);
110 el->SetCompound(
this);
118 if (
el->GetCompound() ==
this)
119 el->SetCompound(
nullptr);
130 if (
c->GetCompound() ==
this)
131 c->SetCompound(
nullptr);
166 return TClass::GetClass<REveCompoundProjected>();
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void SetMainColor(Color_t color) override
Revert back to the behaviour of REveElement as color is propagated:
REveCompoundProjected()
Constructor.
void AddElement(REveElement *el) override
Call base-class implementation.
void RemoveElementsLocal() override
Decompoundofy children, call base-class version.
void FillImpliedSelectedSet(Set_t &impSelSet, const std::set< int > &) override
Recurse on all children that are in this compound and call the 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 RemoveElementsLocal()
Perform additional local removal of all elements.
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 void FillImpliedSelectedSet(Set_t &impSelSet, const std::set< int > &)
Populate set impSelSet with derived / dependant elements.
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.