Logo ROOT   6.16/01
Reference Guide
List of all members | Public Types | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::RHistDrawable< DIMENSIONS > Class Template Referencefinal

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

Definition at line 76 of file RHistDrawable.hxx.

Public Types

using HistImpl_t = Detail::RHistImplPrecisionAgnosticBase< DIMENSIONS >
 

Public Member Functions

 RHistDrawable ()
 
template<class HIST >
 RHistDrawable (const std::shared_ptr< HIST > &hist, const RHistDrawingOpts< DIMENSIONS > &opts={})
 
template<class HIST >
 RHistDrawable (std::unique_ptr< HIST > &&hist, const RHistDrawingOpts< DIMENSIONS > &opts={})
 
RHistDrawingOpts< DIMENSIONS > & GetOptions ()
 
const RHistDrawingOpts< DIMENSIONS > & GetOptions () const
 
void Paint (Internal::RPadPainter &pad) final
 Paint the histogram. More...
 
- Public Member Functions inherited from ROOT::Experimental::RHistDrawableBase< RHistDrawable< DIMENSIONS > >
virtual ~RHistDrawableBase ()
 
void Execute (const std::string &) final
 
void PopulateMenu (RMenuItems &) final
 Method can be used to provide menu items for the drawn object. More...
 
- Public Member Functions inherited from ROOT::Experimental::RDrawableBase< DERIVED >
RDrawingOptsBase & GetOptionsBase () override
 Get the reference to the drawing options as RDrawingOptsBase. More...
 
- Public Member Functions inherited from ROOT::Experimental::RDrawable
virtual ~RDrawable ()
 
virtual void Execute (const std::string &)
 
std::string GetId () const
 
virtual RDrawingOptsBase & GetOptionsBase ()=0
 Get the reference to the drawing options as RDrawingOptsBase. More...
 
virtual void Paint (Internal::RPadPainter &onPad)=0
 
virtual void PopulateMenu (RMenuItems &)
 Method can be used to provide menu items for the drawn object. More...
 

Private Attributes

Internal::TUniWeakPtr< HistImpl_tfHistImpl
 
RHistDrawingOpts< DIMENSIONS > fOpts
 

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

Constructor & Destructor Documentation

◆ RHistDrawable() [1/3]

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

◆ RHistDrawable() [2/3]

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::RHistDrawable< DIMENSIONS >::RHistDrawable ( const std::shared_ptr< HIST > &  hist,
const RHistDrawingOpts< DIMENSIONS > &  opts = {} 
)
inline

Definition at line 88 of file RHistDrawable.hxx.

◆ RHistDrawable() [3/3]

template<int DIMENSIONS>
template<class HIST >
ROOT::Experimental::RHistDrawable< DIMENSIONS >::RHistDrawable ( std::unique_ptr< HIST > &&  hist,
const RHistDrawingOpts< DIMENSIONS > &  opts = {} 
)
inline

Definition at line 93 of file RHistDrawable.hxx.

Member Function Documentation

◆ GetOptions() [1/2]

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

Definition at line 100 of file RHistDrawable.hxx.

◆ GetOptions() [2/2]

template<int DIMENSIONS>
const RHistDrawingOpts< DIMENSIONS > & ROOT::Experimental::RHistDrawable< DIMENSIONS >::GetOptions ( ) const
inline

Definition at line 101 of file RHistDrawable.hxx.

◆ Paint()

template<int DIMENSIONS>
void RHistDrawable::Paint ( Internal::RPadPainter pad)
finalvirtual

Paint the histogram.

Implements ROOT::Experimental::RDrawable.

Definition at line 75 of file RHistDrawable.cxx.

Member Data Documentation

◆ fHistImpl

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

Definition at line 81 of file RHistDrawable.hxx.

◆ fOpts

template<int DIMENSIONS>
RHistDrawingOpts<DIMENSIONS> ROOT::Experimental::RHistDrawable< DIMENSIONS >::fOpts
private

Definition at line 82 of file RHistDrawable.hxx.

Libraries for ROOT::Experimental::RHistDrawable< DIMENSIONS >:
[legend]

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