Generic display item for RDrawable, just reference drawable itself.
Definition at line 65 of file RDisplayItem.hxx.
Public Member Functions | |
| template<class DRAWABLE > | |
| RDrawableDisplayItem (const DRAWABLE &dr) | |
| ~RDrawableDisplayItem () override | |
| destructor | |
| virtual void | BuildFullId (const std::string &prefix) |
| Build full id, including prefix and object index. | |
| const RDrawable * | GetDrawable () const |
| 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 | |
| const RDrawable * | fDrawable {nullptr} |
| drawable | |
| 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 | |
#include <ROOT/RDisplayItem.hxx>
Definition at line 73 of file RDisplayItem.hxx.
|
override |
destructor
Definition at line 46 of file RDisplayItem.cxx.
|
virtualinherited |
Build full id, including prefix and object index.
Reimplemented in ROOT::Experimental::RPadDisplayItem, and ROOT::Experimental::RCanvasDisplayItem.
Definition at line 29 of file RDisplayItem.cxx.
Definition at line 78 of file RDisplayItem.hxx.
|
inlineinherited |
Definition at line 49 of file RDisplayItem.hxx.
|
inlineinherited |
Definition at line 42 of file RDisplayItem.hxx.
|
staticinherited |
Construct fillid using pointer value.
Definition at line 37 of file RDisplayItem.cxx.
|
inlineinherited |
Definition at line 48 of file RDisplayItem.hxx.
|
inlineinherited |
Definition at line 41 of file RDisplayItem.hxx.
|
inherited |
Assign id using arbitrary pointer value Typically drawable pointer should be used here.
Definition at line 21 of file RDisplayItem.cxx.
|
inlineinherited |
Definition at line 46 of file RDisplayItem.hxx.
drawable
Definition at line 68 of file RDisplayItem.hxx.
if true, just placeholder for drawable which does not changed
Definition at line 34 of file RDisplayItem.hxx.
|
protectedinherited |
! index inside current pad, used to produce fully-qualified id, not send to client
Definition at line 33 of file RDisplayItem.hxx.
|
protectedinherited |
unique object identifier
Definition at line 31 of file RDisplayItem.hxx.
|
protectedinherited |
style object
Definition at line 32 of file RDisplayItem.hxx.