16#ifndef ROOT7_REveDataCollection
17#define ROOT7_REveDataCollection
31namespace Experimental {
130 REveDataCollection(
const std::string&
n =
"REveDataCollection",
const std::string& t =
"");
134 void AddItem(
void *data_ptr,
const std::string&
n,
const std::string& t);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
REveDataItemList * GetItemList()
void SetFilterExpr(const char *filter)
TClass * GetItemClass() const
virtual ~REveDataCollection()
static Color_t fgDefaultColor
std::function< bool(void *)> fFilterFoo
Bool_t SingleRnrState() const override
void ReserveItems(Int_t items_size)
void * GetDataPtr(Int_t i) const
void StreamPublicMethods(nlohmann::json &cj) const
REveDataItemList * fItemList
void AddItem(void *data_ptr, const std::string &n, const std::string &t)
Bool_t SetRnrState(Bool_t) override
Set render state of this element and of its children to the same value.
void SetItemClass(TClass *cls)
void SetMainColor(Color_t) override
Set main color of the element.
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
const char * GetFilterExpr()
const REveDataItem * GetDataItem(Int_t i) const
std::function< void(REveDataItemList *, Set_t &, const std::set< int > &)> FillImpliedSelectedFunc_t
virtual void ItemChanged(REveDataItem *item)
Int_t WriteCoreJson(nlohmann::json &cj, Int_t rnr_offset) override
Write core json.
void AddTooltipExpression(const std::string &title, const std::string &expr, bool init=true)
FillImpliedSelectedFunc_t fHandlerFillImplied
virtual ~REveDataItemList()
void ProcessSelection(ElementId_t id, bool multi, bool secondary, const std::set< int > &in_secondary_idcs)
void ProcessSelectionStr(ElementId_t id, bool multi, bool secondary, const char *in_secondary_idcs)
void SetItemColorRGB(Int_t idx, UChar_t r, UChar_t g, UChar_t b)
std::vector< std::unique_ptr< TTip > > fTooltipExpressions
Bool_t SetRnrState(Bool_t) override
Set render state of this element and of its children to the same value.
std::string GetHighlightTooltip(const std::set< int > &secondary_idcs) const override
void SetItemsChangeDelegate(ItemsChangeFunc_t)
void SetFillImpliedSelectedDelegate(FillImpliedSelectedFunc_t)
std::vector< REveDataItem * > fItems
void FillImpliedSelectedSet(Set_t &impSelSet, const std::set< int > &sec_idcs) override
Populate set impSelSet with derived / dependant elements.
ItemsChangeFunc_t fHandlerItemsChange
static void DummyItemsChange(REveDataItemList *, const std::vector< int > &)
static void DummyFillImpliedSelected(REveDataItemList *, Set_t &impSelSet, const std::set< int > &sec_idcs)
Bool_t SingleRnrState() const override
std::vector< std::unique_ptr< TTip > > & RefToolTipExpressions()
void SetItemVisible(Int_t idx, Bool_t visible)
std::function< void(REveDataItemList *, const std::vector< int > &)> ItemsChangeFunc_t
REveDataItem(void *d, Color_t c)
void SetFiltered(Bool_t i)
Bool_t GetRnrSelf() const
Color_t GetMainColor() const
void SetMainColor(Color_t i)
Bool_t GetVisible() const
Bool_t GetFiltered() const
void SetRnrSelf(Bool_t i)
virtual std::string GetHighlightTooltip(const std::set< int > &) const
std::set< REveElement * > Set_t
TClass instances represent classes, structs and namespaces in the ROOT type system.
const char * Data() const
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.
std::string fTooltipTitle
REveDataColumn fTooltipFunction