class RPadBaseDisplayItem
Display item for the RPadBase class, includes primitives, attributes and frame
Definition at line 28 of file RPadDisplayItem.hxx.
Public Types | |
using | PadPrimitives_t = std::vector< std::unique_ptr< RDisplayItem > > |
Public Member Functions | |
RPadBaseDisplayItem ()=default | |
~RPadBaseDisplayItem () override=default | |
void | Add (std::unique_ptr< RDisplayItem > &&item, std::shared_ptr< RStyle > &&style) |
Add display item and style which should be used for it. | |
void | SetAttributes (const RAttrMap *f) |
void | SetPadStyle (std::shared_ptr< RStyle > &&style) |
Assign style for the pad. | |
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 RAttrMap * | fAttr {nullptr} |
temporary pointer on attributes | |
PadPrimitives_t | fPrimitives |
display items for all primitives in the pad | |
std::vector< std::shared_ptr< RStyle > > | fStyles |
! locked styles of the objects and pad until streaming is performed | |
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/RPadDisplayItem.hxx>
using ROOT::Experimental::RPadBaseDisplayItem::PadPrimitives_t = std::vector<std::unique_ptr<RDisplayItem> > |
Definition at line 31 of file RPadDisplayItem.hxx.
|
default |
|
overridedefault |
|
inline |
Add display item and style which should be used for it.
Definition at line 42 of file RPadDisplayItem.hxx.
|
inline |
Definition at line 40 of file RPadDisplayItem.hxx.
|
inline |
Assign style for the pad.
Definition at line 51 of file RPadDisplayItem.hxx.
|
protected |
temporary pointer on attributes
Definition at line 34 of file RPadDisplayItem.hxx.
|
protected |
display items for all primitives in the pad
Definition at line 35 of file RPadDisplayItem.hxx.
|
protected |
! locked styles of the objects and pad until streaming is performed
Definition at line 36 of file RPadDisplayItem.hxx.