Display item for TObject with drawing options.
Definition at line 33 of file TObjectDisplayItem.hxx.
Public Member Functions | |
TObjectDisplayItem (const RDrawable &dr, int kind, const TObject *obj) | |
normal constructor, also copies drawable id and csstype | |
TObjectDisplayItem (int kind, const TObject *obj) | |
constructor for special objects like palette, takes ownership!! | |
~TObjectDisplayItem () override | |
void | UpdateColor (int color_indx, const std::string &color_value) |
Public Member Functions inherited from ROOT::Experimental::RIndirectDisplayItem | |
RIndirectDisplayItem ()=default | |
RIndirectDisplayItem (const RDrawable &dr) | |
Constructor. | |
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. | |
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::vector< int > | fColIndex |
stored color index | |
std::vector< std::string > | fColValue |
stored color value | |
std::string | fCssType |
CSS type. | |
int | fKind {0} |
object kind | |
const TObject * | fObject {nullptr} |
ROOT6 object. | |
bool | fOwner {false} |
! if object must be deleted | |
Protected Attributes inherited from ROOT::Experimental::RIndirectDisplayItem | |
const RAttrMap * | fAttr {nullptr} |
pointer on drawable attributes | |
const std::string * | fCssClass {nullptr} |
pointer on drawable class | |
const std::string * | fId {nullptr} |
pointer on drawable id | |
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 | |
RStyle * | fStyle {nullptr} |
style object | |
Additional Inherited Members | |
Static Public Member Functions inherited from ROOT::Experimental::RDisplayItem | |
static std::string | ObjectIDFromPtr (const void *ptr) |
Construct fillid using pointer value. | |
#include <ROOT/TObjectDisplayItem.hxx>
|
inline |
normal constructor, also copies drawable id and csstype
Definition at line 46 of file TObjectDisplayItem.hxx.
constructor for special objects like palette, takes ownership!!
Definition at line 54 of file TObjectDisplayItem.hxx.
|
inlineoverride |
Definition at line 61 of file TObjectDisplayItem.hxx.
|
inline |
Definition at line 66 of file TObjectDisplayItem.hxx.
|
protected |
stored color index
Definition at line 40 of file TObjectDisplayItem.hxx.
|
protected |
stored color value
Definition at line 41 of file TObjectDisplayItem.hxx.
|
protected |
CSS type.
Definition at line 38 of file TObjectDisplayItem.hxx.
|
protected |
object kind
Definition at line 36 of file TObjectDisplayItem.hxx.
|
protected |
ROOT6 object.
Definition at line 37 of file TObjectDisplayItem.hxx.
|
protected |
! if object must be deleted
Definition at line 39 of file TObjectDisplayItem.hxx.