Logo ROOT  
Reference Guide
No Matches
ROOT::Experimental::RHistDrawableBase Class Referenceabstract

Definition at line 37 of file RHistDrawable.hxx.


class  RReply
class  RRequest

Public Member Functions

 RHistDrawableBase ()
- Public Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const char *csstype)
virtual ~RDrawable ()
void ClearStyle ()
const std::string & GetCssClass () const
const char * GetCssType () const
const std::string & GetId () const
void SetCssClass (const std::string &cl)
void SetId (const std::string &id)
virtual void UseStyle (const std::shared_ptr< RStyle > &style)

Public Attributes

RAttrFill fill {this, "fill"}
 ! hist fill attributes
RAttrLine line {this, "line"}
 ! hist line attributes
RAttrMarker marker {this, "marker"}
 ! hist marker attributes
RAttrValue< booloptimize {this, "optimize", false}
 ! optimize drawing
RAttrText text {this, "text"}
 ! hist text attributes

Protected Member Functions

virtual std::unique_ptr< RDisplayItemCreateHistDisplay (const RDisplayContext &)=0
std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &ctxt) override
 Creates display item for drawable By default item contains drawable data itself.
std::string GetDrawKind () const
virtual bool Is3D () const
bool IsFrameRequired () const final
void PopulateMenu (RMenuItems &) override
void SetDrawKind (const std::string &kind, int sub=-1)
- Protected Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const RDrawable &)=delete
virtual void CollectShared (Internal::RIOSharedVector_t &)
virtual void Execute (const std::string &)
RAttrMapGetAttrMap ()
const RAttrMapGetAttrMap () const
Version_t GetVersion () const
bool MatchSelector (const std::string &selector) const
 Preliminary method which checks if drawable matches with given selector Following selector are allowed: "type" or "#id" or ".class_name" Here type is drawable kind like 'rect' or 'pad' id is drawable identifier, specified with RDrawable::SetId() method class_name is drawable class name, specified with RDrawable::SetCssClass() method.
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
RDrawableoperator= (const RDrawable &)=delete
void SetCssType (const char *csstype)
virtual void SetDrawableVersion (Version_t vers)

Private Attributes

RAttrValue< std::string > fKind {this, "kind", ""}
 ! hist draw kind
RAttrValue< intfSub {this, "sub", -1}
 ! hist draw sub kind


class RRequest

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t

#include <ROOT/RHistDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RHistDrawableBase:

Constructor & Destructor Documentation

◆ RHistDrawableBase()

ROOT::Experimental::RHistDrawableBase::RHistDrawableBase ( )

Definition at line 97 of file RHistDrawable.hxx.

Member Function Documentation

◆ CreateHistDisplay()

virtual std::unique_ptr< RDisplayItem > ROOT::Experimental::RHistDrawableBase::CreateHistDisplay ( const RDisplayContext )
protectedpure virtual

◆ Display()

std::unique_ptr< RDisplayItem > ROOT::Experimental::RHistDrawableBase::Display ( const RDisplayContext ctxt)

Creates display item for drawable By default item contains drawable data itself.

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 62 of file RHistDrawable.hxx.

◆ GetDrawKind()

std::string ROOT::Experimental::RHistDrawableBase::GetDrawKind ( ) const

Definition at line 56 of file RHistDrawable.hxx.

◆ Is3D()

virtual bool ROOT::Experimental::RHistDrawableBase::Is3D ( ) const

◆ IsFrameRequired()

bool ROOT::Experimental::RHistDrawableBase::IsFrameRequired ( ) const

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 43 of file RHistDrawable.hxx.

◆ PopulateMenu()

void ROOT::Experimental::RHistDrawableBase::PopulateMenu ( RMenuItems )

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 45 of file RHistDrawable.hxx.

◆ SetDrawKind()

void ROOT::Experimental::RHistDrawableBase::SetDrawKind ( const std::string &  kind,
int  sub = -1 

Definition at line 47 of file RHistDrawable.hxx.

Friends And Related Symbol Documentation

◆ RRequest

friend class RRequest

Definition at line 89 of file RHistDrawable.hxx.

Member Data Documentation

◆ fill

RAttrFill ROOT::Experimental::RHistDrawableBase::fill {this, "fill"}

! hist fill attributes

Definition at line 92 of file RHistDrawable.hxx.

◆ fKind

RAttrValue<std::string> ROOT::Experimental::RHistDrawableBase::fKind {this, "kind", ""}

! hist draw kind

Definition at line 38 of file RHistDrawable.hxx.

◆ fSub

RAttrValue<int> ROOT::Experimental::RHistDrawableBase::fSub {this, "sub", -1}

! hist draw sub kind

Definition at line 39 of file RHistDrawable.hxx.

◆ line

RAttrLine ROOT::Experimental::RHistDrawableBase::line {this, "line"}

! hist line attributes

Definition at line 91 of file RHistDrawable.hxx.

◆ marker

RAttrMarker ROOT::Experimental::RHistDrawableBase::marker {this, "marker"}

! hist marker attributes

Definition at line 93 of file RHistDrawable.hxx.

◆ optimize

RAttrValue<bool> ROOT::Experimental::RHistDrawableBase::optimize {this, "optimize", false}

! optimize drawing

Definition at line 95 of file RHistDrawable.hxx.

◆ text

RAttrText ROOT::Experimental::RHistDrawableBase::text {this, "text"}

! hist text attributes

Definition at line 94 of file RHistDrawable.hxx.

Libraries for ROOT::Experimental::RHistDrawableBase:

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