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

Definition at line 164 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 ()
 
bool IsArrow () const
 
bool IsBox () const
 
bool IsColor () const
 
bool IsContour () const
 
bool IsError () const
 
bool IsLego () const
 
bool IsScatter () const
 
bool IsSurf () const
 
bool IsText () const
 
RHist2DrawableLego (int kind=0)
 
RHist2DrawableScatter ()
 
RHist2DrawableSurf (int kind=0)
 
RHist2DrawableText ()
 
- 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 ()
 
- 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)
 

Public Attributes

RAttrValue< bool > drawtext {this, "drawtext", false}
 ! draw text More...
 
- Public Attributes inherited from ROOT::Experimental::RHistDrawableBase
RAttrFill fill {this, "fill"}
 ! hist fill attributes More...
 
RAttrLine line {this, "line"}
 ! hist line attributes More...
 
RAttrMarker marker {this, "marker"}
 ! hist marker attributes More...
 
RAttrValue< bool > optimize {this, "optimize", false}
 ! optimize drawing More...
 
RAttrText text {this, "text"}
 ! hist text attributes More...
 

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
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. More...
 
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 CollectShared (Internal::RIOSharedVector_t &)
 
virtual std::unique_ptr< RDisplayItemDisplay (const RDisplayContext &)
 Creates display item for drawable By default item contains drawable data itself. More...
 
virtual void Execute (const std::string &)
 
RAttrMapGetAttrMap ()
 
const RAttrMapGetAttrMap () const
 
Version_t GetVersion () const
 
virtual bool IsFrameRequired () 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. More...
 
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
 
RDrawableoperator= (const RDrawable &)=delete
 
virtual void PopulateMenu (RMenuItems &)
 
void SetCssType (const char *csstype)
 
virtual void SetDrawableVersion (Version_t vers)
 

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. More...
 

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

Member Function Documentation

◆ Arrow()

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

Definition at line 186 of file RHistDrawable.hxx.

◆ Box()

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

Definition at line 180 of file RHistDrawable.hxx.

◆ Color()

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

Definition at line 179 of file RHistDrawable.hxx.

◆ Contour()

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

Definition at line 184 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 183 of file RHistDrawable.hxx.

◆ Is3D()

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

Reimplemented from ROOT::Experimental::RHistDrawableBase.

Definition at line 169 of file RHistDrawable.hxx.

◆ IsArrow()

bool ROOT::Experimental::RHist2Drawable::IsArrow ( ) const
inline

Definition at line 196 of file RHistDrawable.hxx.

◆ IsBox()

bool ROOT::Experimental::RHist2Drawable::IsBox ( ) const
inline

Definition at line 190 of file RHistDrawable.hxx.

◆ IsColor()

bool ROOT::Experimental::RHist2Drawable::IsColor ( ) const
inline

Definition at line 189 of file RHistDrawable.hxx.

◆ IsContour()

bool ROOT::Experimental::RHist2Drawable::IsContour ( ) const
inline

Definition at line 194 of file RHistDrawable.hxx.

◆ IsError()

bool ROOT::Experimental::RHist2Drawable::IsError ( ) const
inline

Definition at line 193 of file RHistDrawable.hxx.

◆ IsLego()

bool ROOT::Experimental::RHist2Drawable::IsLego ( ) const
inline

Definition at line 191 of file RHistDrawable.hxx.

◆ IsScatter()

bool ROOT::Experimental::RHist2Drawable::IsScatter ( ) const
inline

Definition at line 195 of file RHistDrawable.hxx.

◆ IsSurf()

bool ROOT::Experimental::RHist2Drawable::IsSurf ( ) const
inline

Definition at line 192 of file RHistDrawable.hxx.

◆ IsText()

bool ROOT::Experimental::RHist2Drawable::IsText ( ) const
inline

Definition at line 197 of file RHistDrawable.hxx.

◆ Lego()

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

Definition at line 181 of file RHistDrawable.hxx.

◆ Scatter()

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

Definition at line 185 of file RHistDrawable.hxx.

◆ Surf()

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

Definition at line 182 of file RHistDrawable.hxx.

◆ Text()

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

Definition at line 187 of file RHistDrawable.hxx.

Member Data Documentation

◆ drawtext

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

! draw text

Definition at line 172 of file RHistDrawable.hxx.


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