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 | |
| const RDrawable * | GetDrawable () const |
Public Member Functions inherited from ROOT::Experimental::RDisplayItem | |
| 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) |
Protected Attributes | |
| const RDrawable * | fDrawable {nullptr} |
| drawable | |
Protected Attributes inherited from ROOT::Experimental::RDisplayItem | |
| 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 | |
Additional Inherited Members | |
Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem | |
| static std::string | ObjectIDFromPtr (const void *ptr) |
| Construct fillid using pointer value. | |
#include <ROOT/RDisplayItem.hxx>
|
inline |
Definition at line 73 of file RDisplayItem.hxx.
|
override |
destructor
Definition at line 46 of file RDisplayItem.cxx.
|
inline |
Definition at line 78 of file RDisplayItem.hxx.
|
protected |
drawable
Definition at line 68 of file RDisplayItem.hxx.