Logo ROOT  
Reference Guide
ROOT::Experimental::RObjectDisplayItem Class Reference

Display item for TObject with drawing options.

Author
Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
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 114 of file RDisplayItem.hxx.

Public Member Functions

 RObjectDisplayItem (const TObject *obj, const std::string &opt)
 
- 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. More...
 
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. More...
 
void SetStyle (RStyle *style)
 

Protected Attributes

const TObjectfObject {nullptr}
 ROOT6 object. More...
 
std::string fOption
 drawing options More...
 
- Protected Attributes inherited from ROOT::Experimental::RDisplayItem
bool fDummy {false}
 if true, just placeholder for drawable which does not changed More...
 
unsigned fIndex {0}
 ! index inside current pad, used to produce fully-qualified id, not send to client More...
 
std::string fObjectID
 unique object identifier More...
 
RStylefStyle {nullptr}
 style object More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem
static std::string ObjectIDFromPtr (const void *ptr)
 Construct fillid using pointer value. More...
 

#include <ROOT/RDisplayItem.hxx>

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

Constructor & Destructor Documentation

◆ RObjectDisplayItem()

ROOT::Experimental::RObjectDisplayItem::RObjectDisplayItem ( const TObject obj,
const std::string &  opt 
)
inline

Definition at line 122 of file RDisplayItem.hxx.

Member Data Documentation

◆ fObject

const TObject* ROOT::Experimental::RObjectDisplayItem::fObject {nullptr}
protected

ROOT6 object.

Definition at line 117 of file RDisplayItem.hxx.

◆ fOption

std::string ROOT::Experimental::RObjectDisplayItem::fOption
protected

drawing options

Definition at line 118 of file RDisplayItem.hxx.

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

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