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 ()
 
- 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 More...
 
RAttrLine line {this, "line"}
 ! hist line attributes More...
 
RAttrMarker marker {this, "marker"}
 ! hist marker attributes More...
 
RAttrValue< bool > optimize {this, "optimize", false}
 ! optimize drawing More...
 
RAttrText text {this, "text"}
 ! hist text attributes More...
 

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 std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &)
 Creates display item for drawable By default item contains drawable data itself. More...
 
virtual void Execute (const std::string &)
 
RAttrMapGetAttrMap ()
 
const RAttrMapGetAttrMap () const
 
Version_t GetVersion () const
 
virtual bool IsFrameRequired () 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 PopulateMenu (RMenuItems &)
 
void SetCssType (const char *csstype)
 
virtual void SetDrawableVersion (Version_t vers)
 

Private Attributes

RAttrValue< std::string > fKind {this, "kind", ""}
 ! hist draw kind More...
 
RAttrValue< int > fSub {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 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)
inlineoverrideprotectedvirtual

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
inlineprotected

Definition at line 56 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 43 of file RHistDrawable.hxx.

◆ PopulateMenu()

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

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 
)
inlineprotected

Definition at line 47 of file RHistDrawable.hxx.

Friends And Related Function Documentation

◆ RRequest

friend class RRequest
friend

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", ""}
private

! hist draw kind

Definition at line 38 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.

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


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