9#ifndef ROOT7_RDisplayItem
10#define ROOT7_RDisplayItem
17namespace Experimental {
53 virtual void BuildFullId(
const std::string &prefix);
74 template <
class DRAWABLE>
96 const std::string *
fId{
nullptr};
static RooMathCoreReg dummy
Base class for painting data for JS.
std::string fObjectID
unique object identifier
void SetStyle(RStyle *style)
void SetObjectID(const std::string &id)
bool fDummy
if true, just placeholder for drawable which does not changed
unsigned fIndex
! index inside current pad, used to produce fully-qualified id, not send to client
RStyle * fStyle
style object
void SetIndex(unsigned indx)
static std::string ObjectIDFromPtr(const void *ptr)
Construct fillid using pointer value.
void SetObjectIDAsPtr(const void *ptr)
Assign id using arbitrary pointer value Typically drawable pointer should be used here.
virtual void BuildFullId(const std::string &prefix)
Build full id, including prefix and object index.
std::string GetObjectID() const
unsigned GetIndex() const
Generic display item for RDrawable, just reference drawable itself.
const RDrawable * fDrawable
drawable
RDrawableDisplayItem(const DRAWABLE &dr)
Base class for drawable entities: objects that can be painted on a RPad.
RIndirectDisplayItem()=default
const std::string * fId
pointer on drawable id
const std::string * fCssClass
pointer on drawable class
const RAttrMap * fAttr
pointer on drawable attributes
Display item for TObject with drawing options.
std::string fOption
drawing options
const TObject * fObject
ROOT6 object.
RObjectDisplayItem(const TObject *obj, const std::string &opt)
A set of defaults for graphics attributes, e.g.
Mother of all ROOT objects.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...