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

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

Definition at line 77 of file THistDrawable.hxx.

Public Types

using HistImpl_t = Detail::THistImplPrecisionAgnosticBase< DIMENSIONS >
 

Public Member Functions

 THistDrawable ()
 
template<class HIST >
 THistDrawable (const std::shared_ptr< HIST > &hist, const THistDrawingOpts< DIMENSIONS > &opts={})
 
template<class HIST >
 THistDrawable (std::unique_ptr< HIST > &&hist, const THistDrawingOpts< DIMENSIONS > &opts={})
 
THistDrawingOpts< DIMENSIONS > & GetOptions ()
 
const THistDrawingOpts< DIMENSIONS > & GetOptions () const
 
void Paint (Internal::TPadPainter &pad) final
 Paint the histogram. More...
 
- Public Member Functions inherited from ROOT::Experimental::THistDrawableBase< THistDrawable< DIMENSIONS > >
virtual ~THistDrawableBase ()=default
 
void Execute (const std::string &) final
 
void PopulateMenu (TMenuItems &) final
 Method can be used to provide menu items for the drawn object. More...
 
- Public Member Functions inherited from ROOT::Experimental::TDrawableBase< THistDrawable< DIMENSIONS > >
TDrawingOptsBase & GetOptionsBase () override
 Get the reference to the drawing options as TDrawingOptsBase. More...
 
- Public Member Functions inherited from ROOT::Experimental::TDrawable
virtual ~TDrawable ()
 
std::string GetId () const
 

Private Attributes

Internal::TUniWeakPtr< HistImpl_tfHistImpl
 
THistDrawingOpts< DIMENSIONS > fOpts
 

#include <ROOT/THistDrawable.hxx>

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

Member Typedef Documentation

◆ HistImpl_t

template<int DIMENSIONS>
using ROOT::Experimental::THistDrawable< DIMENSIONS >::HistImpl_t = Detail::THistImplPrecisionAgnosticBase<DIMENSIONS>

Definition at line 79 of file THistDrawable.hxx.

Constructor & Destructor Documentation

◆ THistDrawable() [1/3]

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

◆ THistDrawable() [2/3]

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

Definition at line 89 of file THistDrawable.hxx.

◆ THistDrawable() [3/3]

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

Definition at line 94 of file THistDrawable.hxx.

Member Function Documentation

◆ GetOptions() [1/2]

template<int DIMENSIONS>
THistDrawingOpts<DIMENSIONS>& ROOT::Experimental::THistDrawable< DIMENSIONS >::GetOptions ( )
inline

Definition at line 101 of file THistDrawable.hxx.

◆ GetOptions() [2/2]

template<int DIMENSIONS>
const THistDrawingOpts<DIMENSIONS>& ROOT::Experimental::THistDrawable< DIMENSIONS >::GetOptions ( ) const
inline

Definition at line 102 of file THistDrawable.hxx.

◆ Paint()

template<int DIMENSIONS>
void THistDrawable::Paint ( Internal::TPadPainter pad)
finalvirtual

Paint the histogram.

Implements ROOT::Experimental::TDrawable.

Definition at line 75 of file THistDrawable.cxx.

Member Data Documentation

◆ fHistImpl

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

Definition at line 82 of file THistDrawable.hxx.

◆ fOpts

template<int DIMENSIONS>
THistDrawingOpts<DIMENSIONS> ROOT::Experimental::THistDrawable< DIMENSIONS >::fOpts
private

Definition at line 83 of file THistDrawable.hxx.

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

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