Logo ROOT   6.18/05
Reference Guide
List of all members | Public Types | Public Member Functions | Protected Attributes | List of all members
ROOT::Experimental::RPadDisplayItem Class Reference

Display item for the pad Includes different graphical properties of the pad itself plus list of created items for all primitives.

Definition at line 30 of file RPadDisplayItem.hxx.

Public Types

using PadPrimitives_t = std::vector< std::unique_ptr< RDisplayItem > >
 

Public Member Functions

 RPadDisplayItem ()=default
 
virtual ~RPadDisplayItem ()
 
void Add (std::unique_ptr< RDisplayItem > &&item)
 
void Clear ()
 
PadPrimitives_tGetPrimitives ()
 
void SetDrawOpts (const RPad::DrawingOpts *opts)
 
void SetFrame (const RFrame *f)
 
void SetPos (const RPadPos *pos)
 
void SetSize (const RPadExtent *sz)
 
void SetTitle (const std::string &title)
 
void SetWindowSize (const std::array< RPadLength::Pixel, 2 > &win)
 
- Public Member Functions inherited from ROOT::Experimental::RDisplayItem
 RDisplayItem ()=default
 
virtual ~RDisplayItem ()
 
std::string GetObjectID () const
 
void SetObjectID (const std::string &id)
 

Protected Attributes

const RPad::DrawingOptsfDrawOpts {nullptr}
 temporary pointer on pad drawing options More...
 
const RFramefFrame {nullptr}
 temporary pointer on frame object More...
 
const RPadPosfPos {nullptr}
 temporary pointer on pad position attribute More...
 
PadPrimitives_t fPrimitives
 display items for all primitives in the pad More...
 
const RPadExtentfSize {nullptr}
 temporary pointer on pad size attributes More...
 
std::string fTitle
 title of the pad (used for canvas) More...
 
std::array< RPadLength::Pixel, 2 > fWinSize
 window size (used for canvas) More...
 
- Protected Attributes inherited from ROOT::Experimental::RDisplayItem
std::string fObjectID
 unique object identifier More...
 

#include <ROOT/RPadDisplayItem.hxx>

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

Member Typedef Documentation

◆ PadPrimitives_t

Definition at line 33 of file RPadDisplayItem.hxx.

Constructor & Destructor Documentation

◆ RPadDisplayItem()

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

◆ ~RPadDisplayItem()

virtual ROOT::Experimental::RPadDisplayItem::~RPadDisplayItem ( )
inlinevirtual

Definition at line 45 of file RPadDisplayItem.hxx.

Member Function Documentation

◆ Add()

void ROOT::Experimental::RPadDisplayItem::Add ( std::unique_ptr< RDisplayItem > &&  item)
inline

Definition at line 53 of file RPadDisplayItem.hxx.

◆ Clear()

void ROOT::Experimental::RPadDisplayItem::Clear ( )
inline

Definition at line 54 of file RPadDisplayItem.hxx.

◆ GetPrimitives()

PadPrimitives_t & ROOT::Experimental::RPadDisplayItem::GetPrimitives ( )
inline

Definition at line 52 of file RPadDisplayItem.hxx.

◆ SetDrawOpts()

void ROOT::Experimental::RPadDisplayItem::SetDrawOpts ( const RPad::DrawingOpts opts)
inline

Definition at line 47 of file RPadDisplayItem.hxx.

◆ SetFrame()

void ROOT::Experimental::RPadDisplayItem::SetFrame ( const RFrame f)
inline

Definition at line 46 of file RPadDisplayItem.hxx.

◆ SetPos()

void ROOT::Experimental::RPadDisplayItem::SetPos ( const RPadPos pos)
inline

Definition at line 48 of file RPadDisplayItem.hxx.

◆ SetSize()

void ROOT::Experimental::RPadDisplayItem::SetSize ( const RPadExtent sz)
inline

Definition at line 49 of file RPadDisplayItem.hxx.

◆ SetTitle()

void ROOT::Experimental::RPadDisplayItem::SetTitle ( const std::string &  title)
inline

Definition at line 50 of file RPadDisplayItem.hxx.

◆ SetWindowSize()

void ROOT::Experimental::RPadDisplayItem::SetWindowSize ( const std::array< RPadLength::Pixel, 2 > &  win)
inline

Definition at line 51 of file RPadDisplayItem.hxx.

Member Data Documentation

◆ fDrawOpts

const RPad::DrawingOpts* ROOT::Experimental::RPadDisplayItem::fDrawOpts {nullptr}
protected

temporary pointer on pad drawing options

Definition at line 37 of file RPadDisplayItem.hxx.

◆ fFrame

const RFrame* ROOT::Experimental::RPadDisplayItem::fFrame {nullptr}
protected

temporary pointer on frame object

Definition at line 36 of file RPadDisplayItem.hxx.

◆ fPos

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

temporary pointer on pad position attribute

Definition at line 38 of file RPadDisplayItem.hxx.

◆ fPrimitives

PadPrimitives_t ROOT::Experimental::RPadDisplayItem::fPrimitives
protected

display items for all primitives in the pad

Definition at line 42 of file RPadDisplayItem.hxx.

◆ fSize

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

temporary pointer on pad size attributes

Definition at line 39 of file RPadDisplayItem.hxx.

◆ fTitle

std::string ROOT::Experimental::RPadDisplayItem::fTitle
protected

title of the pad (used for canvas)

Definition at line 40 of file RPadDisplayItem.hxx.

◆ fWinSize

std::array<RPadLength::Pixel, 2> ROOT::Experimental::RPadDisplayItem::fWinSize
protected

window size (used for canvas)

Definition at line 41 of file RPadDisplayItem.hxx.

Libraries for ROOT::Experimental::RPadDisplayItem:
[legend]

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