class RCanvasDisplayItem
Display item for the RCanvas class, add canvas title and size
Definition at line 96 of file RPadDisplayItem.hxx.
Public Member Functions | |
RCanvasDisplayItem ()=default | |
~RCanvasDisplayItem () override=default | |
void | BuildFullId (const std::string &prefix) override |
Build full id, including prefix and object index. | |
void | SetTitle (const std::string &title) |
void | SetWindowSize (int width, int height) |
![]() | |
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. | |
![]() | |
RDisplayItem ()=default | |
RDisplayItem (bool dummy) | |
virtual | ~RDisplayItem () |
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 | |
std::string | fTitle |
title of the canvas | |
std::array< int, 2 > | fWinSize |
canvas window size | |
![]() | |
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 | |
![]() | |
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 | |
![]() | |
using | PadPrimitives_t = std::vector< std::unique_ptr< RDisplayItem > > |
![]() | |
static std::string | ObjectIDFromPtr (const void *ptr) |
Construct fillid using pointer value. | |
#include <ROOT/RPadDisplayItem.hxx>
|
default |
|
overridedefault |
|
inlineoverridevirtual |
Build full id, including prefix and object index.
Reimplemented from ROOT::Experimental::RDisplayItem.
Definition at line 107 of file RPadDisplayItem.hxx.
|
inline |
Definition at line 104 of file RPadDisplayItem.hxx.
Definition at line 105 of file RPadDisplayItem.hxx.
|
protected |
title of the canvas
Definition at line 99 of file RPadDisplayItem.hxx.
|
protected |
canvas window size
Definition at line 100 of file RPadDisplayItem.hxx.