ROOT 6.16/01 Reference Guide |
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. More... | |
virtual | ~TGLPlotCoordinates () |
Destructor. More... | |
EGLCoordType | GetCoordType () const |
Get coordinates type. More... | |
Double_t | GetFactor () const |
Get factor. More... | |
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. More... | |
Int_t | GetNYBins () const |
Number of Y bins. More... | |
Int_t | GetNZBins () const |
Number of Z bins. More... | |
const Rgl::BinRange_t & | GetXBins () const |
X bins range. More... | |
Double_t | GetXLength () const |
X length. More... | |
Bool_t | GetXLog () const |
Get X log. More... | |
const Rgl::Range_t & | GetXRange () const |
X range. More... | |
const Rgl::Range_t & | GetXRangeScaled () const |
Scaled range. More... | |
Double_t | GetXScale () const |
const Rgl::BinRange_t & | GetYBins () const |
Y bins range. More... | |
Double_t | GetYLength () const |
Y length. More... | |
Bool_t | GetYLog () const |
Get Y log. More... | |
const Rgl::Range_t & | GetYRange () const |
Y range. More... | |
const Rgl::Range_t & | GetYRangeScaled () const |
Scaled range. More... | |
Double_t | GetYScale () const |
const Rgl::BinRange_t & | GetZBins () const |
Z bins range. More... | |
Double_t | GetZLength () const |
Z length. More... | |
Bool_t | GetZLog () const |
Get Z log. More... | |
const Rgl::Range_t & | GetZRange () const |
Z range. More... | |
const Rgl::Range_t & | GetZRangeScaled () const |
Scaled range. More... | |
Double_t | GetZScale () const |
Bool_t | Modified () const |
Modified. More... | |
void | ResetModified () |
Reset modified. More... | |
void | SetCoordType (EGLCoordType type) |
If coord type was changed, plot must reset sections (if any), set fModified. More... | |
Bool_t | SetRanges (const TAxis *xAxis, const TAxis *yAxis, const TAxis *zAxis) |
Set bin ranges, ranges, etc. More... | |
Bool_t | SetRanges (const TH1 *hist, Bool_t errors=kFALSE, Bool_t zBins=kFALSE) |
Set bin ranges, ranges. More... | |
Bool_t | SetRanges (TH2Poly *hist) |
Set bin ranges, ranges, etc. More... | |
void | SetXLog (Bool_t xLog) |
If log changed, sections must be reset, set fModified. More... | |
void | SetYLog (Bool_t yLog) |
If log changed, sections must be reset, set fModified. More... | |
void | SetZLog (Bool_t zLog) |
If log changed, sections must be reset, set fModified. More... | |
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. More... | |
Bool_t | SetRangesCylindrical (const TH1 *hist) |
Set ranges cylindrical. More... | |
Bool_t | SetRangesPolar (const TH1 *hist) |
Set bin ranges, ranges, etc. More... | |
Bool_t | SetRangesSpherical (const TH1 *hist) |
Set ranges spherical. More... | |
#include <TGLPlotPainter.h>
TGLPlotCoordinates::TGLPlotCoordinates | ( | ) |
Constructor.
Definition at line 631 of file TGLPlotPainter.cxx.
|
virtual |
Destructor.
Definition at line 647 of file TGLPlotPainter.cxx.
|
private |
EGLCoordType TGLPlotCoordinates::GetCoordType | ( | ) | const |
Get coordinates type.
Definition at line 666 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetFactor | ( | ) | const |
Get factor.
Definition at line 890 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 768 of file TGLPlotPainter.cxx.
Int_t TGLPlotCoordinates::GetNYBins | ( | ) | const |
Number of Y bins.
Definition at line 776 of file TGLPlotPainter.cxx.
Int_t TGLPlotCoordinates::GetNZBins | ( | ) | const |
Number of Z bins.
Definition at line 784 of file TGLPlotPainter.cxx.
const Rgl::BinRange_t & TGLPlotCoordinates::GetXBins | ( | ) | const |
X bins range.
Definition at line 792 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetXLength | ( | ) | const |
X length.
Definition at line 824 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::GetXLog | ( | ) | const |
Get X log.
Definition at line 686 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetXRange | ( | ) | const |
X range.
Definition at line 816 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetXRangeScaled | ( | ) | const |
Scaled range.
Definition at line 866 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 800 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetYLength | ( | ) | const |
Y length.
Definition at line 840 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::GetYLog | ( | ) | const |
Get Y log.
Definition at line 706 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetYRange | ( | ) | const |
Y range.
Definition at line 832 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetYRangeScaled | ( | ) | const |
Scaled range.
Definition at line 874 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 808 of file TGLPlotPainter.cxx.
Double_t TGLPlotCoordinates::GetZLength | ( | ) | const |
Z length.
Definition at line 857 of file TGLPlotPainter.cxx.
Bool_t TGLPlotCoordinates::GetZLog | ( | ) | const |
Get Z log.
Definition at line 726 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetZRange | ( | ) | const |
Z range.
Definition at line 849 of file TGLPlotPainter.cxx.
const Rgl::Range_t & TGLPlotCoordinates::GetZRangeScaled | ( | ) | const |
Scaled range.
Definition at line 882 of file TGLPlotPainter.cxx.
|
inline |
Definition at line 383 of file TGLPlotPainter.h.
Bool_t TGLPlotCoordinates::Modified | ( | ) | const |
Modified.
Definition at line 742 of file TGLPlotPainter.cxx.
|
private |
void TGLPlotCoordinates::ResetModified | ( | ) |
Reset modified.
Definition at line 734 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 655 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 1030 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 750 of file TGLPlotPainter.cxx.
Set bin ranges, ranges, etc.
Definition at line 979 of file TGLPlotPainter.cxx.
|
private |
Set bin ranges, ranges, etc.
Definition at line 909 of file TGLPlotPainter.cxx.
Set ranges cylindrical.
Definition at line 1141 of file TGLPlotPainter.cxx.
Set bin ranges, ranges, etc.
Definition at line 1086 of file TGLPlotPainter.cxx.
Set ranges spherical.
Definition at line 1194 of file TGLPlotPainter.cxx.
If log changed, sections must be reset, set fModified.
Definition at line 675 of file TGLPlotPainter.cxx.
If log changed, sections must be reset, set fModified.
Definition at line 695 of file TGLPlotPainter.cxx.
If log changed, sections must be reset, set fModified.
Definition at line 715 of file TGLPlotPainter.cxx.
|
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.