Logo ROOT  
Reference Guide
ROOT::Experimental::RHistDrawable< DIMENSIONS > Class Template Reference

template<int DIMENSIONS>
class ROOT::Experimental::RHistDrawable< DIMENSIONS >

Definition at line 46 of file RHistDrawable.hxx.

Public Types

using HistImpl_t = Detail::RHistImplPrecisionAgnosticBase< DIMENSIONS >
 
- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
 

Public Member Functions

 RHistDrawable ()
 
template<class HIST >
 RHistDrawable (const std::shared_ptr< HIST > &hist)
 
virtual ~RHistDrawable ()=default
 
RAttrFillAttrFill ()
 
RAttrLineAttrLine ()
 
RAttrMarkerAttrMarker ()
 
RAttrTextAttrText ()
 
const RAttrFillGetAttrFill () const
 
const RAttrLineGetAttrLine () const
 
const RAttrMarkerGetAttrMarker () const
 
const RAttrTextGetAttrText () const
 
std::shared_ptr< HistImpl_tGetHist () const
 
RHistDrawableSetAttrFill (const RAttrFill &fill)
 
RHistDrawableSetAttrLine (const RAttrLine &attr)
 
RHistDrawableSetAttrMarker (const RAttrMarker &attr)
 
RHistDrawableSetAttrText (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

void CollectShared (Internal::RIOSharedVector_t &vect) override
 
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 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
 
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...
 
Internal::RIOShared< HistImpl_tfHistImpl
 I/O capable reference on histogram. More...
 
RAttrValue< std::string > fKind {this, "kind", ""}
 ! hist draw kind More...
 
RAttrMarker fMarkerAttr {this, "marker_"}
 ! hist marker attributes More...
 
RAttrValue< intfSub {this, "sub", -1}
 ! hist draw sub kind More...
 

#include <ROOT/RHistDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RHistDrawable< DIMENSIONS >:
[legend]

Member Typedef Documentation

◆ HistImpl_t

template<int DIMENSIONS>
using ROOT::Experimental::RHistDrawable< DIMENSIONS >::HistImpl_t = Detail::RHistImplPrecisionAgnosticBase<DIMENSIONS>

Definition at line 54 of file RHistDrawable.hxx.

Constructor & Destructor Documentation

◆ RHistDrawable() [1/2]

template<int DIMENSIONS>
ROOT::Experimental::RHistDrawable< DIMENSIONS >::RHistDrawable ( )
inline

Definition at line 87 of file RHistDrawable.hxx.

◆ ~RHistDrawable()

template<int DIMENSIONS>
virtual ROOT::Experimental::RHistDrawable< DIMENSIONS >::~RHistDrawable ( )
virtualdefault

◆ RHistDrawable() [2/2]

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::RHistDrawable< DIMENSIONS >::RHistDrawable ( const std::shared_ptr< HIST > &  hist)
inline

Definition at line 91 of file RHistDrawable.hxx.

Member Function Documentation

◆ AttrFill()

template<int DIMENSIONS>
RAttrFill& ROOT::Experimental::RHistDrawable< DIMENSIONS >::AttrFill ( )
inline

Definition at line 104 of file RHistDrawable.hxx.

◆ AttrLine()

template<int DIMENSIONS>
RAttrLine& ROOT::Experimental::RHistDrawable< DIMENSIONS >::AttrLine ( )
inline

Definition at line 100 of file RHistDrawable.hxx.

◆ AttrMarker()

template<int DIMENSIONS>
RAttrMarker& ROOT::Experimental::RHistDrawable< DIMENSIONS >::AttrMarker ( )
inline

Definition at line 112 of file RHistDrawable.hxx.

◆ AttrText()

template<int DIMENSIONS>
RAttrText& ROOT::Experimental::RHistDrawable< DIMENSIONS >::AttrText ( )
inline

Definition at line 108 of file RHistDrawable.hxx.

◆ CollectShared()

template<int DIMENSIONS>
void ROOT::Experimental::RHistDrawable< DIMENSIONS >::CollectShared ( Internal::RIOSharedVector_t vect)
inlineoverrideprotectedvirtual

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 68 of file RHistDrawable.hxx.

◆ GetAttrFill()

template<int DIMENSIONS>
const RAttrFill& ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetAttrFill ( ) const
inline

Definition at line 102 of file RHistDrawable.hxx.

◆ GetAttrLine()

template<int DIMENSIONS>
const RAttrLine& ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetAttrLine ( ) const
inline

Definition at line 98 of file RHistDrawable.hxx.

◆ GetAttrMarker()

template<int DIMENSIONS>
const RAttrMarker& ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetAttrMarker ( ) const
inline

Definition at line 110 of file RHistDrawable.hxx.

◆ GetAttrText()

template<int DIMENSIONS>
const RAttrText& ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetAttrText ( ) const
inline

Definition at line 106 of file RHistDrawable.hxx.

◆ GetHist()

template<int DIMENSIONS>
std::shared_ptr<HistImpl_t> ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetHist ( ) const
inline

Definition at line 96 of file RHistDrawable.hxx.

◆ IsFrameRequired()

template<int DIMENSIONS>
bool ROOT::Experimental::RHistDrawable< DIMENSIONS >::IsFrameRequired ( ) const
inlinefinalprotectedvirtual

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 70 of file RHistDrawable.hxx.

◆ PopulateMenu()

template<int DIMENSIONS>
void ROOT::Experimental::RHistDrawable< DIMENSIONS >::PopulateMenu ( RMenuItems )
inlineoverrideprotectedvirtual

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 72 of file RHistDrawable.hxx.

◆ SetAttrFill()

template<int DIMENSIONS>
RHistDrawable& ROOT::Experimental::RHistDrawable< DIMENSIONS >::SetAttrFill ( const RAttrFill fill)
inline

Definition at line 103 of file RHistDrawable.hxx.

◆ SetAttrLine()

template<int DIMENSIONS>
RHistDrawable& ROOT::Experimental::RHistDrawable< DIMENSIONS >::SetAttrLine ( const RAttrLine attr)
inline

Definition at line 99 of file RHistDrawable.hxx.

◆ SetAttrMarker()

template<int DIMENSIONS>
RHistDrawable& ROOT::Experimental::RHistDrawable< DIMENSIONS >::SetAttrMarker ( const RAttrMarker attr)
inline

Definition at line 111 of file RHistDrawable.hxx.

◆ SetAttrText()

template<int DIMENSIONS>
RHistDrawable& ROOT::Experimental::RHistDrawable< DIMENSIONS >::SetAttrText ( const RAttrText attr)
inline

Definition at line 107 of file RHistDrawable.hxx.

◆ SetDrawKind()

template<int DIMENSIONS>
void ROOT::Experimental::RHistDrawable< DIMENSIONS >::SetDrawKind ( const std::string &  kind,
int  sub = -1 
)
inlineprotected

Definition at line 77 of file RHistDrawable.hxx.

Member Data Documentation

◆ fAttrFill

template<int DIMENSIONS>
RAttrFill ROOT::Experimental::RHistDrawable< DIMENSIONS >::fAttrFill {this, "fill_"}
private

! hist fill attributes

Definition at line 62 of file RHistDrawable.hxx.

◆ fAttrLine

template<int DIMENSIONS>
RAttrLine ROOT::Experimental::RHistDrawable< DIMENSIONS >::fAttrLine {this, "line_"}
private

! hist line attributes

Definition at line 61 of file RHistDrawable.hxx.

◆ fAttrText

template<int DIMENSIONS>
RAttrText ROOT::Experimental::RHistDrawable< DIMENSIONS >::fAttrText {this, "text_"}
private

! hist text attributes

Definition at line 63 of file RHistDrawable.hxx.

◆ fHistImpl

template<int DIMENSIONS>
Internal::RIOShared<HistImpl_t> ROOT::Experimental::RHistDrawable< DIMENSIONS >::fHistImpl
private

I/O capable reference on histogram.

Definition at line 57 of file RHistDrawable.hxx.

◆ fKind

template<int DIMENSIONS>
RAttrValue<std::string> ROOT::Experimental::RHistDrawable< DIMENSIONS >::fKind {this, "kind", ""}
private

! hist draw kind

Definition at line 59 of file RHistDrawable.hxx.

◆ fMarkerAttr

template<int DIMENSIONS>
RAttrMarker ROOT::Experimental::RHistDrawable< DIMENSIONS >::fMarkerAttr {this, "marker_"}
private

! hist marker attributes

Definition at line 64 of file RHistDrawable.hxx.

◆ fSub

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

! hist draw sub kind

Definition at line 60 of file RHistDrawable.hxx.


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