9#ifndef ROOT7_RDisplayItem
10#define ROOT7_RDisplayItem
17namespace Experimental {
50 virtual void BuildFullId(
const std::string &prefix);
71 template <
class DRAWABLE>
Base class for painting data for JS.
std::string fObjectID
unique object identifier
void SetStyle(RStyle *style)
void SetObjectID(const std::string &id)
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)
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)
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.
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.