Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RPadDisplayItem Class Reference

class RPadDisplayItem

Display item for the RPad class, add pad position and size

Author
Sergey Linev
Date
2017-05-31
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 68 of file RPadDisplayItem.hxx.

Public Member Functions

 RPadDisplayItem ()=default
 
 ~RPadDisplayItem () override
 
void BuildFullId (const std::string &prefix) override
 Build full id, including prefix and object index.
 
void SetPadPosSize (const RPadPos *pos, const RPadExtent *size)
 
- Public Member Functions inherited from ROOT::Experimental::RPadBaseDisplayItem
 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 ()
 
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 RPadPosfPos {nullptr}
 pad position
 
const RPadExtentfSize {nullptr}
 pad size
 
- Protected Attributes inherited from ROOT::Experimental::RPadBaseDisplayItem
const RAttrMapfAttr {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
 
RStylefStyle {nullptr}
 style object
 

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RPadBaseDisplayItem
using PadPrimitives_t = std::vector< std::unique_ptr< RDisplayItem > >
 
- 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>

Inheritance diagram for ROOT::Experimental::RPadDisplayItem:
[legend]

Constructor & Destructor Documentation

◆ RPadDisplayItem()

ROOT::Experimental::RPadDisplayItem::RPadDisplayItem ( )
default

◆ ~RPadDisplayItem()

ROOT::Experimental::RPadDisplayItem::~RPadDisplayItem ( )
inlineoverride

Definition at line 75 of file RPadDisplayItem.hxx.

Member Function Documentation

◆ BuildFullId()

void ROOT::Experimental::RPadDisplayItem::BuildFullId ( const std::string &  prefix)
inlineoverridevirtual

Build full id, including prefix and object index.

Reimplemented from ROOT::Experimental::RDisplayItem.

Definition at line 78 of file RPadDisplayItem.hxx.

◆ SetPadPosSize()

void ROOT::Experimental::RPadDisplayItem::SetPadPosSize ( const RPadPos pos,
const RPadExtent size 
)
inline

Definition at line 76 of file RPadDisplayItem.hxx.

Member Data Documentation

◆ fPos

const RPadPos* ROOT::Experimental::RPadDisplayItem::fPos {nullptr}
protected

pad position

Definition at line 71 of file RPadDisplayItem.hxx.

◆ fSize

const RPadExtent* ROOT::Experimental::RPadDisplayItem::fSize {nullptr}
protected

pad size

Definition at line 72 of file RPadDisplayItem.hxx.

Libraries for ROOT::Experimental::RPadDisplayItem:

The documentation for this class was generated from the following file: