Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Private Attributes | List of all members
ROOT::Experimental::RPadCartesianUserAxis Class Reference

Definition at line 103 of file RPadUserAxis.hxx.

Public Member Functions

 RPadCartesianUserAxis ()=default
 Construct a cartesian axis with automatic axis bounds. More...
 
 RPadCartesianUserAxis (double begin, double end)
 Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax. More...
 
 RPadCartesianUserAxis (EAxisBoundsKind boundKind, double bound)
 Construct a cartesian axis with min or max, depending on the boundKind parameter. More...
 
bool IsLogScale () const
 
void SetLogScale (bool logScale=true)
 
RPadLength::Normal ToNormal (const RPadLength::User &usercoord) const override
 Convert user coordinates to normal coordinates. More...
 
- Public Member Functions inherited from ROOT::Experimental::RPadUserAxisBase
virtual ~RPadUserAxisBase ()
 
double GetBegin () const
 
EAxisBoundsKind GetBoundsKind () const
 
double GetEnd () const
 
bool RespectBegin () const
 
bool RespectEnd () const
 
void SetAutoBounds ()
 
void SetBegin (double begin)
 
void SetBound (EAxisBoundsKind boundKind, double bound)
 
void SetBounds (double begin, double end)
 
void SetEnd (double end)
 
virtual RPadLength::Normal ToNormal (const RPadLength::User &) const =0
 Convert user coordinates to normal coordinates. More...
 

Private Attributes

bool fLogScale = false
 Whether this axis should be painted as log scale. More...
 

Additional Inherited Members

- Public Types inherited from ROOT::Experimental::RPadUserAxisBase
enum  EAxisBoundsKind { kAxisBoundsAuto , kAxisBoundsBegin = 1 , kAxisBoundsEnd = 2 , kAxisBoundsBeginEnd = kAxisBoundsBegin | kAxisBoundsEnd }
 Types of axis bounds to respect by the painter. More...
 
- Protected Member Functions inherited from ROOT::Experimental::RPadUserAxisBase
 RPadUserAxisBase ()=default
 Allow derived classes to default construct a RPadUserAxisBase. More...
 
 RPadUserAxisBase (const RPadUserAxisBase &)=default
 Disable spliced copy construction. More...
 
 RPadUserAxisBase (double begin, double end)
 Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax. More...
 
 RPadUserAxisBase (EAxisBoundsKind boundKind, double bound)
 Construct a cartesian axis with min or max, depending on the boundKind parameter. More...
 
double GetSensibleDenominator () const
 For (pos-min)/(max-min) calculations, return a sensible, div-by-0 protected denominator. More...
 
RPadUserAxisBaseoperator= (const RPadUserAxisBase &)=default
 Disable spliced assignment. More...
 

#include <ROOT/RPadUserAxis.hxx>

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

Constructor & Destructor Documentation

◆ RPadCartesianUserAxis() [1/3]

ROOT::Experimental::RPadCartesianUserAxis::RPadCartesianUserAxis ( )
default

Construct a cartesian axis with automatic axis bounds.

◆ RPadCartesianUserAxis() [2/3]

ROOT::Experimental::RPadCartesianUserAxis::RPadCartesianUserAxis ( double  begin,
double  end 
)
inline

Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax.

Definition at line 113 of file RPadUserAxis.hxx.

◆ RPadCartesianUserAxis() [3/3]

ROOT::Experimental::RPadCartesianUserAxis::RPadCartesianUserAxis ( EAxisBoundsKind  boundKind,
double  bound 
)
inline

Construct a cartesian axis with min or max, depending on the boundKind parameter.

Definition at line 116 of file RPadUserAxis.hxx.

Member Function Documentation

◆ IsLogScale()

bool ROOT::Experimental::RPadCartesianUserAxis::IsLogScale ( ) const
inline

Definition at line 119 of file RPadUserAxis.hxx.

◆ SetLogScale()

void ROOT::Experimental::RPadCartesianUserAxis::SetLogScale ( bool  logScale = true)
inline

Definition at line 120 of file RPadUserAxis.hxx.

◆ ToNormal()

ROOT::Experimental::RPadLength::Normal ROOT::Experimental::RPadCartesianUserAxis::ToNormal ( const RPadLength::User usercoord) const
overridevirtual

Convert user coordinates to normal coordinates.

Implements ROOT::Experimental::RPadUserAxisBase.

Definition at line 16 of file RPadUserAxis.cxx.

Member Data Documentation

◆ fLogScale

bool ROOT::Experimental::RPadCartesianUserAxis::fLogScale = false
private

Whether this axis should be painted as log scale.

Definition at line 106 of file RPadUserAxis.hxx.

Libraries for ROOT::Experimental::RPadCartesianUserAxis:
[legend]

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