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

Definition at line 37 of file RHistDrawable.hxx.

Classes

class  RReply
 
class  RRequest
 

Public Member Functions

 RHistDrawableBase ()
 
RAttrFillAttrFill ()
 
RAttrLineAttrLine ()
 
RAttrMarkerAttrMarker ()
 
RAttrTextAttrText ()
 
const RAttrFillGetAttrFill () const
 
const RAttrLineGetAttrLine () const
 
const RAttrMarkerGetAttrMarker () const
 
const RAttrTextGetAttrText () const
 
RHistDrawableBaseOptimize (bool on=true)
 
RHistDrawableBaseSetAttrFill (const RAttrFill &fill)
 
RHistDrawableBaseSetAttrLine (const RAttrLine &attr)
 
RHistDrawableBaseSetAttrMarker (const RAttrMarker &attr)
 
RHistDrawableBaseSetAttrText (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< RDisplayItemCreateHistDisplay (const RDisplayContext &)=0
 
std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &ctxt) override
 Creates display item for drawable By default item contains drawable data itself. More...
 
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. More...
 
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
 
RDrawableoperator= (const RDrawable &)=delete
 
virtual void SetDrawableVersion (Version_t vers)
 

Private Attributes

RAttrFill fAttrFill {this, "fill_"}
 ! hist fill attributes More...
 
RAttrLine fAttrLine {this, "line_"}
 ! hist line attributes More...
 
RAttrText fAttrText {this, "text_"}
 ! hist text attributes More...
 
RAttrValue< std::string > fKind {this, "kind", ""}
 ! hist draw kind More...
 
RAttrMarker fMarkerAttr {this, "marker_"}
 ! hist marker attributes More...
 
RAttrValue< boolfOptimize {this, "optimize", false}
 ! optimize drawing More...
 
RAttrValue< intfSub {this, "sub", -1}
 ! hist draw sub kind More...
 

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 Function 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.


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