Logo ROOT  
Reference Guide
No Matches
ROOT::Experimental::RHist2Drawable Class Referencefinal

Definition at line 174 of file RHistDrawable.hxx.

Public Member Functions

 RHist2Drawable ()=default
template<class HIST >
 RHist2Drawable (const std::shared_ptr< HIST > &hist)
RHist2DrawableArrow ()
RHist2DrawableBox (int kind=0)
RHist2DrawableColor ()
RHist2DrawableContour (int kind=0)
RHist2DrawableError ()
RHist2DrawableLego (int kind=0)
RHist2DrawableScatter ()
RHist2DrawableSurf (int kind=0)
RHist2DrawableText (bool on=true)
- Public Member Functions inherited from ROOT::Experimental::RHistDrawable< 2 >
 RHistDrawable ()=default
 RHistDrawable (const std::shared_ptr< HIST > &hist)
virtual ~RHistDrawable ()=default
std::shared_ptr< HistImpl_tGetHist () const
- Public Member Functions inherited from ROOT::Experimental::RHistDrawableBase
 RHistDrawableBase ()
RAttrFillAttrFill ()
RAttrLineAttrLine ()
RAttrMarkerAttrMarker ()
RAttrTextAttrText ()
const RAttrFillGetAttrFill () const
const RAttrLineGetAttrLine () const
const RAttrMarkerGetAttrMarker () const
const RAttrTextGetAttrText () const
RHistDrawableBaseOptimize (bool on=true)
RHistDrawableBaseSetAttrFill (const RAttrFill &fill)
RHistDrawableBaseSetAttrLine (const RAttrLine &attr)
RHistDrawableBaseSetAttrMarker (const RAttrMarker &attr)
RHistDrawableBaseSetAttrText (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

std::unique_ptr< RDisplayItemCreateHistDisplay (const RDisplayContext &) override
bool Is3D () const final
- Protected Member Functions inherited from ROOT::Experimental::RHistDrawable< 2 >
void CollectShared (Internal::RIOSharedVector_t &vect) override
- Protected Member Functions inherited from ROOT::Experimental::RHistDrawableBase
std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &ctxt) override
 Creates display item for drawable By default item contains drawable data itself.
std::string GetDrawKind () 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
virtual void SetDrawableVersion (Version_t vers)

Private Attributes

RAttrValue< boolfText {this, "text", false}
 ! draw text

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RHistDrawable< 2 >
using HistImpl_t = Detail::RHistImplPrecisionAgnosticBase< DIMENSIONS >
- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
- Protected Attributes inherited from ROOT::Experimental::RHistDrawable< 2 >
Internal::RIOShared< HistImpl_tfHistImpl
 I/O capable reference on histogram.

#include <ROOT/RHistDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RHist2Drawable:

Constructor & Destructor Documentation

◆ RHist2Drawable() [1/2]

ROOT::Experimental::RHist2Drawable::RHist2Drawable ( )

◆ RHist2Drawable() [2/2]

template<class HIST >
ROOT::Experimental::RHist2Drawable::RHist2Drawable ( const std::shared_ptr< HIST > &  hist)

Definition at line 187 of file RHistDrawable.hxx.

Member Function Documentation

◆ Arrow()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Arrow ( )

Definition at line 196 of file RHistDrawable.hxx.

◆ Box()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Box ( int  kind = 0)

Definition at line 190 of file RHistDrawable.hxx.

◆ Color()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Color ( )

Definition at line 189 of file RHistDrawable.hxx.

◆ Contour()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Contour ( int  kind = 0)

Definition at line 194 of file RHistDrawable.hxx.

◆ CreateHistDisplay()

std::unique_ptr< RDisplayItem > RHist2Drawable::CreateHistDisplay ( const RDisplayContext ctxt)

Implements ROOT::Experimental::RHistDrawableBase.

Definition at line 136 of file RHistDrawable.cxx.

◆ Error()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Error ( )

Definition at line 193 of file RHistDrawable.hxx.

◆ Is3D()

bool ROOT::Experimental::RHist2Drawable::Is3D ( ) const

Reimplemented from ROOT::Experimental::RHistDrawableBase.

Definition at line 181 of file RHistDrawable.hxx.

◆ Lego()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Lego ( int  kind = 0)

Definition at line 191 of file RHistDrawable.hxx.

◆ Scatter()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Scatter ( )

Definition at line 195 of file RHistDrawable.hxx.

◆ Surf()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Surf ( int  kind = 0)

Definition at line 192 of file RHistDrawable.hxx.

◆ Text()

RHist2Drawable & ROOT::Experimental::RHist2Drawable::Text ( bool  on = true)

Definition at line 197 of file RHistDrawable.hxx.

Member Data Documentation

◆ fText

RAttrValue<bool> ROOT::Experimental::RHist2Drawable::fText {this, "text", false}

! draw text

Definition at line 175 of file RHistDrawable.hxx.

Libraries for ROOT::Experimental::RHist2Drawable:

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