Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RHistDrawable< DIMENSIONS > Class Template Reference

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

Definition at line 102 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 ()=default
 
template<class HIST >
 RHistDrawable (const std::shared_ptr< HIST > &hist)
 
 ~RHistDrawable () override=default
 
std::shared_ptr< HistImpl_tGetHist () const
 
- Public Member Functions inherited from ROOT::Experimental::RHistDrawableBase
 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)
 

Protected Member Functions

void CollectShared (Internal::RIOSharedVector_t &vect) override
 
- Protected Member Functions inherited from ROOT::Experimental::RHistDrawableBase
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 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)
 

Protected Attributes

Internal::RIOShared< HistImpl_tfHistImpl
 I/O capable reference on histogram.
 

Additional Inherited Members

- Public Attributes inherited from ROOT::Experimental::RHistDrawableBase
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
 

#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 104 of file RHistDrawable.hxx.

Constructor & Destructor Documentation

◆ RHistDrawable() [1/2]

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

◆ ~RHistDrawable()

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

◆ RHistDrawable() [2/2]

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

Definition at line 117 of file RHistDrawable.hxx.

Member Function Documentation

◆ CollectShared()

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

Reimplemented from ROOT::Experimental::RDrawable.

Definition at line 110 of file RHistDrawable.hxx.

◆ GetHist()

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

Definition at line 122 of file RHistDrawable.hxx.

Member Data Documentation

◆ fHistImpl

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

I/O capable reference on histogram.

Definition at line 108 of file RHistDrawable.hxx.

  • hist/histdrawv7/inc/ROOT/RHistDrawable.hxx