Base class for painting data for JS.
Definition at line 29 of file RDisplayItem.hxx.
Public Member Functions | |
| RDisplayItem ()=default | |
| RDisplayItem (bool dummy) | |
| virtual | ~RDisplayItem () |
| virtual void | BuildFullId (const std::string &prefix) |
| Build full id, including prefix and object index. | |
| unsigned | GetIndex () const |
| std::string | GetObjectID () const |
| void | SetIndex (unsigned indx) |
| void | SetObjectID (const std::string &id) |
| void | SetObjectIDAsPtr (const void *ptr) |
| Assign id using arbitrary pointer value Typically drawable pointer should be used here. | |
| void | SetStyle (RStyle *style) |
Static Public Member Functions | |
| static std::string | ObjectIDFromPtr (const void *ptr) |
| Construct fillid using pointer value. | |
Protected Attributes | |
| bool | fDummy {false} |
| if true, just placeholder for drawable which does not changed | |
| unsigned | fIndex {0} |
| ! index inside current pad, used to produce fully-qualified id, not send to client | |
| std::string | fObjectID |
| unique object identifier | |
| RStyle * | fStyle {nullptr} |
| style object | |
|
default |
|
inline |
Definition at line 38 of file RDisplayItem.hxx.
|
inlinevirtual |
Definition at line 39 of file RDisplayItem.hxx.
|
virtual |
Build full id, including prefix and object index.
Reimplemented in ROOT::Experimental::RCanvasDisplayItem, and ROOT::Experimental::RPadDisplayItem.
Definition at line 29 of file RDisplayItem.cxx.
|
inline |
Definition at line 49 of file RDisplayItem.hxx.
|
inline |
Definition at line 42 of file RDisplayItem.hxx.
|
static |
Construct fillid using pointer value.
Definition at line 37 of file RDisplayItem.cxx.
|
inline |
Definition at line 48 of file RDisplayItem.hxx.
|
inline |
Definition at line 41 of file RDisplayItem.hxx.
| void RDisplayItem::SetObjectIDAsPtr | ( | const void * | ptr | ) |
Assign id using arbitrary pointer value Typically drawable pointer should be used here.
Definition at line 21 of file RDisplayItem.cxx.
|
inline |
Definition at line 46 of file RDisplayItem.hxx.
|
protected |
if true, just placeholder for drawable which does not changed
Definition at line 34 of file RDisplayItem.hxx.
|
protected |
! index inside current pad, used to produce fully-qualified id, not send to client
Definition at line 33 of file RDisplayItem.hxx.
|
protected |
unique object identifier
Definition at line 31 of file RDisplayItem.hxx.
|
protected |
style object
Definition at line 32 of file RDisplayItem.hxx.