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

Definition at line 37 of file RHistDrawable.hxx.

Classes

class  RReply
 
class  RRequest
 

Public Member Functions

 RHistDrawableBase ()
 
RAttrFill & AttrFill ()
 
RAttrLine & AttrLine ()
 
RAttrMarker & AttrMarker ()
 
RAttrText & AttrText ()
 
const RAttrFill & GetAttrFill () const
 
const RAttrLine & GetAttrLine () const
 
const RAttrMarker & GetAttrMarker () const
 
const RAttrText & GetAttrText () const
 
RHistDrawableBase & Optimize (bool on=true)
 
RHistDrawableBase & SetAttrFill (const RAttrFill &fill)
 
RHistDrawableBase & SetAttrLine (const RAttrLine &attr)
 
RHistDrawableBase & SetAttrMarker (const RAttrMarker &attr)
 
RHistDrawableBase & SetAttrText (const RAttrText &attr)
 
- Public Member Functions inherited from ROOT::Experimental::RDrawable
 RDrawable (const std::string &type)
 
virtual ~RDrawable ()
 
void ClearStyle ()
 
const std::string & GetCssClass () const
 
const std::string & 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)
 

Protected Member Functions

virtual std::unique_ptr< RDisplayItem > CreateHistDisplay (const RDisplayContext &)=0
 
std::unique_ptr< RDisplayItem > Display (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 &)
 
RAttrMap & GetAttrMap ()
 
const RAttrMap & GetAttrMap () 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
 
RDrawable & operator= (const RDrawable &)=delete
 
virtual void SetDrawableVersion (Version_t vers)
 

Private Attributes

RAttrFill fAttrFill {this, "fill"}
 ! hist fill attributes
 
RAttrLine fAttrLine {this, "line"}
 ! hist line attributes
 
RAttrText fAttrText {this, "text"}
 ! hist text attributes
 
RAttrValue< std::string > fKind {this, "kind", ""}
 ! hist draw kind
 
RAttrMarker fMarkerAttr {this, "marker"}
 ! hist marker attributes
 
RAttrValue< bool > fOptimize {this, "optimize", false}
 ! optimize drawing
 
RAttrValue< int > fSub {this, "sub", -1}
 ! hist draw sub kind
 

Friends

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:
[legend]

Constructor & Destructor Documentation

◆ RHistDrawableBase()

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

Definition at line 96 of file RHistDrawable.hxx.

Member Function Documentation

◆ AttrFill()

RAttrFill & ROOT::Experimental::RHistDrawableBase::AttrFill ( )
inline

Definition at line 104 of file RHistDrawable.hxx.

◆ AttrLine()

RAttrLine & ROOT::Experimental::RHistDrawableBase::AttrLine ( )
inline

Definition at line 100 of file RHistDrawable.hxx.

◆ AttrMarker()

RAttrMarker & ROOT::Experimental::RHistDrawableBase::AttrMarker ( )
inline

Definition at line 112 of file RHistDrawable.hxx.

◆ AttrText()

RAttrText & ROOT::Experimental::RHistDrawableBase::AttrText ( )
inline

Definition at line 108 of file RHistDrawable.hxx.

◆ 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)
inlineoverrideprotectedvirtual

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

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 67 of file RHistDrawable.hxx.

◆ GetAttrFill()

const RAttrFill & ROOT::Experimental::RHistDrawableBase::GetAttrFill ( ) const
inline

Definition at line 102 of file RHistDrawable.hxx.

◆ GetAttrLine()

const RAttrLine & ROOT::Experimental::RHistDrawableBase::GetAttrLine ( ) const
inline

Definition at line 98 of file RHistDrawable.hxx.

◆ GetAttrMarker()

const RAttrMarker & ROOT::Experimental::RHistDrawableBase::GetAttrMarker ( ) const
inline

Definition at line 110 of file RHistDrawable.hxx.

◆ GetAttrText()

const RAttrText & ROOT::Experimental::RHistDrawableBase::GetAttrText ( ) const
inline

Definition at line 106 of file RHistDrawable.hxx.

◆ GetDrawKind()

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

Definition at line 61 of file RHistDrawable.hxx.

◆ Is3D()

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

◆ IsFrameRequired()

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

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 48 of file RHistDrawable.hxx.

◆ Optimize()

RHistDrawableBase & ROOT::Experimental::RHistDrawableBase::Optimize ( bool  on = true)
inline

Definition at line 114 of file RHistDrawable.hxx.

◆ PopulateMenu()

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

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 50 of file RHistDrawable.hxx.

◆ SetAttrFill()

RHistDrawableBase & ROOT::Experimental::RHistDrawableBase::SetAttrFill ( const RAttrFill &  fill)
inline

Definition at line 103 of file RHistDrawable.hxx.

◆ SetAttrLine()

RHistDrawableBase & ROOT::Experimental::RHistDrawableBase::SetAttrLine ( const RAttrLine &  attr)
inline

Definition at line 99 of file RHistDrawable.hxx.

◆ SetAttrMarker()

RHistDrawableBase & ROOT::Experimental::RHistDrawableBase::SetAttrMarker ( const RAttrMarker &  attr)
inline

Definition at line 111 of file RHistDrawable.hxx.

◆ SetAttrText()

RHistDrawableBase & ROOT::Experimental::RHistDrawableBase::SetAttrText ( const RAttrText &  attr)
inline

Definition at line 107 of file RHistDrawable.hxx.

◆ SetDrawKind()

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

Definition at line 52 of file RHistDrawable.hxx.

Friends And Related Symbol Documentation

◆ RRequest

friend class RRequest
friend

Definition at line 94 of file RHistDrawable.hxx.

Member Data Documentation

◆ fAttrFill

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

! hist fill attributes

Definition at line 41 of file RHistDrawable.hxx.

◆ fAttrLine

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

! hist line attributes

Definition at line 40 of file RHistDrawable.hxx.

◆ fAttrText

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

! hist text attributes

Definition at line 42 of file RHistDrawable.hxx.

◆ fKind

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

! hist draw kind

Definition at line 38 of file RHistDrawable.hxx.

◆ fMarkerAttr

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

! hist marker attributes

Definition at line 43 of file RHistDrawable.hxx.

◆ fOptimize

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

! optimize drawing

Definition at line 44 of file RHistDrawable.hxx.

◆ fSub

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

! hist draw sub kind

Definition at line 39 of file RHistDrawable.hxx.

Libraries for ROOT::Experimental::RHistDrawableBase:

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