ROOT 6.14/05 Reference Guide |
Definition at line 103 of file TPadUserAxis.hxx.
Public Member Functions | |
TPadCartesianUserAxis ()=default | |
Construct a cartesian axis with automatic axis bounds. More... | |
TPadCartesianUserAxis (double begin, double end) | |
Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax. More... | |
TPadCartesianUserAxis (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) |
TPadLength::Normal | ToNormal (const TPadLength::User &usercoord) const override |
Convert user coordinates to normal coordinates. More... | |
Public Member Functions inherited from ROOT::Experimental::TPadUserAxisBase | |
virtual | ~TPadUserAxisBase () |
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. More... | |
Additional Inherited Members | |
Public Types inherited from ROOT::Experimental::TPadUserAxisBase | |
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::TPadUserAxisBase | |
TPadUserAxisBase ()=default | |
Allow derived classes to default construct a TPadUserAxisBase. More... | |
TPadUserAxisBase (double begin, double end) | |
Construct a cartesian axis from min and max, setting fBoundsKind to kAxisBoundsMinMax. More... | |
TPadUserAxisBase (EAxisBoundsKind boundKind, double bound) | |
Construct a cartesian axis with min or max, depending on the boundKind parameter. More... | |
TPadUserAxisBase (const TPadUserAxisBase &)=default | |
Disable spliced copy construction. More... | |
double | GetSensibleDenominator () const |
For (pos-min)/(max-min) calculations, return a sensible, div-by-0 protected denominator. More... | |
TPadUserAxisBase & | operator= (const TPadUserAxisBase &)=default |
Disable spliced assignment. More... | |
#include <ROOT/TPadUserAxis.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 TPadUserAxis.hxx.
|
inline |
Construct a cartesian axis with min or max, depending on the boundKind parameter.
Definition at line 116 of file TPadUserAxis.hxx.
|
inline |
Definition at line 119 of file TPadUserAxis.hxx.
|
inline |
Definition at line 120 of file TPadUserAxis.hxx.
|
overridevirtual |
Convert user coordinates to normal coordinates.
Implements ROOT::Experimental::TPadUserAxisBase.
Definition at line 16 of file TPadUserAxis.cxx.
|
private |
Whether this axis should be painted as log scale.
Definition at line 106 of file TPadUserAxis.hxx.