56 for (
int index = 0; index < size; ++index)
61 if (index < product->NumChildren())
90 for (
int index = 0; index < size; ++index)
95 if (index < product->NumChildren())
111 if (di->GetRnrSelf() && !di->GetFiltered())
123 for (
auto &it: p->RefChildren())
131 applyColorAttrToChildren(
c);
143 for (
auto itemIdx: iIds)
150 std::advance(itElement, itemIdx);
162 applyColorAttrToChildren(comp);
181 c->CSCImplySelectAllChildren();
182 c->SetPickable(
true);
186 c->SetMainTransparency(
Collection()->GetMainTransparency());
188 if (propagate_color_to_all_children)
190 c->CSCApplyMainColorToAllChildren();
191 c->CSCApplyMainTransparencyToAllChildren();
195 c->CSCApplyMainColorToMatchingChildren();
196 c->CSCApplyMainTransparencyToMatchingChildren();
206 bool returnValue =
false;
260 for (
auto &
c :
m->RefChildren()) {
char * Form(const char *fmt,...)
REveDataCollection * fCollection
REveCollectionCompound(REveDataCollection *c)
virtual ~REveCollectionCompound()
virtual REveElement * GetSelectionMaster() override
Returns the master element - that is:
REveDataItemList * GetItemList()
void * GetDataPtr(Int_t i) const
const REveDataItem * GetDataItem(Int_t i) const
Bool_t GetRnrSelf() const
Color_t GetMainColor() const
Bool_t GetVisible() const
Bool_t GetFiltered() const
std::vector< Product * > m_products
virtual void LocalModelChanges(int idx, REveElement *el, const REveViewContext *ctx)
virtual void CleanLocal()
REveDataCollection * Collection() const
virtual bool HaveSingleProduct() const
void BuildViewType(const REveDataCollection *iCollection, REveElement *product, const std::string &viewType, const REveViewContext *) override
void FillImpliedSelected(REveElement::Set_t &impSet, Product *p) override
bool VisibilityModelChanges(int idx, REveElement *, const std::string &viewType, const REveViewContext *) override
REveDataSimpleProxyBuilder()
virtual ~REveDataSimpleProxyBuilder()
void ModelChanges(const REveDataCollection::Ids_t &iIds, Product *p) override
REveCompound * CreateCompound(bool set_color=true, bool propagate_color_to_all_children=false)
virtual void FillImpliedSelectedSet(Set_t &impSelSet)
Populate set impSelSet with derived / dependant elements.
const char * GetCName() const
virtual void AddElement(REveElement *el)
Add el to the list of children.
virtual Bool_t GetRnrSelf() const
virtual Bool_t SetRnrChildren(Bool_t rnr)
Set render state of this element's children, i.e.
virtual void DestroyElements()
Destroy all children of this element.
REveElement * GetMother()
virtual Bool_t SetRnrSelf(Bool_t rnr)
Set render state of this element, i.e.
void SetSelectionMaster(REveElement *el)
virtual Bool_t SetRnrSelfChildren(Bool_t rnr_self, Bool_t rnr_children)
Set state for rendering of this element and its children.
Int_t NumChildren() const
std::set< REveElement * > Set_t
virtual void SetMainColor(Color_t color)
Set main color of the element.
virtual Color_t GetMainColor() const
void SetName(const std::string &name)
Set name of an element.
virtual void ProjectChild(REveElement *el, Bool_t same_depth=kTRUE)
If this is a projectable, loop over all projected replicas and add the projected image of child 'el' ...
Bool_t IsAcceptingChanges() const
SelectionSet_t & RefSelectedSet()
const REveViewContext * m_viewContext
REveCompound * m_elements