Definition at line 100 of file RPadUserAxis.hxx.
Public Member Functions | |
RPadCartesianUserAxis ()=default | |
Construct a cartesian axis with automatic axis bounds. | |
RPadCartesianUserAxis (double begin, double end) | |
Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax. | |
RPadCartesianUserAxis (EAxisBoundsKind boundKind, double bound) | |
Construct a cartesian axis with min or max, depending on the boundKind parameter. | |
bool | IsLogScale () const |
void | SetLogScale (bool logScale=true) |
RPadLength::Normal | ToNormal (const RPadLength::User &usercoord) const override |
Convert user coordinates to normal coordinates. | |
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) |
Private Attributes | |
bool | fLogScale = false |
Whether this axis should be painted as log scale. | |
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. | |
RPadUserAxisBase (const RPadUserAxisBase &)=default | |
Disable spliced copy construction. | |
RPadUserAxisBase (double begin, double end) | |
Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax. | |
RPadUserAxisBase (EAxisBoundsKind boundKind, double bound) | |
Construct a cartesian axis with min or max, depending on the boundKind parameter. | |
double | GetSensibleDenominator () const |
For (pos-min)/(max-min) calculations, return a sensible, div-by-0 protected denominator. | |
RPadUserAxisBase & | operator= (const RPadUserAxisBase &)=default |
Disable spliced assignment. | |
#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 110 of file RPadUserAxis.hxx.
|
inline |
Construct a cartesian axis with min or max, depending on the boundKind parameter.
Definition at line 113 of file RPadUserAxis.hxx.
|
inline |
Definition at line 116 of file RPadUserAxis.hxx.
Definition at line 117 of file RPadUserAxis.hxx.
|
overridevirtual |
Convert user coordinates to normal coordinates.
Implements ROOT::Experimental::RPadUserAxisBase.
Definition at line 17 of file RPadUserAxis.cxx.
|
private |
Whether this axis should be painted as log scale.
Definition at line 103 of file RPadUserAxis.hxx.