ROOT 6.18/05 Reference Guide |
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... | |
RPadUserAxisBase & | operator= (const RPadUserAxisBase &)=default |
Disable spliced assignment. More... | |
#include <ROOT/RPadUserAxis.hxx>
|
default |
Construct a cartesian axis with automatic axis bounds.
|
inline |
Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax.
Definition at line 113 of file RPadUserAxis.hxx.
|
inline |
Construct a cartesian axis with min or max, depending on the boundKind parameter.
Definition at line 116 of file RPadUserAxis.hxx.
|
inline |
Definition at line 119 of file RPadUserAxis.hxx.
|
inline |
Definition at line 120 of file RPadUserAxis.hxx.
|
overridevirtual |
Convert user coordinates to normal coordinates.
Implements ROOT::Experimental::RPadUserAxisBase.
Definition at line 16 of file RPadUserAxis.cxx.
|
private |
Whether this axis should be painted as log scale.
Definition at line 106 of file RPadUserAxis.hxx.