9#ifndef ROOT7_RDisplayItem
10#define ROOT7_RDisplayItem
17namespace Experimental {
53 virtual void BuildFullId(
const std::string &prefix);
74 template <
class DRAWABLE>
100 const std::string *
fId{
nullptr};
Base class for painting data for JS.
virtual void BuildFullId(const std::string &prefix)
Build full id, including prefix and object index.
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
void SetObjectIDAsPtr(const void *ptr)
Assign id using arbitrary pointer value Typically drawable pointer should be used here.
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.
std::string GetObjectID() const
unsigned GetIndex() const
Generic display item for RDrawable, just reference drawable itself.
const RDrawable * GetDrawable() const
const RDrawable * fDrawable
drawable
virtual ~RDrawableDisplayItem()
destructor
RDrawableDisplayItem(const DRAWABLE &dr)
Base class for drawable entities: objects that can be painted on a RPad.
Extract (reference) only basic attributes from drawable, but not drawable itself.
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
A set of defaults for graphics attributes, e.g.
Display item for TObject with drawing options.
const TObject * fObject
ROOT6 object.
virtual ~TObjectDisplayItem()
destructor
std::string fOption
drawing options
TObjectDisplayItem(int kind, const TObject *obj, const std::string &opt, bool owner=false)
bool fOwner
! if object must be deleted
Mother of all ROOT objects.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...