Logo ROOT  
Reference Guide
No Matches
ROOT::Experimental::RAxisDrawable Class Reference

Plain axis drawing.

Sergey Linev S.Lin.nosp@m.ev@g.nosp@m.si.de
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 74 of file RAxisDrawable.hxx.

Public Member Functions

 RAxisDrawable ()=default
 RAxisDrawable (const RPadPos &pos, bool vertical, const RPadLength &len)
double GetMax () const
double GetMin () const
RAxisDrawableSetMinMax (double min, double max)
- Public Member Functions inherited from ROOT::Experimental::RAxisDrawableBase
 RAxisDrawableBase ()
 RAxisDrawableBase (const RPadPos &pos, bool vertical, const RPadLength &len)
RAttrAxisAttrAxis ()
const RAttrAxisGetAttrAxis () const
const RPadLengthGetLength () const
const RPadPosGetPos () const
bool IsVertical () const
RAxisDrawableBaseSetAttrAxis (const RAttrAxis &attr)
RAxisDrawableBaseSetLength (const RPadLength &len)
RAxisDrawableBaseSetPos (const RPadPos &pos)
RAxisDrawableBaseSetVertical (bool vertical=true)
- 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)

Private Attributes

double fMax {100}
 axis minimum and maximum
double fMin {0}

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RDrawable
using Version_t = uint64_t
- 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.
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.
virtual void OnDisplayItemDestroyed (RDisplayItem *) const
RDrawableoperator= (const RDrawable &)=delete
virtual void PopulateMenu (RMenuItems &)
virtual void SetDrawableVersion (Version_t vers)

#include <ROOT/RAxisDrawable.hxx>

Inheritance diagram for ROOT::Experimental::RAxisDrawable:

Constructor & Destructor Documentation

◆ RAxisDrawable() [1/2]

ROOT::Experimental::RAxisDrawable::RAxisDrawable ( )

◆ RAxisDrawable() [2/2]

ROOT::Experimental::RAxisDrawable::RAxisDrawable ( const RPadPos pos,
bool  vertical,
const RPadLength len 

Definition at line 82 of file RAxisDrawable.hxx.

Member Function Documentation

◆ GetMax()

double ROOT::Experimental::RAxisDrawable::GetMax ( ) const

Definition at line 86 of file RAxisDrawable.hxx.

◆ GetMin()

double ROOT::Experimental::RAxisDrawable::GetMin ( ) const

Definition at line 85 of file RAxisDrawable.hxx.

◆ SetMinMax()

RAxisDrawable & ROOT::Experimental::RAxisDrawable::SetMinMax ( double  min,
double  max 

Definition at line 84 of file RAxisDrawable.hxx.

Member Data Documentation

◆ fMax

double ROOT::Experimental::RAxisDrawable::fMax {100}

axis minimum and maximum

Definition at line 76 of file RAxisDrawable.hxx.

◆ fMin

double ROOT::Experimental::RAxisDrawable::fMin {0}

Definition at line 76 of file RAxisDrawable.hxx.

Libraries for ROOT::Experimental::RAxisDrawable:

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