class RPadDisplayItem
Display item for the RPad class, add pad position and size
Definition at line 68 of file RPadDisplayItem.hxx.
Public Types | |
| using | PadPrimitives_t = std::vector<std::unique_ptr<RDisplayItem>> |
Public Member Functions | |
| RPadDisplayItem ()=default | |
| ~RPadDisplayItem () override | |
| void | Add (std::unique_ptr< RDisplayItem > &&item, std::shared_ptr< RStyle > &&style) |
| Add display item and style which should be used for it. | |
| void | BuildFullId (const std::string &prefix) override |
| Build full id, including prefix and object index. | |
| unsigned | GetIndex () const |
| std::string | GetObjectID () const |
| void | SetAttributes (const RAttrMap *f) |
| 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 | SetPadPosSize (const RPadPos *pos, const RPadExtent *size) |
| void | SetPadStyle (std::shared_ptr< RStyle > &&style) |
| Assign style for the pad. | |
| void | SetStyle (RStyle *style) |
Static Public Member Functions | |
| static std::string | ObjectIDFromPtr (const void *ptr) |
| Construct fillid using pointer value. | |
Protected Attributes | |
| const RAttrMap * | fAttr {nullptr} |
| temporary pointer on 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 | |
| const RPadPos * | fPos {nullptr} |
| pad position | |
| PadPrimitives_t | fPrimitives |
| display items for all primitives in the pad | |
| const RPadExtent * | fSize {nullptr} |
| pad size | |
| RStyle * | fStyle {nullptr} |
| style object | |
| std::vector< std::shared_ptr< RStyle > > | fStyles |
| ! locked styles of the objects and pad until streaming is performed | |
#include <ROOT/RPadDisplayItem.hxx>
|
inherited |
Definition at line 31 of file RPadDisplayItem.hxx.
|
default |
|
inlineoverride |
Definition at line 75 of file RPadDisplayItem.hxx.
|
inlineinherited |
Add display item and style which should be used for it.
Definition at line 42 of file RPadDisplayItem.hxx.
|
inlineoverridevirtual |
Build full id, including prefix and object index.
Reimplemented from ROOT::Experimental::RDisplayItem.
Definition at line 78 of file RPadDisplayItem.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.
Definition at line 40 of file RPadDisplayItem.hxx.
|
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.
|
inline |
Definition at line 76 of file RPadDisplayItem.hxx.
|
inlineinherited |
Assign style for the pad.
Definition at line 51 of file RPadDisplayItem.hxx.
|
inlineinherited |
Definition at line 46 of file RDisplayItem.hxx.
temporary pointer on attributes
Definition at line 34 of file RPadDisplayItem.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.
pad position
Definition at line 71 of file RPadDisplayItem.hxx.
|
protectedinherited |
display items for all primitives in the pad
Definition at line 35 of file RPadDisplayItem.hxx.
|
protected |
pad size
Definition at line 72 of file RPadDisplayItem.hxx.
|
protectedinherited |
style object
Definition at line 32 of file RDisplayItem.hxx.
|
protectedinherited |
! locked styles of the objects and pad until streaming is performed
Definition at line 36 of file RPadDisplayItem.hxx.