Logo ROOT  
Reference Guide
 
Loading...
Searching...
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)
 
RHist2Drawable & Arrow ()
 
RHist2Drawable & Box (int kind=0)
 
RHist2Drawable & Color ()
 
RHist2Drawable & Contour (int kind=0)
 
RHist2Drawable & Error ()
 
RHist2Drawable & Lego (int kind=0)
 
RHist2Drawable & Scatter ()
 
RHist2Drawable & Surf (int kind=0)
 
RHist2Drawable & Text (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_t > GetHist () const
 
- Public Member Functions inherited from ROOT::Experimental::RHistDrawableBase
 RHistDrawableBase ()
 
RAttrFill & AttrFill ()
 
RAttrLine & AttrLine ()
 
RAttrMarker & AttrMarker ()
 
RAttrText & AttrText ()
 
const RAttrFill & GetAttrFill () const
 
const RAttrLine & GetAttrLine () const
 
const RAttrMarker & GetAttrMarker () const
 
const RAttrText & GetAttrText () const
 
RHistDrawableBase & Optimize (bool on=true)
 
RHistDrawableBase & SetAttrFill (const RAttrFill &fill)
 
RHistDrawableBase & SetAttrLine (const RAttrLine &attr)
 
RHistDrawableBase & SetAttrMarker (const RAttrMarker &attr)
 
RHistDrawableBase & SetAttrText (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< RDisplayItem > CreateHistDisplay (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< RDisplayItem > Display (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 &)
 
RAttrMap & GetAttrMap ()
 
const RAttrMap & GetAttrMap () 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
 
RDrawable & operator= (const RDrawable &)=delete
 
virtual void SetDrawableVersion (Version_t vers)
 

Private Attributes

RAttrValue< bool > fText {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_t > fHistImpl
 I/O capable reference on histogram.
 

#include <ROOT/RHistDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RHist2Drawable:
[legend]

Constructor & Destructor Documentation

◆ RHist2Drawable() [1/2]

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

◆ RHist2Drawable() [2/2]

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

Definition at line 187 of file RHistDrawable.hxx.

Member Function Documentation

◆ Arrow()

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

Definition at line 196 of file RHistDrawable.hxx.

◆ Box()

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

Definition at line 190 of file RHistDrawable.hxx.

◆ Color()

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

Definition at line 189 of file RHistDrawable.hxx.

◆ Contour()

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

Definition at line 194 of file RHistDrawable.hxx.

◆ CreateHistDisplay()

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

Implements ROOT::Experimental::RHistDrawableBase.

Definition at line 136 of file RHistDrawable.cxx.

◆ Error()

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

Definition at line 193 of file RHistDrawable.hxx.

◆ Is3D()

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

Reimplemented from ROOT::Experimental::RHistDrawableBase.

Definition at line 181 of file RHistDrawable.hxx.

◆ Lego()

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

Definition at line 191 of file RHistDrawable.hxx.

◆ Scatter()

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

Definition at line 195 of file RHistDrawable.hxx.

◆ Surf()

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

Definition at line 192 of file RHistDrawable.hxx.

◆ Text()

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

Definition at line 197 of file RHistDrawable.hxx.

Member Data Documentation

◆ fText

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

! 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: