Helper class for plot-painters holding information about axis ranges, numbers of bins and flags if certain axis is logarithmic.
Definition at line 310 of file TGLPlotPainter.h.
Public Member Functions | |
TGLPlotCoordinates () | |
Constructor. | |
virtual | ~TGLPlotCoordinates () |
Destructor. | |
EGLCoordType | GetCoordType () const |
Get coordinates type. | |
Double_t | GetFactor () const |
Get factor. | |
Int_t | GetFirstXBin () const |
Int_t | GetFirstYBin () const |
Int_t | GetFirstZBin () const |
Int_t | GetLastXBin () const |
Int_t | GetLastYBin () const |
Int_t | GetLastZBin () const |
Int_t | GetNXBins () const |
Number of X bins. | |
Int_t | GetNYBins () const |
Number of Y bins. | |
Int_t | GetNZBins () const |
Number of Z bins. | |
const Rgl::BinRange_t & | GetXBins () const |
X bins range. | |
Double_t | GetXLength () const |
X length. | |
Bool_t | GetXLog () const |
Get X log. | |
const Rgl::Range_t & | GetXRange () const |
X range. | |
const Rgl::Range_t & | GetXRangeScaled () const |
Scaled range. | |
Double_t | GetXScale () const |
const Rgl::BinRange_t & | GetYBins () const |
Y bins range. | |
Double_t | GetYLength () const |
Y length. | |
Bool_t | GetYLog () const |
Get Y log. | |
const Rgl::Range_t & | GetYRange () const |
Y range. | |
const Rgl::Range_t & | GetYRangeScaled () const |
Scaled range. | |
Double_t | GetYScale () const |
const Rgl::BinRange_t & | GetZBins () const |
Z bins range. | |
Double_t | GetZLength () const |
Z length. | |
Bool_t | GetZLog () const |
Get Z log. | |
const Rgl::Range_t & | GetZRange () const |
Z range. | |
const Rgl::Range_t & | GetZRangeScaled () const |
Scaled range. | |
Double_t | GetZScale () const |
virtual TClass * | IsA () const |
Bool_t | Modified () const |
Modified. | |
void | ResetModified () |
Reset modified. | |
void | SetCoordType (EGLCoordType type) |
If coord type was changed, plot must reset sections (if any), set fModified. | |
Bool_t | SetRanges (const TAxis *xAxis, const TAxis *yAxis, const TAxis *zAxis) |
Set bin ranges, ranges, etc. | |
Bool_t | SetRanges (const TH1 *hist, Bool_t errors=kFALSE, Bool_t zBins=kFALSE) |
Set bin ranges, ranges. | |
Bool_t | SetRanges (TH2Poly *hist) |
Set bin ranges, ranges, etc. | |
void | SetXLog (Bool_t xLog) |
If log changed, sections must be reset, set fModified. | |
void | SetYLog (Bool_t yLog) |
If log changed, sections must be reset, set fModified. | |
void | SetZLog (Bool_t zLog) |
If log changed, sections must be reset, set fModified. | |
virtual void | Streamer (TBuffer &) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Member Functions | |
TGLPlotCoordinates (const TGLPlotCoordinates &) | |
TGLPlotCoordinates & | operator= (const TGLPlotCoordinates &) |
Bool_t | SetRangesCartesian (const TH1 *hist, Bool_t errors=kFALSE, Bool_t zBins=kFALSE) |
Set bin ranges, ranges, etc. | |
Bool_t | SetRangesCylindrical (const TH1 *hist) |
Set ranges cylindrical. | |
Bool_t | SetRangesPolar (const TH1 *hist) |
Set bin ranges, ranges, etc. | |
Bool_t | SetRangesSpherical (const TH1 *hist) |
Set ranges spherical. | |
#include <TGLPlotPainter.h>
TGLPlotCoordinates::TGLPlotCoordinates | ( | ) |
Constructor.
Definition at line 629 of file TGLPlotPainter.cxx.
|
virtual |
Destructor.
Definition at line 645 of file TGLPlotPainter.cxx.
|
private |
|
static |
|
inlinestaticconstexpr |
Definition at line 404 of file TGLPlotPainter.h.
|
inlinestatic |
Definition at line 404 of file TGLPlotPainter.h.
EGLCoordType TGLPlotCoordinates::GetCoordType | ( | ) | const |
Get coordinates type.
Definition at line 664 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetFactor | ( | ) | const |
Get factor.
Definition at line 888 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 385 of file TGLPlotPainter.h.
|
inline |
Definition at line 387 of file TGLPlotPainter.h.
|
inline |
Definition at line 389 of file TGLPlotPainter.h.
|
inline |
Definition at line 386 of file TGLPlotPainter.h.
|
inline |
Definition at line 388 of file TGLPlotPainter.h.
|
inline |
Definition at line 390 of file TGLPlotPainter.h.
Int_t TGLPlotCoordinates::GetNXBins | ( | ) | const |
Number of X bins.
Definition at line 766 of file TGLPlotPainter.cxx.
Int_t TGLPlotCoordinates::GetNYBins | ( | ) | const |
Number of Y bins.
Definition at line 774 of file TGLPlotPainter.cxx.
Int_t TGLPlotCoordinates::GetNZBins | ( | ) | const |
Number of Z bins.
Definition at line 782 of file TGLPlotPainter.cxx.
const Rgl::BinRange_t & TGLPlotCoordinates::GetXBins | ( | ) | const |
X bins range.
Definition at line 790 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetXLength | ( | ) | const |
X length.
Definition at line 822 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::GetXLog | ( | ) | const |
Get X log.
Definition at line 684 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetXRange | ( | ) | const |
X range.
Definition at line 814 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetXRangeScaled | ( | ) | const |
Scaled range.
Definition at line 864 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 381 of file TGLPlotPainter.h.
const Rgl::BinRange_t & TGLPlotCoordinates::GetYBins | ( | ) | const |
Y bins range.
Definition at line 798 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetYLength | ( | ) | const |
Y length.
Definition at line 838 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::GetYLog | ( | ) | const |
Get Y log.
Definition at line 704 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetYRange | ( | ) | const |
Y range.
Definition at line 830 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetYRangeScaled | ( | ) | const |
Scaled range.
Definition at line 872 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 382 of file TGLPlotPainter.h.
const Rgl::BinRange_t & TGLPlotCoordinates::GetZBins | ( | ) | const |
Z bins range.
Definition at line 806 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetZLength | ( | ) | const |
Z length.
Definition at line 855 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::GetZLog | ( | ) | const |
Get Z log.
Definition at line 724 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetZRange | ( | ) | const |
Z range.
Definition at line 847 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetZRangeScaled | ( | ) | const |
Scaled range.
Definition at line 880 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 383 of file TGLPlotPainter.h.
|
inlinevirtual |
Definition at line 404 of file TGLPlotPainter.h.
Bool_t TGLPlotCoordinates::Modified | ( | ) | const |
Modified.
Definition at line 740 of file TGLPlotPainter.cxx.
|
private |
void TGLPlotCoordinates::ResetModified | ( | ) |
Reset modified.
Definition at line 732 of file TGLPlotPainter.cxx.
void TGLPlotCoordinates::SetCoordType | ( | EGLCoordType | type | ) |
If coord type was changed, plot must reset sections (if any), set fModified.
Definition at line 653 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::SetRanges | ( | const TAxis * | xAxis, |
const TAxis * | yAxis, | ||
const TAxis * | zAxis | ||
) |
Set bin ranges, ranges, etc.
Definition at line 1028 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::SetRanges | ( | const TH1 * | hist, |
Bool_t | errors = kFALSE , |
||
Bool_t | zBins = kFALSE |
||
) |
Set bin ranges, ranges.
Definition at line 748 of file TGLPlotPainter.cxx.
Set bin ranges, ranges, etc.
Definition at line 977 of file TGLPlotPainter.cxx.
|
private |
Set bin ranges, ranges, etc.
Definition at line 907 of file TGLPlotPainter.cxx.
Set ranges cylindrical.
Definition at line 1139 of file TGLPlotPainter.cxx.
Set bin ranges, ranges, etc.
Definition at line 1084 of file TGLPlotPainter.cxx.
Set ranges spherical.
Definition at line 1192 of file TGLPlotPainter.cxx.
void TGLPlotCoordinates::SetXLog | ( | Bool_t | xLog | ) |
If log changed, sections must be reset, set fModified.
Definition at line 673 of file TGLPlotPainter.cxx.
void TGLPlotCoordinates::SetYLog | ( | Bool_t | yLog | ) |
If log changed, sections must be reset, set fModified.
Definition at line 693 of file TGLPlotPainter.cxx.
void TGLPlotCoordinates::SetZLog | ( | Bool_t | zLog | ) |
If log changed, sections must be reset, set fModified.
Definition at line 713 of file TGLPlotPainter.cxx.
|
virtual |
|
inline |
Definition at line 404 of file TGLPlotPainter.h.
|
private |
Definition at line 312 of file TGLPlotPainter.h.
|
private |
Definition at line 335 of file TGLPlotPainter.h.
|
private |
Definition at line 334 of file TGLPlotPainter.h.
|
private |
Definition at line 314 of file TGLPlotPainter.h.
|
private |
Definition at line 330 of file TGLPlotPainter.h.
|
private |
Definition at line 322 of file TGLPlotPainter.h.
|
private |
Definition at line 326 of file TGLPlotPainter.h.
|
private |
Definition at line 318 of file TGLPlotPainter.h.
|
private |
Definition at line 315 of file TGLPlotPainter.h.
|
private |
Definition at line 331 of file TGLPlotPainter.h.
|
private |
Definition at line 323 of file TGLPlotPainter.h.
|
private |
Definition at line 327 of file TGLPlotPainter.h.
|
private |
Definition at line 319 of file TGLPlotPainter.h.
|
private |
Definition at line 316 of file TGLPlotPainter.h.
|
private |
Definition at line 332 of file TGLPlotPainter.h.
|
private |
Definition at line 324 of file TGLPlotPainter.h.
|
private |
Definition at line 328 of file TGLPlotPainter.h.
|
private |
Definition at line 320 of file TGLPlotPainter.h.